linux-surface/pkg/debian/kernel/ubuntu.config
Maximilian Luz d741807f03
pkg/debian: Revert build container to 20.04
The newer build container (22.04) creates some problems when trying to
install external/DKMS modules on older distributions. So revert it back
to 20.04 and install the required Python version from a third-party PPA.
2023-01-29 14:51:46 +01:00

81 lines
1.5 KiB
Plaintext

##
## Forcefully disable debug symbols
##
CONFIG_DEBUG_INFO_NONE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_INFO_BTF is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_DWARF5 is not set
##
## Do not build samples and tests
##
# CONFIG_SAMPLES is not set
# CONFIG_STM_DUMMY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_DEBUG_MISC is not set
# CONFIG_UBSAN is not set
##
## Don't build atomisp
##
# CONFIG_INTEL_ATOMISP is not set
##
## Clear out trusted key list as we don't have them.
##
CONFIG_SYSTEM_TRUSTED_KEYS=""
CONFIG_SYSTEM_REVOCATION_KEYS=""
##
## Additional options from upstream (not in PPA)
##
CONFIG_ASHMEM=m
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=m
# CONFIG_ANDROID_BINDERFS is not set
CONFIG_ANDROID_BINDER_DEVICES="binder"
# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set
##
## Indirect dependencies for Surface drivers
##
CONFIG_I2C=y
CONFIG_ACPI_I2C_OPREGION=y
##
## Disable atomisp ov5693 (in staging)
##
# CONFIG_VIDEO_ATOMISP_OV5693 is not set
##
## Disable evbug. It's annoying and potentially even a security risk when
## posting kernel logs...
##
# CONFIG_INPUT_EVBUG is not set
##
## Do not enable Intel IOMMU by default, it breaks IPTS/ME.
##
CONFIG_INTEL_IOMMU_DEFAULT_ON=n
##
## Config options required for backlight on Surface 3.
##
CONFIG_I2C_DESIGNWARE_CORE=y
CONFIG_I2C_DESIGNWARE_PLATFORM=y
CONFIG_I2C_DESIGNWARE_BAYTRAIL=y
CONFIG_I2C_DESIGNWARE_PCI=y
CONFIG_INTEL_SOC_PMIC=y
CONFIG_PWM_CRC=y