From 5c29240086a0f5879b7fa3d8171c26e195a1349a Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Wed, 21 Oct 2015 23:04:44 -0400 Subject: [PATCH] .SECONDARY make targets for kernel dependencies This allows us to ship a binary kernel image that won't get clobbered. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 38f6692..4a2d7ff 100644 --- a/Makefile +++ b/Makefile @@ -112,6 +112,7 @@ initcode: initcode.S $(OBJCOPY) -S -O binary initcode.out initcode $(OBJDUMP) -S initcode.o > initcode.asm +.SECONDARY: $(OBJS) entry.o entryother initcode kernel: $(OBJS) entry.o entryother initcode kernel.ld $(LD) $(LDFLAGS) -T kernel.ld -o kernel entry.o $(OBJS) -b binary initcode entryother $(OBJDUMP) -S kernel > kernel.asm @@ -132,6 +133,7 @@ kernelmemfs: $(MEMFSOBJS) entry.o entryother initcode kernel.ld fs.img tags: $(OBJS) entryother.S _init etags *.S *.c +.SECONDARY: vectors.S vectors.S: vectors.pl perl vectors.pl > vectors.S -- 2.50.1