diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-10-31 23:05:32 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-10-31 23:05:32 +0100 |
commit | 934c86cca457c939b69e2724ee97073f8c7486f6 (patch) | |
tree | 5bf6712a84d424275c5c41985b2f2c57ff9e1539 /core/toolchain | |
parent | 3e5dce9f66c5b7df5cd51a43d08ae6b2c4266c85 (diff) | |
download | embtoolkit-934c86cca457c939b69e2724ee97073f8c7486f6.tar.gz embtoolkit-934c86cca457c939b69e2724ee97073f8c7486f6.tar.bz2 embtoolkit-934c86cca457c939b69e2724ee97073f8c7486f6.tar.xz |
Build system: linux kernel build: libelf_host is needed when building linux kernel on mac os x
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/toolchain')
-rw-r--r-- | core/toolchain/linux/linux.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/toolchain/linux/linux.mk b/core/toolchain/linux/linux.mk index cfb2baf..49d8750 100644 --- a/core/toolchain/linux/linux.mk +++ b/core/toolchain/linux/linux.mk @@ -27,6 +27,10 @@ # linux install macros # +ifeq ($(embtk_buildhost_os),macos) +LINUX_DEPS := libelf_host_install +endif + pembtk_linux_dotconfig_f := $(call embtk_uquote,$(CONFIG_EMBTK_LINUX_DOTCONFIG)) pembtk_linux_extsrc-y := $(CONFIG_EMBTK_LINUX_BUILD_USE_EXTSRC) pembtk_linux_srcdir := $(call embtk_uquote,$(or $(CONFIG_EMBTK_LINUX_BUILD_EXTSRC),$(LINUX_SRC_DIR))) @@ -107,6 +111,8 @@ LINUX_MODULES_BUILD_DIR := $(LINUX_BUILD_DIR) LINUX_MODULES_KCONFIGS_NAME := LINUX LINUX_MODULES_KEEP_SRC_DIR := $(LINUX_KEEP_SRC_DIR) +LINUX_MODULES_DEPS := $(LINUX_DEPS) + define embtk_install_linux_modules $(if $(pembtk_linux_modules-y),$(pembtk_install_linux_modules)) endef |