diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-09-03 13:19:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-09-03 13:19:50 +0000 |
commit | 3b937f85e807ef0d5936f87e9f18c8aef61a4176 (patch) | |
tree | 6ca514e4ef5265a2ea4a89f5025587c240d6f66e /include/package.mk | |
parent | e08253b1c225acb88456c3596c8467f3948b3875 (diff) | |
download | mtk-20170518-3b937f85e807ef0d5936f87e9f18c8aef61a4176.zip mtk-20170518-3b937f85e807ef0d5936f87e9f18c8aef61a4176.tar.gz mtk-20170518-3b937f85e807ef0d5936f87e9f18c8aef61a4176.tar.bz2 |
add default Build/Install template, which is activated by setting PKG_INSTALL=1
SVN-Revision: 12512
Diffstat (limited to 'include/package.mk')
-rw-r--r-- | include/package.mk | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/include/package.mk b/include/package.mk index e0f8c71..9c65037 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 $@ |