diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-11-24 23:10:38 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-11-24 23:10:38 +0100 |
commit | 4f45c8a4ca69eeb277a277a9d97d38e9308d9299 (patch) | |
tree | 5f6f66a528ed9a6947839ec3001592bad6cd3255 /core/toolchain | |
parent | 06de621bc814c4ba3ca143d9bacc87b9c51c139d (diff) | |
download | embtoolkit-4f45c8a4ca69eeb277a277a9d97d38e9308d9299.tar.gz embtoolkit-4f45c8a4ca69eeb277a277a9d97d38e9308d9299.tar.bz2 embtoolkit-4f45c8a4ca69eeb277a277a9d97d38e9308d9299.tar.xz |
Linux kernel image build: make sure to use abspath for .config file and source tree
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/toolchain')
-rw-r--r-- | core/toolchain/linux/linux.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/toolchain/linux/linux.mk b/core/toolchain/linux/linux.mk index b0df2af..b8dec08 100644 --- a/core/toolchain/linux/linux.mk +++ b/core/toolchain/linux/linux.mk @@ -31,9 +31,10 @@ ifeq ($(embtk_buildhost_os),macos) LINUX_DEPS := libelf_host_install endif -pembtk_linux_dotconfig_f := $(call embtk_uquote,$(CONFIG_EMBTK_LINUX_DOTCONFIG)) +pembtk_linux_dotconfig_f := $(call embtk_abspath,$(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))) +pembtk_linux_extsrcdir := $(call embtk_abspath,$(CONFIG_EMBTK_LINUX_BUILD_EXTSRC)) +pembtk_linux_srcdir := $(or $(pembtk_linux_extsrcdir),$(LINUX_SRC_DIR)) pembtk_linux_modules-y := $(shell grep MODULES=y "$(pembtk_linux_dotconfig_f)" 2>/dev/null) pembtk_linux_extracmd := $(call embtk_uquote,$(CONFIG_EMBTK_LINUX_BUILD_EXTRACMD)) pembtk_linux_extracmd := $(filer-out modules_install,$(pembtk_linux_extracmd)) |