diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-20 19:12:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-20 19:12:13 +0000 |
commit | 03bc8d94f0d0579cf6de35d719b96f6b3df3345d (patch) | |
tree | 714143b03ea9093bcab76520b61271d2071f63b1 /rules.mk | |
parent | 36502c5a6f406da55b497bafc9f0136ffcb8e5c7 (diff) | |
download | mtk-20170518-03bc8d94f0d0579cf6de35d719b96f6b3df3345d.zip mtk-20170518-03bc8d94f0d0579cf6de35d719b96f6b3df3345d.tar.gz mtk-20170518-03bc8d94f0d0579cf6de35d719b96f6b3df3345d.tar.bz2 |
host-build.mk: change default installation prefix of package/* host builds to staging_dir/target-*/host
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48401
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -214,9 +214,9 @@ export PKG_CONFIG HOSTCC:=gcc HOSTCXX:=g++ -HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include -I$(STAGING_DIR_HOST)/usr/include +HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include -I$(STAGING_DIR_HOST)/usr/include $(if $(IS_PACKAGE_BUILD),-I$(STAGING_DIR)/host/include) HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS) -HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib -L$(STAGING_DIR_HOST)/usr/lib +HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib -L$(STAGING_DIR_HOST)/usr/lib $(if $(IS_PACKAGE_BUILD),-L$(STAGING_DIR)/host/lib) ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) TARGET_AR:=$(TARGET_CROSS)gcc-ar |