modify makefile eventually

This commit is contained in:
lr
2024-05-17 09:56:21 +08:00
parent aabb860bb2
commit 18537fc922
4 changed files with 15 additions and 7 deletions
@@ -55,11 +55,9 @@ libipc = $(KERNEL_ROOT)/services/app/libipc.o
lwip: COMPILER lwip_server.o | bin
@${ld} ${user_ldflags} -e main -o $@ ${api} ${core} ${ipv4} ${netif} lwip_service.o lwip_server.o \
${board_specs} ${libserial} ${printf} ${libmem} ${usyscall} ${arch_usyscall} ${arch_usyscall} \
${session} ${libipc}
@${objdump} -S $@ > $@.asm
${board_specs} ${libserial} ${printf} ${libmem} ${usyscall} ${arch_usyscall} ${session} ${libipc}
@mv *.o bin
@mv *.asm bin
@mv $@ $(KERNEL_ROOT)/services/app
bin:
@mkdir -p bin