From 96a20b0c0fc8c0376e02f261361e22d6c6c839f9 Mon Sep 17 00:00:00 2001 From: Frans Kaashoek Date: Mon, 10 Aug 2020 13:55:26 -0400 Subject: [PATCH] Generate initcode without compressed extensions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 96f1c14..a85add2 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ $K/kernel: $(OBJS) $K/kernel.ld $U/initcode $(OBJDUMP) -t $K/kernel | sed '1,/SYMBOL TABLE/d; s/ .* / /; /^$$/d' > $K/kernel.sym $U/initcode: $U/initcode.S - $(CC) $(CFLAGS) -nostdinc -I. -Ikernel -c $U/initcode.S -o $U/initcode.o + $(CC) $(CFLAGS) -march=rv64g -nostdinc -I. -Ikernel -c $U/initcode.S -o $U/initcode.o $(LD) $(LDFLAGS) -N -e start -Ttext 0 -o $U/initcode.out $U/initcode.o $(OBJCOPY) -S -O binary $U/initcode.out $U/initcode $(OBJDUMP) -S $U/initcode.o > $U/initcode.asm