Messages in this thread | | | Date | Wed, 5 Sep 2018 17:53:33 -0500 | From | Segher Boessenkool <> | Subject | Re: [PATCH v4 07/11] kbuild: use 'include' directive to load auto.conf from top Makefile |
| |
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 ) .
Segher
| |