Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yhzhang0128 committed Jan 21, 2022
1 parent cf2ee70 commit 4537aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ all: apps/*.c
mkdir -p $(DEBUG_DIR) $(RELEASE_DIR)
@echo "---------------- Compile the Apps Layer ----------------"
for FILE_NAME in $^ ; do \
export APP_NAME=$$(basename $${FILE_NAME} .c); \
echo "Compile" $${FILE_NAME} "=>" $(RELEASE_DIR)/$${APP_NAME}.elf; \
export APP_NAME=$$(basename $${FILE_NAME} .c);\
echo "Compile" $${FILE_NAME} "=>" $(RELEASE_DIR)/$${APP_NAME}.elf;\
$(RISCV_CC) $(CFLAGS) $(LDFLAGS) $(APPS_LAYOUT) $(APPS_SRCS) $${FILE_NAME} $(DEFAULT_LDLIBS) $(INCLUDE) -o $(RELEASE_DIR)/$${APP_NAME}.elf;\
$(OBJDUMP) --source --all-headers --demangle --line-numbers --wide $(RELEASE_DIR)/$${APP_NAME}.elf > $(DEBUG_DIR)/$${APP_NAME}.lst;\
done
Expand Down

0 comments on commit 4537aeb

Please sign in to comment.