Skip to content

Commit f12db35

Browse files
committed
Add deploy example
1 parent 887e117 commit f12db35

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hello_linux/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ LDFLAGS:=-Wl,-elf2flt=-r
1010

1111
C_S+=hello_linux.c
1212

13+
test : deploy
14+
make -C .. toolchain
15+
make -C ../mini-rv32ima mini-rv32ima
16+
../mini-rv32ima/mini-rv32ima -f ../buildroot/output/images/Image
17+
1318
hello_linux : hello_linux.c
1419
$(CC) $(CFLAGS) $(C_S) $(LDFLAGS) -o $@
1520
$(OBJDUMP) -S $@.gdb > $@.S

0 commit comments

Comments
 (0)