mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-26 00:51:28 +02:00
Makefile: Correct the binman rule
This currently uses if_changed on a phony target. Use a real file as the target and add FORCE at the end, as required. Drop the 'inputs' phony since it is not needed. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
88ff7cb1c8
commit
c39c7c62d6
11
Makefile
11
Makefile
@ -1108,18 +1108,15 @@ define deprecated
|
|||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
PHONY += inputs
|
# Timestamp file to make sure that binman always runs
|
||||||
inputs: $(INPUTS-y)
|
.binman_stamp: $(INPUTS-y) FORCE
|
||||||
|
|
||||||
all: .binman_stamp inputs
|
|
||||||
ifeq ($(CONFIG_BINMAN),y)
|
ifeq ($(CONFIG_BINMAN),y)
|
||||||
$(call if_changed,binman)
|
$(call if_changed,binman)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Timestamp file to make sure that binman always runs
|
|
||||||
.binman_stamp: FORCE
|
|
||||||
@touch $@
|
@touch $@
|
||||||
|
|
||||||
|
all: .binman_stamp
|
||||||
|
|
||||||
ifeq ($(CONFIG_DEPRECATED),y)
|
ifeq ($(CONFIG_DEPRECATED),y)
|
||||||
$(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
|
$(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user