Messages in this thread | | | From | Masahiro Yamada <> | Date | Thu, 6 Sep 2018 09:46:05 +0900 | Subject | Re: [PATCH v4 07/11] kbuild: use 'include' directive to load auto.conf from top Makefile |
| |
2018-09-06 7:53 GMT+09:00 Segher Boessenkool <segher@kernel.crashing.org>: > On Mon, Sep 03, 2018 at 12:00:21PM +0200, Borislav Petkov wrote: >> On Mon, Sep 03, 2018 at 06:54:12PM +0900, Masahiro Yamada wrote: >> > You are right - I missed this usecase, >> > but I still want to excuse "it is rare enough". >> >> Isn't there a Makefile way to check file existence before including it? > > Sure there is, you can use $(wildcard ) .
If you work around it by $(wildcard ), we need something else that terminates building in case auto.conf is really missing.
I do not want to revert
commit 2063945fdc3d4c0ac8f9319d942eda720d02aabe Author: Masahiro Yamada <yamada.masahiro@socionext.com> Date: Fri Jul 20 16:46:36 2018 +0900
kbuild: remove auto.conf from prerequisite of phony targets
-- Best Regards Masahiro Yamada
| |