make-rules/prep.mk
changeset 38 cd00ea74156e
parent 34 d20b10eba317
child 42 566ce4d2ff99
equal deleted inserted replaced
37:988ea0021850 38:cd00ea74156e
    34 
    34 
    35 $(COMPONENT_SRC)/.%ed:	%
    35 $(COMPONENT_SRC)/.%ed:	%
    36 	$(GPATCH) -d $(@D) $(GPATCH_FLAGS) < $<
    36 	$(GPATCH) -d $(@D) $(GPATCH_FLAGS) < $<
    37 	$(TOUCH) [email protected]
    37 	$(TOUCH) [email protected]
    38 
    38 
    39 $(COMPONENT_ARCHIVE):
    39 $(COMPONENT_ARCHIVE):	Makefile
    40 	$(FETCH) --file [email protected] \
    40 	$(FETCH) --file [email protected] \
    41 		$(COMPONENT_ARCHIVE_URL:%=--url %) \
    41 		$(COMPONENT_ARCHIVE_URL:%=--url %) \
    42 		$(COMPONENT_ARCHIVE_HASH:%=--hash %)
    42 		$(COMPONENT_ARCHIVE_HASH:%=--hash %)
       
    43 	$(TOUCH) [email protected]
    43 
    44 
    44 $(COMPONENT_SRC)/.unpacked:	$(COMPONENT_ARCHIVE)
    45 $(COMPONENT_SRC)/.unpacked:	$(COMPONENT_ARCHIVE) Makefile $(PATCHES)
       
    46 	$(RM) -r $(COMPONENT_SRC)
    45 	$(UNPACK) $(UNPACK_ARGS) $(COMPONENT_ARCHIVE)
    47 	$(UNPACK) $(UNPACK_ARGS) $(COMPONENT_ARCHIVE)
    46 	$(TOUCH) [email protected]
    48 	$(TOUCH) [email protected]
    47 
    49 
    48 $(COMPONENT_SRC)/.patched:	$(COMPONENT_SRC)/.unpacked $(STAMPS)
    50 $(COMPONENT_SRC)/.patched:	$(COMPONENT_SRC)/.unpacked $(STAMPS)
    49 	$(TOUCH) [email protected]
    51 	$(TOUCH) [email protected]