[SeaBIOS] [PATCH] build: Make sure romlayout.o is recompiled on Kconfig change.

Kevin O'Connor kevin at koconnor.net
Fri May 9 00:25:28 CEST 2014


Signed-off-by: Kevin O'Connor <kevin at koconnor.net>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e567ba1..608d033 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ $(OUT)code32seg.o: $(OUT)autoconf.h $(patsubst %.c, $(OUT)src/%.o,$(SRC32SEG)) ;
 
 $(OUT)ccode32flat.o: $(OUT)autoconf.h $(patsubst %.c, $(OUT)src/%.o,$(SRC32FLAT)) ; $(call whole-compile, $(CFLAGS32FLAT), $(addprefix src/, $(SRC32FLAT)),$@)
 
-$(OUT)romlayout.o: src/romlayout.S $(OUT)asm-offsets.h
+$(OUT)romlayout.o: src/romlayout.S $(OUT)autoconf.h $(OUT)asm-offsets.h
 	@echo "  Compiling (16bit) $@"
 	$(Q)$(CC) $(CFLAGS16) -c -D__ASSEMBLY__ $< -o $@
 
-- 
1.9.0




More information about the SeaBIOS mailing list