From b37aa2b2513e6a3661186f363c6c3801a94d9db8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 19 Sep 2013 23:12:50 -0700 Subject: [PATCH] x86: Add some missing dependencies on config.h to x86's Makefile.inc. These dependencies came indirectly through kconfig.h which was included automatically with a -include option which was either part of INCLUDES or specified directly. A similar change was checked in for ARM upstream. BUG=None TEST=Built for falco. BRANCH=None Change-Id: I640b8115f6526c546fe5d251ef2c04e0e78e6ac9 Signed-off-by: Gabe Black Reviewed-on: https://chromium-review.googlesource.com/170122 Reviewed-by: Aaron Durbin Tested-by: Gabe Black Commit-Queue: Gabe Black --- src/arch/x86/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 3790698dc8..39af26ac3e 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -343,7 +343,7 @@ $(objgenerated)/bootblock.s: $(objgenerated)/bootblock_inc.S $(obj)/config.h $(o @printf " CC $(subst $(obj)/,,$(@))\n" $(CC) -MMD -x assembler-with-cpp -E -I$(src)/include -I$(src)/arch/x86/include -I$(obj) -include $(obj)/build.h -include $(obj)/config.h -I. -I$(src) $< -o $@ -$(objgenerated)/bootblock.inc: $(src)/arch/x86/init/$(subst ",,$(CONFIG_BOOTBLOCK_SOURCE)) $(objutil)/romcc/romcc $(OPTION_TABLE_H) +$(objgenerated)/bootblock.inc: $(src)/arch/x86/init/$(subst ",,$(CONFIG_BOOTBLOCK_SOURCE)) $(objutil)/romcc/romcc $(OPTION_TABLE_H) $(obj)/config.h @printf " ROMCC $(subst $(obj)/,,$(@))\n" $(CC) $(INCLUDES) -MM -MT$(objgenerated)/bootblock.inc \ $< > $(objgenerated)/bootblock.inc.d