Browse Source

Dont create TARGET_DIR if it exists

Ulf Samuelsson 18 years ago
parent
commit
ceef40146f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -246,7 +246,7 @@ endif
 	@mkdir -p $(STAGING_DIR)/usr/include
 
 $(PROJECT_BUILD_DIR)/.root:
-	mkdir	$(TARGET_DIR)
+	mkdir	-p $(TARGET_DIR)
 	if ! [ -d "$(TARGET_DIR)/bin" ] ; then \
 		if [ -d "$(TARGET_SKELETON)" ] ; then \
 			cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \