X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=Makefile;h=b240492b897fa2bb2cd76871633c5a28ca031443;hb=b29ef886116d541c519807a1b277882a32147f08;hp=81ecc43f8aa248fca2551734ec8ffc1e1d41f1db;hpb=55be77c438ef73e287d3432bd5c175b206c3ba6e;p=openwrt-10.03%2F.git diff --git a/Makefile b/Makefile index 81ecc43f8..b240492b8 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ $(STAGING_DIR): $(TARGET_DIR): @mkdir -p $(TARGET_DIR) cp -a target/default/target_skeleton/* $(TARGET_DIR)/ - mkdir $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin} + mkdir -p $(TARGET_DIR)/{proc,dev,jffs,tmp,usr/sbin} chmod 1777 $(TARGET_DIR)/tmp -find $(TARGET_DIR) -type d -name CVS -exec rm -rf {} \; > /dev/null 2>&1 @@ -120,6 +120,7 @@ source: $(TARGETS_SOURCE) ############################################################# clean: rm -rf $(BUILD_DIR) $(IMAGE).* + -rm -f openwrt-* @$(MAKE) -C $(CONFIG) clean distclean: clean @@ -180,7 +181,7 @@ defconfig: $(CONFIG)/conf # Cleanup and misc junk # ############################################################# -clean: +clean: @$(MAKE) -C $(CONFIG) clean distclean: clean