Skip to content
Snippets Groups Projects
Commit a93129dd authored by Felix Fietkau's avatar Felix Fietkau Committed by Oussama Ghorbel
Browse files

kernel: strip unnecessary symbol table information from kernel modules


reduces default squashfs size on ar71xx by about 4k

lede-commit: 058d331a39077f159ca8922f1f422a1346d6aa67
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 71891626
No related branches found
No related tags found
No related merge requests found
...@@ -403,8 +403,7 @@ KBUILD_AFLAGS_KERNEL := ...@@ -403,8 +403,7 @@ KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL := KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS_MODULE := -DMODULE KBUILD_AFLAGS_MODULE := -DMODULE
KBUILD_CFLAGS_MODULE := -DMODULE KBUILD_CFLAGS_MODULE := -DMODULE
KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds KBUILD_LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds $(if $(CONFIG_PROFILING),,-s)
GCC_PLUGINS_CFLAGS :=
# Read KERNELRELEASE from include/config/kernel.release (if it exists) # Read KERNELRELEASE from include/config/kernel.release (if it exists)
KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment