mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.
STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.
Also fixes a typo in the dbus Makefile ("STAGIND_DIR").
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -25,8 +25,8 @@ HOST_BUILD_DEPENDS:=perl/host expat/host
|
||||
|
||||
EXPAT_LIBPATH:=$(STAGING_DIR)/usr/lib
|
||||
EXPAT_INCPATH=$(STAGING_DIR)/usr/include
|
||||
HOST_EXPAT_LIBPATH:=$(STAGING_DIR)/host/lib
|
||||
HOST_EXPAT_INCPATH=$(STAGING_DIR)/host/include
|
||||
HOST_EXPAT_LIBPATH:=$(STAGING_DIR_HOSTPKG)/lib
|
||||
HOST_EXPAT_INCPATH=$(STAGING_DIR_HOSTPKG)/include
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
Reference in New Issue
Block a user