|
@@ -26,6 +26,10 @@ $(error Set TILERA_ROOT or CROSS_COMPILE when building $(ARCH) on $(HOST_ARCH))
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# The tile compiler may emit .eh_frame information for backtracing.
|
|
|
|
+# In kernel modules, this causes load failures due to unsupported relocations.
|
|
|
|
+KBUILD_CFLAGS += -fno-asynchronous-unwind-tables
|
|
|
|
+
|
|
ifneq ($(CONFIG_DEBUG_EXTRA_FLAGS),"")
|
|
ifneq ($(CONFIG_DEBUG_EXTRA_FLAGS),"")
|
|
KBUILD_CFLAGS += $(CONFIG_DEBUG_EXTRA_FLAGS)
|
|
KBUILD_CFLAGS += $(CONFIG_DEBUG_EXTRA_FLAGS)
|
|
endif
|
|
endif
|