Browse Source

treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Felix Fietkau 9 years ago
parent
commit
9f8e5aca34

+ 2
- 2
admin/sudo/Makefile View File

@@ -64,8 +64,8 @@ define Host/Compile
64 64
 endef
65 65
 
66 66
 define Host/Install
67
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
68
-	$(CP) $(HOST_BUILD_DIR)/lib/util/mksig{list,name} $(STAGING_DIR_HOST)/bin/
67
+	$(INSTALL_DIR) $(STAGING_DIR)/host/bin
68
+	$(CP) $(HOST_BUILD_DIR)/lib/util/mksig{list,name} $(STAGING_DIR)/host/bin/
69 69
 endef
70 70
 
71 71
 $(eval $(call HostBuild))

+ 3
- 12
admin/sudo/patches/010-cross-compile-fixes.patch View File

@@ -1,25 +1,16 @@
1 1
 diff -rupN sudo-1.8.11p2.orig/lib/util/Makefile.in sudo-1.8.11p2/lib/util/Makefile.in
2 2
 --- sudo-1.8.11p2.orig/lib/util/Makefile.in	2014-10-07 22:26:20.000000000 +0200
3 3
 +++ sudo-1.8.11p2/lib/util/Makefile.in	2014-12-09 21:44:35.610041162 +0100
4
-@@ -17,6 +17,8 @@
5
- # @configure_input@
6
- #
7
- 
8
-+include $(TOPDIR)/rules.mk
9
-+
10
- #### Start of system configuration section. ####
11
- 
12
- srcdir = @srcdir@
13
-@@ -142,10 +144,10 @@ libsudo_util.la: $(LTOBJS) @LT_LDDEP@
4
+@@ -142,10 +142,10 @@ libsudo_util.la: $(LTOBJS) @LT_LDDEP@
14 5
  	esac
15 6
  
16 7
  siglist.c: mksiglist
17 8
 -	./mksiglist > $@
18
-+	$(STAGING_DIR_HOST)/bin/mksiglist > $@
9
++	mksiglist > $@
19 10
  
20 11
  signame.c: mksigname
21 12
 -	./mksigname > $@
22
-+	$(STAGING_DIR_HOST)/bin/mksigname > $@
13
++	mksigname > $@
23 14
  
24 15
  mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
25 16
  	$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksiglist.c -o $@

+ 2
- 2
lang/lualanes/Makefile View File

@@ -42,8 +42,8 @@ endef
42 42
 define Build/Compile
43 43
 	$(MAKE) -C $(PKG_BUILD_DIR) all \
44 44
         CC="$(TARGET_CC)" \
45
-        LUA="$(STAGING_DIR_HOST)/bin/lua" \
46
-        LUAC="$(STAGING_DIR_HOST)/bin/luac" \
45
+        LUA="$(STAGING_DIR)/host/bin/lua" \
46
+        LUAC="$(STAGING_DIR)/host/bin/luac" \
47 47
         OPT_FLAGS="$(TARGET_CFLAGS) --std=c99 -Dpthread_yield=sched_yield"
48 48
 endef
49 49
 

+ 1
- 1
lang/luarocks/Makefile View File

@@ -41,7 +41,7 @@ endef
41 41
 CONFIGURE_ARGS = \
42 42
     --prefix=$(CONFIGURE_PREFIX) \
43 43
     --sysconfdir=/etc \
44
-    --with-lua=$(STAGING_DIR_HOST)
44
+    --with-lua=$(STAGING_DIR)/host
45 45
 
46 46
 define Build/Compile
47 47
 	$(call Build/Compile/Default,build)

+ 1
- 1
lang/node-arduino-firmata/Makefile View File

@@ -53,7 +53,7 @@ define Build/Compile
53 53
 	npm_config_arch=$(CONFIG_ARCH) \
54 54
 	npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
55 55
 	PREFIX="$(PKG_INSTALL_DIR)/usr/" \
56
-	$(STAGING_DIR_HOST)/bin/npm install -g $(PKG_BUILD_DIR)
56
+	$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
57 57
 endef
58 58
 
59 59
 define Package/node-arduino-firmata/install

+ 1
- 1
lang/node-cylon/Makefile View File

@@ -68,7 +68,7 @@ define Build/Compile
68 68
 	npm_config_arch=$(CONFIG_ARCH) \
