kbuild: refactor Makefile.asm-generic
commit7d0e5c2056c70ff443188b6e603b6254af1304cc
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 5 Dec 2018 11:28:04 +0000 (5 20:28 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 16 Dec 2018 15:33:14 +0000 (17 00:33 +0900)
tree10d0d19b490e2057d3c104e442d7fb56a05f7232
parentc7fe060885c4c0b78934c3d7507aa5e68de4099f
kbuild: refactor Makefile.asm-generic

 - Use conventional $(MAKE) $(asm-generic)=<dir> style
   for directory descending

 - Remove unneeded FORCE since "all" is a phony target

 - Remove unneeded "_dummy :=" assignment

 - Skip $(shell mkdir ...) when headers exist in the directory

 - Misc cleanups

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Makefile
scripts/Makefile.asm-generic