summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-10-20 22:44:26 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-10-20 22:44:26 +0200
commit853c865eef540b1c6ebd3db7e9e22a98d7e475e7 (patch)
tree4c0a7e356d9994f8a086998d525d85bfd4e734d0 /Kconfig
parentf0d8ae73ca1a2df83d8983d3aa1e7fe0798db575 (diff)
downloadembtoolkit-853c865eef540b1c6ebd3db7e9e22a98d7e475e7.tar.gz
embtoolkit-853c865eef540b1c6ebd3db7e9e22a98d7e475e7.tar.bz2
embtoolkit-853c865eef540b1c6ebd3db7e9e22a98d7e475e7.tar.xz
Toolchain: improve target builmd options
This patch improves target build options by putting them in their dedicated .kconfig file and gives ability to choose which optimization to use for libraries and binaries. Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig17
1 files changed, 1 insertions, 16 deletions
diff --git a/Kconfig b/Kconfig
index cdad186..c208e5d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -44,22 +44,7 @@ source "kconfig/toolchain.kconfig"
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"
-config EMBTK_TARGET_STRIPPED
- bool "Strip target's binaries"
- help
- Say yes if you want to strip binaries (including libraries) generated
- for your target embedded system. This will reduce the size of these
- binaries.
- Note: These binaries are only stripped if you choose to build a root
- filesystem.
-
+source kconfig/targetbuildopts.kconfig
endmenu
menu "Debugging system"