summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--mk/pkg-macros/vars.mk2
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cb828f4..c2b2d58 100644
--- a/Makefile
+++ b/Makefile
@@ -130,6 +130,3 @@ include toolchain/toolchain.mk
include mk/packages.mk
include mk/rootfs/rootfs.mk
include mk/help.mk
-
-testinstall:
- @echo "$(call __embtk_pkg_runrecipe-y,ccache_host)"
diff --git a/mk/pkg-macros/vars.mk b/mk/pkg-macros/vars.mk
index 0abe122..9f14ae3 100644
--- a/mk/pkg-macros/vars.mk
+++ b/mk/pkg-macros/vars.mk
@@ -41,7 +41,7 @@ embtk_host_uname := $(shell uname -s -r -p)
#
PKGV = $(call embtk_ucase,$(1))
pkgv = $(call embtk_lcase,$(1))
-__embtk_pkg_name = $(or $(strip $($(PKGV)_NAME)),$(pkgv))
+__embtk_pkg_name = $(or $(strip $($(PKGV)_NAME)),$(patsubst %_host,%,$(pkgv)))
__embtk_pkg_needpatch = $(CONFIG_EMBTK_$(PKGV)_NEED_PATCH)
__embtk_pkg_site = $(strip $($(PKGV)_SITE))
__embtk_patch_site = $(embtk_ftp)