2015-03-29 07:29:18 +00:00
|
|
|
#
|
2009-02-23 23:52:27 +00:00
|
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
override CONFIG_AUTOREBUILD=
|
2017-01-18 17:00:00 +00:00
|
|
|
override CONFIG_AUTOREMOVE=
|
2009-02-23 23:52:27 +00:00
|
|
|
|
2017-05-03 13:01:03 +00:00
|
|
|
HOST_BUILD_PREFIX:=$(TOOLCHAIN_DIR)
|
2009-02-23 23:52:27 +00:00
|
|
|
BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2019-01-01 23:34:18 +00:00
|
|
|
include $(INCLUDE_DIR)/hardening.mk
|
2009-08-24 23:22:28 +00:00
|
|
|
|
|
|
|
HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared
|
2012-06-30 21:43:59 +00:00
|
|
|
|
|
|
|
define FixupLibdir
|
|
|
|
if [ -d $(1)/lib64 -a \! -L $(1)/lib64 ]; then \
|
|
|
|
mkdir -p $(1)/lib; \
|
|
|
|
mv $(1)/lib64/* $(1)/lib/; \
|
|
|
|
rm -rf $(1)/lib64; \
|
|
|
|
fi
|
|
|
|
ln -sf lib $(1)/lib64
|
|
|
|
endef
|