build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450
SVN-Revision: 26431
This commit is contained in:
parent
4717461455
commit
f6a0d67e7c
1 changed files with 2 additions and 0 deletions
|
@ -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 += $(SH_FUNC) var2file "$(call shvar,Package/$(1)/$(2))" $(2);
|
$(1)_COMMANDS += $(SH_FUNC) var2file "$(call shvar,Package/$(1)/$(2))" $(2);
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PARENL :=(
|
PARENL :=(
|
||||||
|
|
Loading…
Reference in a new issue