diff options
author | Robert Morris <[email protected]> | 2020-08-13 08:05:13 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2020-08-13 08:05:13 -0400 |
commit | e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7 (patch) | |
tree | 79bc9fa5898946b04e61b3366003b117bf6773c2 /Makefile | |
parent | d32eac366fd06ec58cc3b34a3ca1824864bd7618 (diff) | |
parent | 315c37c0f1e7c05f7b7d0ec145a2002b0612c49c (diff) | |
download | xv6-labs-e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7.tar.gz xv6-labs-e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7.tar.bz2 xv6-labs-e1a2cd59faf0cf7a3b315cefff11d68b68ec54a7.zip |
Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |