Commit a50136c5 authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: Another try to fix .config in Makefile

To avoid triggering .config target at clean.
Put explicit target for $(CURDIR)/.config
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent f1edab08
...@@ -218,6 +218,10 @@ gitmodules: ...@@ -218,6 +218,10 @@ gitmodules:
@test -d ppsi/arch-wrpc || echo "Checking out submodules" @test -d ppsi/arch-wrpc || echo "Checking out submodules"
@test -d ppsi/arch-wrpc || git submodule update --init @test -d ppsi/arch-wrpc || git submodule update --init
# Explicit rule for $(CURDIR)/.config
# needed since -include XXX triggers build for XXX
$(CURDIR)/.config:
@# Keep this dummy comment
# following targets from Makefile.kconfig # following targets from Makefile.kconfig
silentoldconfig: silentoldconfig:
...@@ -227,7 +231,7 @@ silentoldconfig: ...@@ -227,7 +231,7 @@ silentoldconfig:
scripts_basic config: scripts_basic config:
$(MAKE) quiet=quiet_ -f Makefile.kconfig $@ $(MAKE) quiet=quiet_ -f Makefile.kconfig $@
%_defconfig %_config: %config:
$(MAKE) quiet=quiet_ -f Makefile.kconfig $@ $(MAKE) quiet=quiet_ -f Makefile.kconfig $@
defconfig: defconfig:
......
ppsi @ ac9a913c
Subproject commit 0e0abb05d413c8c1368c393c34d2da8ac7281463 Subproject commit ac9a913c3dc2e7e06fa8208ee57734e5900f6233
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment