|
@@ -597,6 +597,10 @@ LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
|
|
LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
|
|
LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
|
|
LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
|
|
LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
|
|
|
|
|
|
|
|
+ifeq ($(CONFIG_STRIP_ASM_SYMS),y)
|
|
|
|
+LDFLAGS_vmlinux += -X
|
|
|
|
+endif
|
|
|
|
+
|
|
# Default kernel image to build when no specific target is given.
|
|
# Default kernel image to build when no specific target is given.
|
|
# KBUILD_IMAGE may be overruled on the command line or
|
|
# KBUILD_IMAGE may be overruled on the command line or
|
|
# set in the environment
|
|
# set in the environment
|