10/04/2018 17:44, David Hunt: > On FreeBSD, make defconfig generates the config as "defconfig_x86_64-bsdapp-", > which does not resolve to any known config file. > > This fix starts by introducing a 'compiler' variable which is set by executing > "${CC} --version" and pulling out the name of the compiler. [...] > +compiler:=$(filter clang gcc icc cc,$(shell ${CC} --version))
You should not invoke a shell command outside of a rule. Please try to move it inside the defconfig context. Reason for this query? 1/ avoid polluting the rest of the makefile 2/ it breaks doc compilation Why it breaks doc? Because it breaks "make -R showversion" which is called in doc/guides/conf.py. Tip: CC is not always defined :)