Skip to content
Snippets Groups Projects
Commit 4de4827d authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

include: unbreak conffiles, postinst & prerm exports


Changeset r43017 reworked the ipkg control metadata generation but broke
the export of conffiles, postinst and prerm defines.

Change the code back to rely on shvar and shexport, this is required to
properly output multiline contents.

Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43041
parent 16e2c7ab
No related branches found
No related tags found
No related merge requests found
...@@ -13,10 +13,14 @@ IPKG_BUILD:= \ ...@@ -13,10 +13,14 @@ IPKG_BUILD:= \
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
# 1: package name
# 2: variable name
# 3: variable suffix
define BuildIPKGVariable define BuildIPKGVariable
ifdef Package/$(1)/$(2) ifdef Package/$(1)/$(2)
$$(IPKG_$(1)) : VAR_$(2)$(3)=$$(Package/$(1)/$(2)) $$(IPKG_$(1)) : VAR_$(2)$(3)=$$(Package/$(1)/$(2))
$(1)_COMMANDS += echo "$$$$$(2)$(3)" > $(2)$(3); $(call shexport,Package/$(1)/$(2))
$(1)_COMMANDS += echo "$$$$$$$$$(call shvar,Package/$(1)/$(2))" > $(2)$(3);
endif endif
endef endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment