mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
Revert "kmod: disable --gc-sections ld option when building for xtensa"
This reverts commit 55c83179c4.
Now that binutils bug with --gc-section is fixed this workaroud is no
longer needed.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
384c919321
commit
e678b07bad
@@ -39,11 +39,6 @@ KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3)
|
|||||||
KMOD_CONF_OPTS += --enable-python
|
KMOD_CONF_OPTS += --enable-python
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y)
|
||||||
|
|
||||||
# add license info for kmod tools
|
# add license info for kmod tools
|
||||||
|
|||||||
Reference in New Issue
Block a user