diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | mk/pkg-macros/vars.mk | 2 |
2 files changed, 1 insertions, 4 deletions
@@ -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) |