diff options
author | Mike Baker <mbm@openwrt.org> | 2007-03-16 06:12:53 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-03-16 06:12:53 +0000 |
commit | 953cfec788596442be820b6ab5a0b0c8439b7a8d (patch) | |
tree | 981b9913128251e2646edf8da5b2b0228fb79dce /include/package.mk | |
parent | 97276e7bf0218aed134c13c5db8f410a1ceebdea (diff) | |
download | upstream-953cfec788596442be820b6ab5a0b0c8439b7a8d.tar.gz upstream-953cfec788596442be820b6ab5a0b0c8439b7a8d.tar.bz2 upstream-953cfec788596442be820b6ab5a0b0c8439b7a8d.zip |
formatting and trivial cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6573 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/package.mk b/include/package.mk index 34ba9a2ed5..e9d73e4a06 100644 --- a/include/package.mk +++ b/include/package.mk @@ -21,8 +21,8 @@ define Build/DefaultTargets download: $(DL_DIR)/$(PKG_SOURCE) $(DL_DIR)/$(PKG_SOURCE): - mkdir -p $(DL_DIR) - $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_SOURCE)" "$(PKG_MD5SUM)" $(PKG_SOURCE_URL) + mkdir -p $(DL_DIR) + $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(PKG_SOURCE)" "$(PKG_MD5SUM)" $(PKG_SOURCE_URL) $(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE) endif @@ -55,12 +55,11 @@ define Build/DefaultTargets $(PKG_BUILD_DIR)/.built: package-rebuild endif + compile: $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed: $(PKG_BUILD_DIR)/.built mkdir -p $(STAGING_DIR)/stampfiles $(Build/InstallDev) touch $$@ - - compile: $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed endif package-rebuild: FORCE @@ -74,7 +73,7 @@ define BuildPackage $(eval $(Package/Default)) $(eval $(Package/$(1))) -# <HACK> Support obsolete DESCRIPTION field> +# <HACK> Support obsolete DESCRIPTION field ifndef Package/$(1)/description define Package/$(1)/description $(TITLE)$(subst \, |