Kbuild: Removes the SECTION_GARBAGE_COLLECTION ksymbol.
This commit removes from the Kconfig system the SECTION_GARBAGE_COLLECTION kconfig symbols and sets the SECTION_GC_FLAG flag permanently on the compilation options. Change-Id: Iec070613d85afa697c62d6cbc54cc146cffcab27 Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
parent
9e4b2bb18e
commit
6e666cf28a
3 changed files with 2 additions and 29 deletions
25
Kconfig
25
Kconfig
|
@ -94,31 +94,6 @@ config COMPILER_OPT
|
|||
A given LKM or USAP can override this setting by means of the
|
||||
OVERRIDE_COMPILER_OPT make variable in its Makefile.
|
||||
|
||||
config SECTION_GARBAGE_COLLECTION
|
||||
bool
|
||||
prompt "ELF section garbage collection"
|
||||
default y
|
||||
help
|
||||
This option enables the compiler to place each function and data
|
||||
item into its own ELF section, which then allows the linker to
|
||||
discard any sections that are not directly referenced. Enabling
|
||||
this option should significantly reduce the final image size,
|
||||
especially in situations when only a relatively few number of
|
||||
APIs in the object modules are actually referenced.
|
||||
|
||||
Certain host tools expect the presence of various symbols in
|
||||
the ELF image, regardless of image configuration or composition.
|
||||
Enabling this option may cause these host tools to end abnormally
|
||||
if the expected symbols have been discarded.
|
||||
|
||||
config BUILD_TIMESTAMP
|
||||
bool
|
||||
prompt "Build timestamp"
|
||||
default n
|
||||
help
|
||||
This option embeds a string into the project image that indicates
|
||||
the date and time the image was created.
|
||||
|
||||
endmenu
|
||||
|
||||
source "drivers/Kconfig"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue