mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
force re-configuration when linux or coreboot config files change (#397)
This commit is contained in:
parent
2b79f006d9
commit
3d6eeb6a95
@ -13,6 +13,9 @@ coreboot_hash := d68a83f8f687e8ea212b8c5bb501e24444b57c3f73896042d09628188c85136
|
||||
# The builds are done in a per-target subdirectory
|
||||
CONFIG_COREBOOT_CONFIG ?= config/coreboot-$(BOARD).config
|
||||
|
||||
# Ensure that touching the config file will force a rebuild
|
||||
$(build)/$(coreboot_dir)/.configured: $(CONFIG_COREBOOT_CONFIG)
|
||||
|
||||
EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches
|
||||
|
||||
coreboot_configure := \
|
||||
|
@ -20,8 +20,8 @@ linux-4.9.80_hash := 9e2e83ccc0afc3f23340ed5e58a35d8c6300a7c58aa98ca913848de4122
|
||||
|
||||
linux_hash := $(linux-$(linux_version)_hash)
|
||||
|
||||
# temp file in the build dir to show that we have run make oldconfig
|
||||
linux_config_file := $(notdir $(basename $(linux_kconfig))/.config-$(BOARD))
|
||||
# Ensure that touching the config file will force a reconfig/rebuild
|
||||
$(build)/$(linux_dir)/.configured: $(linux_kconfig)
|
||||
|
||||
linux_configure := \
|
||||
$(MAKE) -C .. \
|
||||
|
Loading…
Reference in New Issue
Block a user