69 69
 	npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
70 70
 	PREFIX="$(PKG_INSTALL_DIR)/usr/" \
71
-	$(STAGING_DIR_HOST)/bin/npm install -g $(PKG_BUILD_DIR)
71
+	$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
72 72
 endef
73 73
 
74 74
 define Package/node-cylon/install

+ 1
- 1
lang/node-hid/Makefile View File

@@ -50,7 +50,7 @@ define Build/Compile
50 50
 	npm_config_arch=$(CONFIG_ARCH) \
51 51
 	npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
52 52
 	PREFIX="$(PKG_INSTALL_DIR)/usr/" \
53
-	$(STAGING_DIR_HOST)/bin/npm install -g $(PKG_BUILD_DIR)
53
+	$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
54 54
 endef
55 55
 
56 56
 define Package/node-hid/install

+ 1
- 1
lang/node-serialport/Makefile View File

@@ -50,7 +50,7 @@ define Build/Compile
50 50
 	npm_config_arch=$(CONFIG_ARCH) \
51 51
 	npm_config_nodedir=$(BUILD_DIR)/node-v$(PKG_NODE_VERSION)/ \
52 52
 	PREFIX="$(PKG_INSTALL_DIR)/usr/" \
53
-	$(STAGING_DIR_HOST)/bin/npm install -g $(PKG_BUILD_DIR)
53
+	$(STAGING_DIR)/host/bin/npm install -g $(PKG_BUILD_DIR)
54 54
 endef
55 55
 
56 56
 define Package/node-serialport/install

+ 1
- 1
lang/node/Makefile View File

@@ -57,7 +57,7 @@ HOST_CONFIGURE_VARS:=
57 57
 HOST_CONFIGURE_ARGS:= \
58 58
 	--dest-os=linux \
59 59
 	--without-snapshot \
60
-	--prefix=$(STAGING_DIR_HOST)/
60
+	--prefix=$(STAGING_DIR)/host/
61 61
 
62 62
 HOST_CONFIGURE_CMD:=python ./configure
63 63
 

+ 2
- 2
lang/perl-xml-parser/Makefile View File

@@ -25,8 +25,8 @@ HOST_BUILD_DEPENDS:=perl/host expat/host
25 25
 
26 26
 EXPAT_LIBPATH:=$(STAGING_DIR)/usr/lib
27 27
 EXPAT_INCPATH=$(STAGING_DIR)/usr/include
28
-HOST_EXPAT_LIBPATH:=$(STAGING_DIR_HOST)/lib
29
-HOST_EXPAT_INCPATH=$(STAGING_DIR_HOST)/include
28
+HOST_EXPAT_LIBPATH:=$(STAGING_DIR)/host/lib
29
+HOST_EXPAT_INCPATH=$(STAGING_DIR)/host/include
30 30
 
31 31
 include $(INCLUDE_DIR)/package.mk
32 32
 include $(INCLUDE_DIR)/host-build.mk

+ 1
- 1
lang/perl/Makefile View File

@@ -35,7 +35,7 @@ PKG_BUILD_PARALLEL:=1
35 35
 HOST_BUILD_PARALLEL:=1
36 36
 
37 37
 # Variables used during configuration/build
38
-HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
38
+HOST_PERL_PREFIX:=$(STAGING_DIR)/host/usr
39 39
 
40 40
 # Filter -g3, it will break Compress-Raw-Zlib
41 41
 TARGET_CFLAGS_PERL:=$(patsubst -g3,-g,$(TARGET_CFLAGS))

+ 3
- 3
lang/perl/perlmod.mk View File

@@ -4,12 +4,12 @@
4 4
 PERL_VERSION:=5.22
5 5
 
6 6
 # Build environment
7
-HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
7
+HOST_PERL_PREFIX:=$(STAGING_DIR)/host/usr
8 8
 ifneq ($(CONFIG_USE_GLIBC),)
9 9
 	EXTRA_LIBS:=bsd
10 10
 	EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
11 11
 endif
12
-PERL_CMD:=$(STAGING_DIR_HOST)/usr/bin/perl$(PERL_VERSION).0
12
+PERL_CMD:=$(STAGING_DIR)/host/usr/bin/perl$(PERL_VERSION).0
13 13
 
14 14
 MOD_CFLAGS_PERL:=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)
15 15
 ifdef CONFIG_PERL_THREADS
@@ -26,7 +26,7 @@ define perlmod/host/relink
26 26
 	rm -f $(1)/Makefile.aperl
27 27
 	$(MAKE) -C $(1) perl
28 28
 	$(CP) $(1)/perl $(PERL_CMD)
29
-	$(CP) $(1)/perl $(STAGING_DIR_HOST)/usr/bin/perl
29
+	$(CP) $(1)/perl $(STAGING_DIR)/host/usr/bin/perl
30 30
 endef
31 31
 
32 32
 define perlmod/host/Configure

+ 4
- 4
lang/php5/Makefile View File

@@ -491,10 +491,10 @@ define Build/InstallDev
491 491
 	mkdir -p $(PKG_BUILD_DIR)/staging/usr/bin
492 492
 	make -C $(PKG_BUILD_DIR) install INSTALL_ROOT=$(PKG_BUILD_DIR)/staging
493 493
 	rm -f $(PKG_BUILD_DIR)/staging/usr/bin/php
494
-	$(CP) $(PKG_BUILD_DIR)/staging/* $(STAGING_DIR_HOST)
495
-	sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
496
-	sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
497
-	sed -i -e "s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR_HOST)/usr\"#" $(STAGING_DIR_HOST)/usr/bin/php-config
494
+	$(CP) $(PKG_BUILD_DIR)/staging/* $(STAGING_DIR)/host
495
+	sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR)/host/usr'#" $(STAGING_DIR)/host/usr/bin/phpize
496
+	sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/host/usr'#" $(STAGING_DIR)/host/usr/bin/phpize
497
+	sed -i -e "s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/host/usr\"#" $(STAGING_DIR)/host/usr/bin/php-config
498 498
 endef
499 499
 
500 500
 define BuildModule

+ 2
- 2
lang/php5/pecl.mk View File

@@ -15,11 +15,11 @@ endef
15 15
 
16 16
 define Build/Prepare
17 17
 	$(Build/Prepare/Default)
18
-	( cd $(PKG_BUILD_DIR); $(STAGING_DIR_HOST)/usr/bin/phpize )
18
+	( cd $(PKG_BUILD_DIR); $(STAGING_DIR)/host/usr/bin/phpize )
19 19
 endef
20 20
 
21 21
 CONFIGURE_ARGS+= \
22
-	--with-php-config=$(STAGING_DIR_HOST)/usr/bin/php-config
22
+	--with-php-config=$(STAGING_DIR)/host/usr/bin/php-config
23 23
 
24 24
 define PECLPackage
25 25
 

+ 1
- 1
lang/python-cffi/Makefile View File

@@ -45,7 +45,7 @@ define Build/Compile
45 45
 endef
46 46
 
47 47
 define Host/Compile
48
-	$(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR_HOST)")
48
+	$(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR)/host")
49 49
 endef
50 50
 
51 51
 define Host/Install

+ 1
- 1
lang/python-ply/Makefile View File

@@ -53,7 +53,7 @@ define Build/InstallDev
53 53
 endef
54 54
 
55 55
 define Host/Compile
56
-	$(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR_HOST)")
56
+	$(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR)/host")
57 57
 endef
58 58
 
59 59
 define Host/Install

+ 1
- 1
lang/python-pycparser/Makefile View File

@@ -47,7 +47,7 @@ define Build/Compile
47 47
 endef
48 48
 
49 49
 define Host/Compile
50
-	$(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR_HOST)")
50
+	$(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR)/host")
51 51
 endef
52 52
 
53 53
 define Host/Install

+ 1
- 1
lang/python-setuptools/Makefile View File

@@ -60,7 +60,7 @@ endef
60 60
 
61 61
 define Host/Compile
62 62
 	$(call Build/Compile/HostPyMod,,\
63
-		install --root="$(STAGING_DIR_HOST)" --prefix="/usr" \
63
+		install --root="$(STAGING_DIR)/host" --prefix="/usr" \
64 64
 		--single-version-externally-managed \
65 65
 	)
66 66
 endef

+ 8
- 8
lang/python/Makefile View File

@@ -144,13 +144,13 @@ define Build/InstallDev
144 144
 		$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
145 145
 		$(1)/usr/include/
146 146
 	$(CP) \
147
-		$(STAGING_DIR_HOST)/usr/lib/python$(PYTHON_VERSION) \
147
+		$(STAGING_DIR)/host/usr/lib/python$(PYTHON_VERSION) \
148 148
 		$(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* \
149 149
 		$(1)/usr/lib/
150 150
 	$(CP) \
151
-		$(STAGING_DIR_HOST)/lib/pkgconfig/python.pc \
152
-		$(STAGING_DIR_HOST)/lib/pkgconfig/python2.pc \
153
-		$(STAGING_DIR_HOST)/lib/pkgconfig/python-$(PYTHON_VERSION).pc \
151
+		$(STAGING_DIR)/host/lib/pkgconfig/python.pc \
152
+		$(STAGING_DIR)/host/lib/pkgconfig/python2.pc \
153
+		$(STAGING_DIR)/host/lib/pkgconfig/python-$(PYTHON_VERSION).pc \
154 154
 		$(1)/usr/lib/pkgconfig
155 155
 	$(CP) \
156 156
 		$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config \
@@ -221,16 +221,16 @@ HOST_CONFIGURE_ARGS+= \
221 221
 	--without-cxx-main \
222 222
 	--without-pymalloc \
223 223
 	--with-threads \
224
-	--prefix=$(STAGING_DIR_HOST)/usr \
225
-	--with-system-expat=$(STAGING_DIR_HOST) \
224
+	--prefix=$(STAGING_DIR)/host/usr \
225
+	--with-system-expat=$(STAGING_DIR)/host \
226 226
 	--with-ensurepip=upgrade \
227 227
 	CONFIG_SITE= \
228 228
 	CFLAGS="$(HOST_CFLAGS)"
229 229
 
230 230
 define Host/Install
231
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
231
+	$(INSTALL_DIR) $(STAGING_DIR)/host/bin/
232 232
 	$(MAKE) -C $(HOST_BUILD_DIR) install
233
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR_HOST)/bin/pgen2
233
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR)/host/bin/pgen2
234 234
 endef
235 235
 
236 236
 $(eval $(call HostBuild))

+ 4
- 4
lang/python/files/python-host.mk View File

@@ -5,15 +5,15 @@
5 5
 # See /LICENSE for more information.
6 6
 #
7 7
 
8
-HOST_PYTHON_INC_DIR:=$(STAGING_DIR_HOST)/include/python$(PYTHON_VERSION)
8
+HOST_PYTHON_INC_DIR:=$(STAGING_DIR)/host/include/python$(PYTHON_VERSION)
9 9
 
10 10
 HOST_PYTHON_PKG_DIR:=/usr/lib/python$(PYTHON_VERSION)/site-packages
11 11
 
12
-HOST_PYTHONPATH:=$(HOST_PYTHON_LIB_DIR):$(STAGING_DIR_HOST)/$(HOST_PYTHON_PKG_DIR)
12
+HOST_PYTHONPATH:=$(HOST_PYTHON_LIB_DIR):$(STAGING_DIR)/host/$(HOST_PYTHON_PKG_DIR)
13 13
 define HostPython
14 14
 	if [ "$(strip $(3))" == "HOST" ]; then \
15 15
 		export PYTHONPATH="$(HOST_PYTHONPATH)"; \
16
-		export _python_sysroot="$(STAGING_DIR_HOST)"; \
16
+		export _python_sysroot="$(STAGING_DIR)/host"; \
17 17
 	else \
18 18
 		export PYTHONPATH="$(PYTHONPATH)"; \
19 19
 		export _python_sysroot="$(STAGING_DIR)"; \
@@ -29,7 +29,7 @@ endef
29 29
 # These configure args are needed in detection of path to Python header files
30 30
 # using autotools.
31 31
 HOST_CONFIGURE_ARGS += \
32
-	_python_sysroot="$(STAGING_DIR_HOST)" \
32
+	_python_sysroot="$(STAGING_DIR)/host" \
33 33
 	_python_prefix="/usr" \
34 34
 	_python_exec_prefix="/usr"
35 35
 

+ 2
- 2
lang/python/files/python-package.mk View File

@@ -17,8 +17,8 @@ PYTHON_PKG_DIR:=/usr/lib/python$(PYTHON_VERSION)/site-packages
17 17
 
18 18
 PYTHON:=python$(PYTHON_VERSION)
19 19
 
20
-HOST_PYTHON_LIB_DIR:=$(STAGING_DIR_HOST)/usr/lib/python$(PYTHON_VERSION)
21
-HOST_PYTHON_BIN:=$(STAGING_DIR_HOST)/bin/python2
20
+HOST_PYTHON_LIB_DIR:=$(STAGING_DIR)/host/usr/lib/python$(PYTHON_VERSION)
21
+HOST_PYTHON_BIN:=$(STAGING_DIR)/host/bin/python2
22 22
 
23 23
 PYTHONPATH:=$(PYTHON_LIB_DIR):$(STAGING_DIR)/$(PYTHON_PKG_DIR):$(PKG_INSTALL_DIR)/$(PYTHON_PKG_DIR)
24 24
 

+ 6
- 6
lang/python3/Makefile View File

@@ -146,7 +146,7 @@ define Build/InstallDev
146 146
 		$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
147 147
 		$(1)/usr/include/
148 148
 	$(CP) \
149
-		$(STAGING_DIR_HOST)/lib/python$(PYTHON_VERSION) \
149
+		$(STAGING_DIR)/host/lib/python$(PYTHON_VERSION) \
150 150
 		$(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* \
151 151
 		$(1)/usr/lib/
152 152
 	$(CP) \
@@ -216,8 +216,8 @@ HOST_CONFIGURE_ARGS+= \
216 216
 	--without-cxx-main \
217 217
 	--without-pymalloc \
218 218
 	--with-threads \
219
-	--prefix=$(STAGING_DIR_HOST) \
220
-	--with-system-expat=$(STAGING_DIR_HOST) \
219
+	--prefix=$(STAGING_DIR)/host \
220
+	--with-system-expat=$(STAGING_DIR)/host \
221 221
 	--with-ensurepip=upgrade \
222 222
 	CONFIG_SITE= \
223 223
 	CFLAGS="$(HOST_CFLAGS)"
@@ -228,10 +228,10 @@ define Host/Compile
228 228
 endef
229 229
 
230 230
 define Host/Install
231
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
231
+	$(INSTALL_DIR) $(STAGING_DIR)/host/bin/
232 232
 	$(MAKE) -C $(HOST_BUILD_DIR) install
233
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR_HOST)/bin/pgen3
234
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/Programs/_freeze_importlib $(STAGING_DIR_HOST)/bin/_freeze_importlib
233
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(STAGING_DIR)/host/bin/pgen3
234
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/Programs/_freeze_importlib $(STAGING_DIR)/host/bin/_freeze_importlib
235 235
 endef
236 236
 
237 237
 $(eval $(call HostBuild))

+ 2
- 2
lang/python3/files/python3-package.mk View File

@@ -20,8 +20,8 @@ PYTHON3_PKG_DIR:=/usr/lib/python$(PYTHON3_VERSION)/site-packages
20 20
 
21 21
 PYTHON3:=python$(PYTHON3_VERSION)
22 22
 
23
-HOST_PYTHON3_LIB_DIR:=$(STAGING_DIR_HOST)/lib/python$(PYTHON3_VERSION)
24
-HOST_PYTHON3_BIN:=$(STAGING_DIR_HOST)/bin/python3
23
+HOST_PYTHON3_LIB_DIR:=$(STAGING_DIR)/host/lib/python$(PYTHON3_VERSION)
24
+HOST_PYTHON3_BIN:=$(STAGING_DIR)/host/bin/python3
25 25
 
26 26
 PYTHON3PATH:=$(PYTHON3_LIB_DIR):$(STAGING_DIR)/$(PYTHON3_PKG_DIR):$(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR)
27 27
 define HostPython3

+ 2
- 2
libs/boost/Makefile View File

@@ -397,11 +397,11 @@ endef
397 397
 
398 398
 define Host/Install
399 399
 	$(INSTALL_DIR) \
400
-		$(STAGING_DIR_HOST)/bin
400
+		$(STAGING_DIR)/host/bin
401 401
 
402 402
 	$(CP) \
403 403
 		$(HOST_BUILD_DIR)/tools/build/src/engine/bin.*/b2 \
