From 2324ca7dd99fe1787ff4eac42f73d491eb2b9f36 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 5 Sep 2004 16:34:36 +0000 Subject: [PATCH] Nicer way to generate kernel.lds.s. --- src/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.inc b/src/Makefile.inc index 885c6bb..df6b010 100644 --- a/src/Makefile.inc +++ b/src/Makefile.inc @@ -63,8 +63,8 @@ all: diskimage.bin intr-stubs.S: $(TOP_SRCDIR)/threads/intr-stubs.pl $(TOP_SRCDIR)/threads/loader.h $< > $@ +kernel.lds.s: CPPFLAGS += -P -C kernel.lds.s: $(TOP_SRCDIR)/threads/kernel.lds.S $(TOP_SRCDIR)/threads/loader.h - $(CPP) -x assembler-with-cpp -P $< -o $@ kernel.o: $(OBJECTS) kernel.lds.s ld -T kernel.lds.s -o $@ $(OBJECTS) `$(CC) -print-libgcc-file-name` -- 2.30.2