summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2016-05-16 20:06:42 -0400
committerAnas Nashif <nashif@linux.intel.com>2016-05-20 18:25:19 +0000
commitc9762dbfba5f0382486585aa044e5ea5d480adfc (patch)
tree156bb95d24329e75c45a0c3015eb2e8f90cd763d /Kbuild
parent3c40c4eaaa344cd8e611c3364f24083b00f38e6e (diff)
build: add more dependencies to build process
This is to recreate the offsets.c file when configuration has changed Change-Id: Idde9e290ac9b008a603c4652164bc9f42596e1cc Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Kbuild')
-rw-r--r--Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kbuild b/Kbuild
index c07d0470e..b20399638 100644
--- a/Kbuild
+++ b/Kbuild
@@ -94,7 +94,7 @@ OFFSETS_INCLUDE = $(strip \
cmd_cc_o_c_1 = $(CC) $(KBUILD_CFLAGS) $(OFFSETS_INCLUDE) -c -o $@ $<
-arch/$(ARCH)/core/offsets/offsets.o: arch/$(ARCH)/core/offsets/offsets.c
+arch/$(ARCH)/core/offsets/offsets.o: arch/$(ARCH)/core/offsets/offsets.c $(KCONFIG_CONFIG)
$(Q)mkdir -p $(dir $@)
$(call if_changed,cc_o_c_1)