X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=Makefile;h=3d9bcb3870677a2ecc98cf3fc91e4ec64a631637;hb=7ee8037782c0fd1cb9ce82f12d86694dbd88d112;hp=1a218df586cca268a7b1c5ea9d558ed6dbbedccf;hpb=8a702c602da0dd25f4baa5b9058dd521d3deeb63;p=openwrt-10.03%2F.git diff --git a/Makefile b/Makefile index 1a218df58..3d9bcb387 100644 --- a/Makefile +++ b/Makefile @@ -69,12 +69,18 @@ package_install: toolchain # In this section, we need .config include .config.cmd -world: $(DL_DIR) $(BUILD_DIR) target_prepare $(TARGET_DIR) toolchain_install package_install target_install package_index +world: $(DL_DIR) $(BUILD_DIR) configtest target_prepare $(TARGET_DIR) toolchain_install package_install target_install package_index -.PHONY: all world clean dirclean distclean image_clean target_clean source target_prepare target_install toolchain_install package_install +.PHONY: all world clean dirclean distclean image_clean target_clean source target_prepare target_install toolchain_install package_install configtest + +configtest: + -cp .config .config.test + -scripts/configtest.pl package_index: - $(STAGING_DIR)/usr/bin/ipkg-make-index $(PACKAGE_DIR) > $(PACKAGE_DIR)/Packages + (cd $(PACKAGE_DIR); \ + $(STAGING_DIR)/usr/bin/ipkg-make-index . > Packages \ + ) target_prepare: $(MAKE) -C target prepare @@ -107,13 +113,10 @@ clean: target_clean @$(MAKE) -C $(CONFIG) clean dirclean: clean - rm -rf $(STAMP_DIR) - $(MAKE) -C package clean - $(MAKE) -C target clean rm -rf $(BUILD_DIR) distclean: clean - rm -rf $(STAMP_DIR) $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) + rm -rf $(STAMP_DIR) $(DL_DIR) $(BUILD_DIR) $(TOOL_BUILD_DIR) $(STAGING_DIR) rm -f .config* .tmpconfig.h sourceball: distclean