Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e474ed45 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: specify FORCE in Makefile.headersinst as .PHONY target



Swap the order of ".PHONY: $(PHONY)" and "PHONY += FORCE"
so that FORCE is correctly specified as a .PHONY target.

Use a preferred way for specifying $(subdirs) as .PHONY targets.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 4173cbac
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ subdirs := $(patsubst $(srcdir)/%/,%,\
# Recursion
__headers: $(subdirs)

.PHONY: $(subdirs)
PHONY += $(subdirs)
$(subdirs):
	$(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(dst)/$@

@@ -123,6 +123,7 @@ endif

endif # skip-inst

.PHONY: $(PHONY)
PHONY += FORCE
FORCE: ;

.PHONY: $(PHONY)