From 853c865eef540b1c6ebd3db7e9e22a98d7e475e7 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Wed, 20 Oct 2010 22:44:26 +0200 Subject: 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 --- Kconfig | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'Kconfig') 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" -- cgit v1.2.3