force re-configuration when linux or coreboot config files change (#397)

This commit is contained in:
Trammell hudson 2018-05-03 16:47:09 -04:00
parent 2b79f006d9
commit 3d6eeb6a95
Failed to extract signature
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,9 @@ coreboot_hash := d68a83f8f687e8ea212b8c5bb501e24444b57c3f73896042d09628188c85136
# The builds are done in a per-target subdirectory # The builds are done in a per-target subdirectory
CONFIG_COREBOOT_CONFIG ?= config/coreboot-$(BOARD).config 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 EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches
coreboot_configure := \ coreboot_configure := \

View File

@ -20,8 +20,8 @@ linux-4.9.80_hash := 9e2e83ccc0afc3f23340ed5e58a35d8c6300a7c58aa98ca913848de4122
linux_hash := $(linux-$(linux_version)_hash) linux_hash := $(linux-$(linux_version)_hash)
# temp file in the build dir to show that we have run make oldconfig # Ensure that touching the config file will force a reconfig/rebuild
linux_config_file := $(notdir $(basename $(linux_kconfig))/.config-$(BOARD)) $(build)/$(linux_dir)/.configured: $(linux_kconfig)
linux_configure := \ linux_configure := \
$(MAKE) -C .. \ $(MAKE) -C .. \