2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 override CONFIG_AUTOREBUILD
=
9 override CONFIG_AUTOREMOVE
=
11 REAL_STAGING_DIR_HOST
:=$(STAGING_DIR_HOST
)
12 STAGING_DIR_HOST
:=$(TOOLCHAIN_DIR
)
13 BUILD_DIR_HOST
:=$(BUILD_DIR_TOOLCHAIN
)
15 include $(INCLUDE_DIR
)/host-build.mk
17 HOST_STAMP_PREPARED
=$(HOST_BUILD_DIR
)/.prepared
20 if
[ -d
$(1)/lib64
-a \
! -L
$(1)/lib64
]; then \
22 mv
$(1)/lib64
/* $(1)/lib
/; \