浏览代码

pkg/debian: Disable options that prevent building kernel modules with older GCCs

Disable some options that prevent building external kernel modules with
older GCC versions.
Maximilian Luz 2 年之前
父节点
当前提交
6e3ac8ba31
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      pkg/debian/kernel/ubuntu.config

+ 9 - 0
pkg/debian/kernel/ubuntu.config

@@ -78,3 +78,12 @@ CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
 CONFIG_I2C_DESIGNWARE_PCI=y
 CONFIG_INTEL_SOC_PMIC=y
 CONFIG_PWM_CRC=y
+
+##
+## Disable some mitigations that aren't available on older gcc versions. This
+## is necessary to allow older gcc versions to be used for building kernel
+## modules.
+##
+
+# CONFIG_SLS is not set
+# CONFIG_ZERO_CALL_USED_REGS is not set