404
-		$(STAGING_DIR_HOST)/bin/
404
+		$(STAGING_DIR)/host/bin/
405 405
 endef
406 406
 
407 407
 define Package/boost/Default/install

+ 2
- 2
libs/libgee/Makefile View File

@@ -57,10 +57,10 @@ define Build/InstallDev
57 57
 	$(INSTALL_DATA) \
58 58
 		$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
59 59
 		$(1)/usr/lib/pkgconfig/
60
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/vala-0.30/vapi/
60
+	$(INSTALL_DIR) $(STAGING_DIR)/host/share/vala-0.30/vapi/
61 61
 	$(INSTALL_DATA) \
62 62
                 $(PKG_INSTALL_DIR)/usr/share/vala/vapi/* \
63
-                $(STAGING_DIR_HOST)/share/vala-0.30/vapi
63
+                $(STAGING_DIR)/host/share/vala-0.30/vapi
64 64
 endef
65 65
 
66 66
 define Package/libgee/install

+ 2
- 2
libs/libmraa/Makefile View File

@@ -28,8 +28,8 @@ include $(INCLUDE_DIR)/cmake.mk
28 28
 
29 29
 CMAKE_OPTIONS=-DBUILDARCH=$(CONFIG_ARCH) \
30 30
 	-DENABLEEXAMPLES=0 \
31
-	-DNODE_EXECUTABLE=$(STAGING_DIR_HOST)/bin/node \
32
-	-DSWIG_DIR=$(STAGING_DIR_HOST)/bin
31
+	-DNODE_EXECUTABLE=$(STAGING_DIR)/host/bin/node \
32
+	-DSWIG_DIR=$(STAGING_DIR)/host/bin
33 33
 
34 34
 TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/node
35 35
 

+ 2
- 2
libs/libsearpc/Makefile View File

@@ -52,8 +52,8 @@ define Host/Compile
52 52
 endef
53 53
 
54 54
 define Host/Install
55
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
56
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/lib/searpc-codegen.py $(STAGING_DIR_HOST)/bin/
55
+	$(INSTALL_DIR) $(STAGING_DIR)/host/bin
56
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/lib/searpc-codegen.py $(STAGING_DIR)/host/bin/
57 57
 endef
58 58
 
59 59
 $(eval $(call HostBuild))

+ 2
- 2
libs/libupm/Makefile View File

@@ -36,8 +36,8 @@ UPM_MODULES:= \
36 36
 	th02 tm1637 tsl2561 ttp223 ublox6 uln200xa waterlevel wheelencoder wt5001 yg1006 zfm20
37 37
 
38 38
 CMAKE_OPTIONS=-DBUILDARCH=$(CONFIG_ARCH) \
39
-	-DNODE_EXECUTABLE=$(STAGING_DIR_HOST)/bin/node \
40
-	-DSWIG_DIR=$(STAGING_DIR_HOST)/bin
39
+	-DNODE_EXECUTABLE=$(STAGING_DIR)/host/bin/node \
40
+	-DSWIG_DIR=$(STAGING_DIR)/host/bin
41 41
 
42 42
 define Package/libupm/Default
43 43
   SECTION:=libs

+ 2
- 2
libs/libzdb/Makefile View File

@@ -67,8 +67,8 @@ define Host/Compile
67 67
 endef
68 68
 
69 69
 define Host/Install
70
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
71
-	$(CP) $(HOST_BUILD_DIR)/tools/bin/filterh $(STAGING_DIR_HOST)/bin/
70
+	$(INSTALL_DIR) $(STAGING_DIR)/host/bin
71
+	$(CP) $(HOST_BUILD_DIR)/tools/bin/filterh $(STAGING_DIR)/host/bin/
72 72
 endef
73 73
 
74 74
 $(eval $(call HostBuild))

+ 1
- 1
libs/libzdb/patches/020-filterh-use-host-built-version.patch View File

@@ -14,7 +14,7 @@ diff -rupN libzdb-3.0.orig/Makefile.am libzdb-3.0/Makefile.am
14 14
  RE2C		= @RE2C@
15 15
  RE2CFLAGS       = -b
16 16
 -FILTERH         = ./tools/bin/filterh
17
-+FILTERH         = $(STAGING_DIR_HOST)/bin/filterh
17
++FILTERH         = $(STAGING_DIR)/host/bin/filterh
18 18
  
19 19
  AM_CPPFLAGS     = $(CPPFLAGS) $(DBCPPFLAGS)
20 20
  AM_CPPFLAGS     += -Isrc -Isrc/util -Isrc/net -Isrc/db -Isrc/exceptions

+ 1
- 1
libs/protobuf/Makefile View File

@@ -41,7 +41,7 @@ define Package/protobuf/description
41 41
  of its internal RPC protocols and file formats.
42 42
 endef
43 43
 
44
-CONFIGURE_ARGS += --with-protoc=$(STAGING_DIR_HOST)/bin/protoc
44
+CONFIGURE_ARGS += --with-protoc=$(STAGING_DIR)/host/bin/protoc
45 45
 
46 46
 define Build/InstallDev
47 47
 	$(INSTALL_DIR) \

+ 2
- 2
multimedia/grilo/Makefile View File

@@ -56,13 +56,13 @@ define Build/InstallDev
56 56
 	$(INSTALL_DATA) \
57 57
 		$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
58 58
 		$(1)/usr/lib/pkgconfig/
59
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/vala-0.30/vapi/
59
+	$(INSTALL_DIR) $(STAGING_DIR)/host/share/vala-0.30/vapi/
60 60
 	# Note: this are compiled elsewhere because grilo refuses to
61 61
 	# generate VAPI files unless gobject-introspection exists;
62 62
 	# OpenWrt does not yet have a gobject-introspection package.
63 63
 	$(INSTALL_DATA) \
64 64
 		./files/*.vapi \
65
-		$(STAGING_DIR_HOST)/share/vala-0.30/vapi
65
+		$(STAGING_DIR)/host/share/vala-0.30/vapi
66 66
 endef
67 67
 
68 68
 define Package/grilo/install

+ 4
- 3
net/nfs-kernel-server/Makefile View File

@@ -93,8 +93,8 @@ MAKE_FLAGS += \
93 93
 	OPT="$(TARGET_CFLAGS)" \
94 94
 	INSTALLSUID="install -m 4755" \
95 95
 	DESTDIR="$(PKG_INSTALL_DIR)" \
96
-	RPCGEN_PATH=$(STAGING_DIR_HOST)/bin/rpcgen \
97
-	RPCGEN=$(STAGING_DIR_HOST)/bin/rpcgen
96
+	RPCGEN_PATH=$(STAGING_DIR)/host/bin/rpcgen \
97
+	RPCGEN=$(STAGING_DIR)/host/bin/rpcgen
98 98
 
99 99
 HOST_CFLAGS += -Dlinux
100 100
 
@@ -125,7 +125,8 @@ define Host/Compile
125 125
 endef
126 126
 
127 127
 define Host/Install
128
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/rpcgen/rpcgen $(STAGING_DIR_HOST)/bin/rpcgen
128
+	$(INSTALL_DIR) $(STAGING_DIR)/host/bin
129
+	$(INSTALL_BIN) $(HOST_BUILD_DIR)/tools/rpcgen/rpcgen $(STAGING_DIR)/host/bin/rpcgen
129 130
 endef
130 131
 
131 132
 define Package/nfs-kernel-server/install

+ 4
- 4
utils/dbus/Makefile View File

@@ -122,11 +122,11 @@ HOST_CONFIGURE_ARGS+= \
122 122
 	--disable-verbose-mode \
123 123
 	--disable-xml-docs \
124 124
 	--with-dbus-user=root \
125
-	--with-dbus-daemondir="$(STAGIND_DIR_HOST)/bin" \
126
-	--with-system-socket="$(STAGING_DIR_HOST)/var/run/dbus/system_bus_socket" \
127
-	--with-system-pid-file="$(STAGING_DIR_HOST)/var/run/dbus.pid" \
125
+	--with-dbus-daemondir="$(STAGIND_DIR)/host/bin" \
126
+	--with-system-socket="$(STAGING_DIR)/host/var/run/dbus/system_bus_socket" \
127
+	--with-system-pid-file="$(STAGING_DIR)/host/var/run/dbus.pid" \
128 128
 	--without-x \
129
-	--libexecdir="$(STAGING_DIR_HOST)/lib/dbus-1"
129
+	--libexecdir="$(STAGING_DIR)/host/lib/dbus-1"
130 130
 
131 131
 HOST_CONFIGURE_VARS+= \
132 132
 	ac_cv_have_abstract_sockets="yes" \