diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-07-23 18:54:49 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-07-23 18:54:49 +0200 |
commit | cafe27ded7fe39fd56b3c88198d2fba7007fca5d (patch) | |
tree | db5309695ce4041ad52499a175745d27f4a47e0e /mk | |
parent | 7fa3cdf7ce1132d69e209f289b390fe4f0afad53 (diff) | |
download | embtoolkit-cafe27ded7fe39fd56b3c88198d2fba7007fca5d.tar.gz embtoolkit-cafe27ded7fe39fd56b3c88198d2fba7007fca5d.tar.bz2 embtoolkit-cafe27ded7fe39fd56b3c88198d2fba7007fca5d.tar.xz |
Toolchain: Allow users to specify where to download linux sources
Diffstat (limited to 'mk')
-rw-r--r-- | mk/kernel-headers.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mk/kernel-headers.mk b/mk/kernel-headers.mk index 6616028..d632050 100644 --- a/mk/kernel-headers.mk +++ b/mk/kernel-headers.mk @@ -1,4 +1,4 @@ -######################################################################################### +################################################################################ # GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. # @@ -14,16 +14,20 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. -######################################################################################### +################################################################################ # # \file kernel-headers.mk # \brief kernel-headers.mk of Embtoolkit # \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # \date May 2009 -######################################################################################### +################################################################################ LINUX_VERSION := $(subst ",,$(strip $(CONFIG_EMBTK_LINUX_VERSION_STRING))) +ifeq ($(CONFIG_EMBTK_LINUX_HAVE_MIRROR),y) +LINUX_SITE := $(subst ",,$(strip $(CONFIG_EMBTK_LINUX_HAVE_MIRROR_SITE))) +else LINUX_SITE := ftp://ftp.kernel.org/pub/linux/kernel/v2.6 +endif LINUX_PACKAGE := linux-$(LINUX_VERSION).tar.bz2 LINUX_BUILD_DIR := $(TOOLS_BUILD)/linux-$(LINUX_VERSION) |