Skip to content

Commit

Permalink
Make sure to create the root build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Guillemard committed May 25, 2019
1 parent 7578121 commit dc87a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ clean: clean_compiler-rt
rm -rf $(OBJECTS_NORMAL) $(OBJECTS_6XX) $(BUILD_DIR)/$(NAME).elf $(BUILD_DIR_6XX)/$(NAME).elf $(NAME).nso $(NAME)-6xx.nso

$(BUILD_DIR):
@mkdir $(BUILD_DIR)
@mkdir -p $(BUILD_DIR)

$(BUILD_DIR)/%.o: %.s
$(AS) $(AS_FLAGS) -filetype=obj -o $@ $<
Expand All @@ -120,7 +120,7 @@ $(NAME).nso: $(BUILD_DIR)/$(NAME).elf

# 6.x+ build definition
$(BUILD_DIR_6XX):
@mkdir $(BUILD_DIR_6XX)
@mkdir -p $(BUILD_DIR_6XX)

$(BUILD_DIR_6XX)/%.o: %.s
$(AS) $(AS_FLAGS) -filetype=obj -o $@ $<
Expand Down

0 comments on commit dc87a83

Please sign in to comment.