make-rules/prep.mk
changeset 42 566ce4d2ff99
parent 38 cd00ea74156e
child 59 7500d63edb42
--- a/make-rules/prep.mk	Thu Nov 04 21:06:30 2010 -0500
+++ b/make-rules/prep.mk	Thu Nov 04 21:10:58 2010 -0500
@@ -36,15 +36,15 @@
 	$(GPATCH) -d $(@D) $(GPATCH_FLAGS) < $<
 	$(TOUCH) [email protected]
 
-$(COMPONENT_ARCHIVE):	Makefile
+$(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE):	Makefile
 	$(FETCH) --file [email protected] \
 		$(COMPONENT_ARCHIVE_URL:%=--url %) \
 		$(COMPONENT_ARCHIVE_HASH:%=--hash %)
 	$(TOUCH) [email protected]
 
-$(COMPONENT_SRC)/.unpacked:	$(COMPONENT_ARCHIVE) Makefile $(PATCHES)
+$(COMPONENT_SRC)/.unpacked:	$(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE) Makefile $(PATCHES)
 	$(RM) -r $(COMPONENT_SRC)
-	$(UNPACK) $(UNPACK_ARGS) $(COMPONENT_ARCHIVE)
+	$(UNPACK) $(UNPACK_ARGS) $(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE)
 	$(TOUCH) [email protected]
 
 $(COMPONENT_SRC)/.patched:	$(COMPONENT_SRC)/.unpacked $(STAMPS)
@@ -56,7 +56,7 @@
 
 prep::	$(COMPONENT_SRC)/.prep
 
-download::	$(COMPONENT_ARCHIVE)
+download::	$(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE)
 
 clean::
 	$(RM) -r $(CLEAN_PATHS)