diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2017-01-02 17:22:07 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2017-01-02 17:22:07 +0100 |
commit | 9981ef4098a5c78316a2a2210eff0878dddf0c7b (patch) | |
tree | 1eefb6ef777e45a7d4324a5df32f97a40e2458e1 /core | |
parent | d8129e149156498b70916fe73e109ff402e1cc79 (diff) | |
download | embtoolkit-9981ef4098a5c78316a2a2210eff0878dddf0c7b.tar.gz embtoolkit-9981ef4098a5c78316a2a2210eff0878dddf0c7b.tar.bz2 embtoolkit-9981ef4098a5c78316a2a2210eff0878dddf0c7b.tar.xz |
Build system: initial option to configure manufacturer in GNU triplet
Proposed-by: Jonathan L <jlynam@gmail.com>
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/kconfig/arch.kconfig | 10 | ||||
-rw-r--r-- | core/mk/targetsys.mk | 3 |
2 files changed, 11 insertions, 2 deletions
diff --git a/core/kconfig/arch.kconfig b/core/kconfig/arch.kconfig index b5d34a9..bcc81ef 100644 --- a/core/kconfig/arch.kconfig +++ b/core/kconfig/arch.kconfig @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2013 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2017 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 @@ -23,6 +23,14 @@ # \date May 2009 ################################################################################ +config EMBTK_MANUFACTURER + string "Manufacturer or Toolchain provider tag" + help + This tag is the manufacturer part of GNU target triplet. + However, now days it is largely used to identify toolchain provider. + + You can set a tag or leave it empty to use the default value (unknown). + choice prompt "Architecture" help diff --git a/core/mk/targetsys.mk b/core/mk/targetsys.mk index ab76ac4..5624871 100644 --- a/core/mk/targetsys.mk +++ b/core/mk/targetsys.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE <awg@embtoolkit.org>. +# Copyright(C) 2009-2017 Abdoulaye Walsimou GAYE <awg@embtoolkit.org>. # # This program is free software; you can distribute it and/or modify it # under the terms of the GNU General Public License @@ -28,6 +28,7 @@ # embtk_os-$(CONFIG_EMBTK_OS_LINUX) := linux embtk_os := $(or $(embtk_os-y),invalid-os) +embtk_manufacturer := $(or $(call embtk_uquote,$(CONFIG_EMBTK_MANUFACTURER)),unknown) embtk_clib-$(CONFIG_EMBTK_CLIB_EGLIBC) := eglibc embtk_clib-$(CONFIG_EMBTK_CLIB_GLIBC) := glibc |