diff --git a/apps/mksh/Makefile b/apps/mksh/Makefile index c6180344..15f3c36f 100755 --- a/apps/mksh/Makefile +++ b/apps/mksh/Makefile @@ -51,7 +51,7 @@ ifneq ($(wildcard $(BUILD_DIR)/Rebuild.sh),) $(HIDE)chmod +x $(BUILD_DIR)/Rebuild.sh $(HIDE)cd $(BUILD_DIR) && ./Rebuild.sh > $(BUILD_LOG) 2>&1 else - $(HIDE)mkdir $(BUILD_DIR) + $(HIDE)mkdir -p $(BUILD_DIR) $(HIDE)$(CP) $(LITEOSTHIRDPARTY)/$(MKSH)/. $(BUILD_DIR) $(HIDE)chmod +x $(BUILD_DIR)/Build.sh $(HIDE)cd $(BUILD_DIR) && CC=$(CC) TARGET_OS=$(TARGET_OS) CFLAGS="$(LOCAL_CFLAGS)" LDFLAGS="$(LDFLAGS)" ./Build.sh -r > $(BUILD_LOG) 2>&1