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 | 8dc90ccc11bc45c7144d94c418fd8d42c341350b (patch) | |
tree | f24c38dfe852538b334aa899e33fd35d124ef847 /include/package.mk | |
parent | 2c62bddcfe20dc4691d13995bfe8c6e3d869d62f (diff) | |
download | mtk-20170518-8dc90ccc11bc45c7144d94c418fd8d42c341350b.zip mtk-20170518-8dc90ccc11bc45c7144d94c418fd8d42c341350b.tar.gz mtk-20170518-8dc90ccc11bc45c7144d94c418fd8d42c341350b.tar.bz2 |
formatting and trivial cleanup
SVN-Revision: 6573
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 34ba9a2..e9d73e4 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 \, |