]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commit
build: make sure build fails when running kconfig fails
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Feb 2024 10:52:47 +0000 (11:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Feb 2024 10:52:47 +0000 (11:52 +0100)
commitd34e5fa2e8db19f23081f46a3e710bb122130691
treef383e3c8e370d42a2906804df626809f7f431e70
parentbb1619ed4f2edcc7140b6a130b42a553da78fa10
build: make sure build fails when running kconfig fails

Because of using "-include", failure to (re)build auto.conf (with
auto.conf.cmd produced as a secondary target) won't stop make from
continuing the build. Arrange for it being possible to drop the - from
Rules.mk, requiring that the include be skipped for tools-only targets.
Note that relying on the inclusion in those cases wouldn't be correct
anyway, as it might be a stale file (yet to be rebuilt) which would be
included, while during initial build, the file would be absent
altogether.

Fixes: 8d4c17a90b0a ("xen/build: silence make warnings about missing auto.conf*")
Reported-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
xen/Makefile
xen/Rules.mk