summaryrefslogtreecommitdiff
path: root/mk/packages.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-09-02 14:48:59 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2011-09-02 14:48:59 +0200
commit5bea5d800a0c4d92c91de16c71b371a7e519c6d2 (patch)
tree50bb2f8e40b0707838600955d1de93b45fad0cfc /mk/packages.mk
parentb98d932eafac9781487f50975711472cd452197e (diff)
downloadembtoolkit-5bea5d800a0c4d92c91de16c71b371a7e519c6d2.tar.gz
embtoolkit-5bea5d800a0c4d92c91de16c71b371a7e519c6d2.tar.bz2
embtoolkit-5bea5d800a0c4d92c91de16c71b371a7e519c6d2.tar.xz
Build system: simplify implicit rules
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/packages.mk')
-rw-r--r--mk/packages.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/packages.mk b/mk/packages.mk
index 1c50323..3bdc9f4 100644
--- a/mk/packages.mk
+++ b/mk/packages.mk
@@ -96,15 +96,15 @@ endif
# This install implicit rule is intended for autotool'ed packages
%_install:
- $(call embtk_install_$(findstring host,$@)pkg,$(patsubst %_install,%,$@))
+ $(call embtk_install_$(findstring host,$@)pkg,$*)
# Download generic implicit rule
download_%:
- $(call embtk_download_pkg,$(patsubst download_%,%,$@))
+ $(call embtk_download_pkg,$*)
# clean generic implicit rule
%_clean:
- $(call embtk_cleanup_pkg,$(patsubst %_clean,%,$@))
+ $(call embtk_cleanup_pkg,$*)
# Download target for offline build
packages_fetch:: $(patsubst %_install,download_%,$(ROOTFS_COMPONENTS-y) $(HOSTTOOLS_COMPONENTS-y))