summaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-03 13:19:50 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-03 13:19:50 +0000
commit4a0457153b86e50ea5c231af2290971aa1588066 (patch)
tree5c8b267e550640297f8fc473648d3f46a1a8972b /include/package.mk
parent23d5f9b0ac227ad7b0986f8626d6ebf9c5ec0241 (diff)
add default Build/Install template, which is activated by setting PKG_INSTALL=1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12512 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/package.mk b/include/package.mk
index e0f8c719f..9c6503799 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -150,17 +150,10 @@ define pkg_install_bin
$(foreach install_apps,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_apps)`; $(INSTALL_BIN) $(2)/$(install_apps) $(3)/`dirname $(install_apps)`;)
endef
-define Build/Prepare
- $(call Build/Prepare/Default,)
-endef
-
-define Build/Configure
- $(call Build/Configure/Default,)
-endef
-
-define Build/Compile
- $(call Build/Compile/Default,)
-endef
+Build/Prepare=$(call Build/Prepare/Default,)
+Build/Configure=$(call Build/Configure/Default,)
+Build/Compile=$(call Build/Compile/Default,)
+Build/Install=$(if $(PKG_INSTALL),$(call Build/Install/Default,))
$(PACKAGE_DIR):
mkdir -p $@