X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=openwrt%2FMakefile;h=cd9423314937b2e7ca45a585419b085397c95dc0;hb=026c7d949d4f654a57d3798367b49ebbaf7af6ca;hp=ef60ff198812031cf5b80f4d7895aa61bddabfc1;hpb=ef7693a2c4c34bd49d958c390fca3b433d0ea55b;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/openwrt/Makefile b/openwrt/Makefile index ef60ff1988..cd94233149 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -24,7 +24,11 @@ #-------------------------------------------------------------- TOPDIR=${shell pwd} export TOPDIR +ifneq ($(DEVELOPER),) +CONFIG_CONFIG_IN = Config.in.devel +else CONFIG_CONFIG_IN = Config.in +endif CONFIG_DEFCONFIG = .defconfig CONFIG = package/config @@ -41,6 +45,8 @@ include $(TOPDIR)/rules.mk all: world +.NOTPARALLEL: + ############################################################## # # Build the toolchain @@ -55,8 +61,11 @@ toolchain_install: # ############################################################## -package_install: toolchain - $(MAKE) -C package compile install +package_compile: target_compile + $(MAKE) -C package compile + +package_install: package_compile toolchain + $(MAKE) -C package install ############################################################# # @@ -85,6 +94,9 @@ package_index: target_prepare: $(MAKE) -C target prepare +target_compile: + $(MAKE) -C target compile + target_install: $(MAKE) -C target install @@ -116,7 +128,7 @@ dirclean: 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