summaryrefslogtreecommitdiffstats
path: root/pkg/module.rules
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/module.rules')
-rw-r--r--pkg/module.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/module.rules b/pkg/module.rules
index f841fd93b..da46620f1 100644
--- a/pkg/module.rules
+++ b/pkg/module.rules
@@ -6,6 +6,8 @@ $(eval $(call import.MODULE.rules,PKG))
pkg.create:: $(PKG.src.tar.bz2)
+pkg.createx:: pkg.create $(PKG.src-contrib.tar.bz2)
+
pkg.clean:
$(RM.exe) -fr $(STAGE.out/)
$(RM.exe) -fr $(PKG.out/)
@@ -20,6 +22,10 @@ $(STAGE.out.src/):
$@/$(PKG.basename)/make/configure.py > $@/$(PKG.basename)/make/configure.py.tmp
$(MV.exe) $@/$(PKG.basename)/make/configure.py.tmp $@/$(PKG.basename)/make/configure.py
+$(PKG.src-contrib.tar.bz2):
+ $(TAR.exe) cjf $@ -C $(CONTRIB.download/) \
+ $(foreach f,$(MODULES.NAMES),$(notdir $($f.FETCH.tar)))
+
###############################################################################
## include optional platform packaging