Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
yhzhang0128 committed Jan 19, 2022
1 parent c88238e commit a5dcc4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
all:
mkdir -p $(DEBUG_DIR) $(RELEASE_DIR)
@echo "---------------- Compile the Earth Layer ----------------"
$(RISCV_CC) $(CFLAGS) $(LDFLAGS) $(ARTY_FLAGS) $(EARTH_LAYOUT) $(EARTH_SRCS) $(EARTH_LDLIBS) $(INCLUDE) -o $(RELEASE_DIR)/earth.elf
$(OBJDUMP) --source --all-headers --demangle --line-numbers --wide $(RELEASE_DIR)/earth.elf > $(DEBUG_DIR)/earth.lst
@echo "---------------- Compile the Grass Layer ----------------"
$(RISCV_CC) $(CFLAGS) $(LDFLAGS) $(GRASS_LAYOUT) $(GRASS_SRCS) $(DEFAULT_LDLIBS) $(INCLUDE) -o $(RELEASE_DIR)/grass.elf
$(OBJDUMP) --source --all-headers --demangle --line-numbers --wide $(RELEASE_DIR)/grass.elf > $(DEBUG_DIR)/grass.lst
@echo "---------------- Compile the Earth Layer ----------------"
$(RISCV_CC) $(CFLAGS) $(LDFLAGS) $(ARTY_FLAGS) $(EARTH_LAYOUT) $(EARTH_SRCS) $(EARTH_LDLIBS) $(INCLUDE) -o $(RELEASE_DIR)/earth.elf
$(OBJDUMP) --source --all-headers --demangle --line-numbers --wide $(RELEASE_DIR)/earth.elf > $(DEBUG_DIR)/earth.lst
@echo "---------------- Create the Install Image ----------------"
$(CC) install/mkfs.c -o $(BUILD_DIR)/mkfs
cd install; ./mkfs
Expand Down
2 changes: 2 additions & 0 deletions grass/grass.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ int global_var2;
int global_var3 = 1;

int main() {
INFO("Enter the grass layer");

global_var1++;
global_var2++;
global_var3++;
Expand Down

0 comments on commit a5dcc4e

Please sign in to comment.