X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/844425e1b010774989e7742cc89cfcb5d4328be3..8e3fbac04c54a8b535c1b98755e5777c4f3bb645:/openwrt/Makefile diff --git a/openwrt/Makefile b/openwrt/Makefile index 008117dd7..b240492b8 100644 --- a/openwrt/Makefile +++ b/openwrt/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 @@ -119,7 +119,7 @@ source: $(TARGETS_SOURCE) # ############################################################# clean: - rm -rf $(BUILD_DIR) + rm -rf $(BUILD_DIR) $(IMAGE).* -rm -f openwrt-* @$(MAKE) -C $(CONFIG) clean