diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2015-01-01 17:34:04 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2015-01-01 19:42:55 +0100 |
commit | 68a7c6bccf6b807d103fc2e1ca50cb42d2f875d2 (patch) | |
tree | 8ca2e9326c5da6270496a1d43a3afd0352a21417 /core/toolchain/linux/headers.mk | |
parent | e5ec96a546bafab4ec8b78bebb16616156e99c3f (diff) | |
download | embtoolkit-68a7c6bccf6b807d103fc2e1ca50cb42d2f875d2.tar.gz embtoolkit-68a7c6bccf6b807d103fc2e1ca50cb42d2f875d2.tar.bz2 embtoolkit-68a7c6bccf6b807d103fc2e1ca50cb42d2f875d2.tar.xz |
Toolchain: linux headers: give ability use a git repository or and custom tarball source tree
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/toolchain/linux/headers.mk')
-rw-r--r-- | core/toolchain/linux/headers.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/core/toolchain/linux/headers.mk b/core/toolchain/linux/headers.mk index 866d039..0a4518b 100644 --- a/core/toolchain/linux/headers.mk +++ b/core/toolchain/linux/headers.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2015 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,8 +27,9 @@ LINUX_HEADERS_NAME := linux LINUX_HEADERS_VERSION := $(LINUX_VERSION) LINUX_HEADERS_SITE := $(LINUX_SITE) LINUX_HEADERS_PACKAGE := $(LINUX_PACKAGE) -LINUX_HEADERS_SRC_DIR := $(LINUX_SRC_DIR) -LINUX_HEADERS_BUILD_DIR := $(LINUX_BUILD_DIR) +LINUX_HEADERS_SRC_DIR := $(call embtk_pkg_srcdir,linux) +LINUX_HEADERS_BUILD_DIR := $(call embtk_pkg_srcdir,linux) + LINUX_HEADERS_KEEP_SRC_DIR := $(LINUX_KEEP_SRC_DIR) LINUX_HEADERS_KCONFIGS_NAME := LINUX @@ -48,5 +49,5 @@ define embtk_install_linux_headers endef define embtk_cleanup_linux_headers - [ -d $(LINUX_BUILD_DIR) ] && $(call __embtk_unsetinstalled_pkg,linux_headers) ||: + [ -d $(LINUX_HEADERS_BUILD_DIR) ] && $(call __embtk_unsetinstalled_pkg,linux_headers) ||: endef |