summaryrefslogtreecommitdiff
path: root/mk/packages.mk
diff options
context:
space:
mode:
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))