1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:18:26 +02:00

build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors (backport of r26431)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26433 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2011-04-03 02:15:56 +00:00
parent b4509c8ec7
commit bfc0ff6ba8

View File

@ -28,8 +28,10 @@ IPKG_BUILD:= \
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
define BuildIPKGVariable define BuildIPKGVariable
ifdef Package/$(1)/$(2)
$(call shexport,Package/$(1)/$(2)) $(call shexport,Package/$(1)/$(2))
$(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2); $(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2);
endif
endef endef
PARENL :=( PARENL :=(