summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_world_extract.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/post/ptxd_make_world_extract.make')
-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)