mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 13:00:39 +03:00
Generate phony targets, so that we don't get screwed by missing config
header files.
This commit is contained in:
@@ -104,7 +104,8 @@ endef
|
|||||||
define obj_template
|
define obj_template
|
||||||
|
|
||||||
@$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) \
|
@$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) \
|
||||||
-M $(1) -MT "$(4)_DEPS" | tr : = >> $(2)
|
-M $(1) -MT "$(4)_DEPS" -MG -MP | \
|
||||||
|
sed 's/$(4)_DEPS[[:space:]]*:/$(4)_DEPS =/' >> $(2)
|
||||||
@echo -e '\n$$(BIN)/$(4).o : $(1) $$(MAKEDEPS) $$($(4)_DEPS)' \
|
@echo -e '\n$$(BIN)/$(4).o : $(1) $$(MAKEDEPS) $$($(4)_DEPS)' \
|
||||||
'\n\t$$(RULE_$(3))\n' \
|
'\n\t$$(RULE_$(3))\n' \
|
||||||
'\nBOBJS += $$(BIN)/$(4).o\n' \
|
'\nBOBJS += $$(BIN)/$(4).o\n' \
|
||||||
|
|||||||
Reference in New Issue
Block a user