diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-07-14 22:45:54 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-07-14 22:47:06 +0200 |
commit | d66530443f92427f3c119d40bf93d1d09b08a04c (patch) | |
tree | 5b1e1af786894a25be185eb24aaffcc76fe38cbf | |
parent | 96401545d66910d84b3ea771934e370756d07fd9 (diff) | |
download | embtoolkit-d66530443f92427f3c119d40bf93d1d09b08a04c.tar.gz embtoolkit-d66530443f92427f3c119d40bf93d1d09b08a04c.tar.bz2 embtoolkit-d66530443f92427f3c119d40bf93d1d09b08a04c.tar.xz |
Embtk: give the ability to pass compiler flags for target components
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r-- | Kconfig | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,7 +1,8 @@ -######################################################################################### +################################################################################ # GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved. -# For Copyrright from linux kernel's build/configure system, see their source code +# For Copyrright from linux kernel's build/configure system, see their source +code. # # This program is free software; you can distribute it and/or modify it # under the terms of the GNU General Public License @@ -15,13 +16,13 @@ # 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 Kconfig # \brief Kconfig of Embtoolkit # \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com> # \date May 2009 -######################################################################################### +################################################################################ mainmenu "Embedded toolkit configuration" config EMBTK_DOTCONFIG @@ -64,6 +65,16 @@ endmenu endmenu +menu "Target build options" +config EMBTK_TARGET_COMPILER_CFLAGS + string "Additional compiler flags for your target" + help + Here you can change default flags passed to gcc when components of your + embedded system target are built: C library, packages, ... + By default we optimize for size. + default "-Os" +endmenu + menu "Debugging system" source "kconfig/gdb.kconfig" endmenu @@ -79,3 +90,4 @@ if EMBTK_HAVE_ROOTFS source "kconfig/packages.kconfig" endif endmenu + |