summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:15:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-05-26 08:15:56 +0200
commitb2887b05993a70f6237986e1fc9edc4687cbab13 (patch)
treec3a1ecfcbb1f4e16cec2af5212f5b9affeb77176
parent6db4160c4f951aed3b56dbce9e94947b65f79d2b (diff)
downloadptxdist-b2887b05993a70f6237986e1fc9edc4687cbab13.tar.gz
ptxdist-b2887b05993a70f6237986e1fc9edc4687cbab13.tar.xz
extract: extract all source packages by default
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/post/ptxd_make_world_extract.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/post/ptxd_make_world_extract.make b/rules/post/ptxd_make_world_extract.make
index f58dd6900..7b7798251 100644
--- a/rules/post/ptxd_make_world_extract.make
+++ b/rules/post/ptxd_make_world_extract.make
@@ -41,7 +41,8 @@ $(STATEDIR)/klibc-%.extract:
$(STATEDIR)/%.extract:
@$(call targetinfo)
@$(call clean, $($(PTX_MAP_TO_PACKAGE_$(*))_DIR))
- @$(call extract, $(PTX_MAP_TO_PACKAGE_$(*)))
+ @$(foreach src,$($(PTX_MAP_TO_PACKAGE_$(*))_SOURCES), \
+ $(call extract, $($(src)));)
@$(call patchin, $(PTX_MAP_TO_PACKAGE_$(*)), $($(PTX_MAP_TO_PACKAGE_$(*))_DIR))
@$(call touch)