Commit e678b07b authored by Max Filippov's avatar Max Filippov Committed by Thomas Petazzoni
Browse files

Revert "kmod: disable --gc-sections ld option when building for xtensa"



This reverts commit 55c83179.
Now that binutils bug with --gc-section is fixed this workaroud is no
longer needed.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 384c9193
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -39,11 +39,6 @@ KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
KMOD_CONF_OPTS += --enable-python
endif

# --gc-sections triggers a bug in the current Xtensa binutils
ifeq ($(BR2_xtensa),y)
KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=no
endif

ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y)

# add license info for kmod tools