linux-postmarketos-qcom-sm8550: slim the config to fit the build
The generic arm64 defconfig builds modules for every SoC family; the build tree blew past the disk (SIGBUS in modfinal). Disable DEBUG_INFO and every non-Qualcomm ARCH_* family in rtwo.config. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
This commit is contained in:
@@ -109,5 +109,5 @@ package() {
|
|||||||
sha512sums="
|
sha512sums="
|
||||||
19f6d0ee8481e34b0b8c27f07f3023182cda9e2a3d67e40989b1f300b7e82d7ea606fb112599dd9399e0d5f973d43b289d8932a4b578b6ffe4168af05e19f795 linux-postmarketos-qcom-sm8550-22591bbc21da5cc0c6e37503b77bd2d852fe241c.tar.gz
|
19f6d0ee8481e34b0b8c27f07f3023182cda9e2a3d67e40989b1f300b7e82d7ea606fb112599dd9399e0d5f973d43b289d8932a4b578b6ffe4168af05e19f795 linux-postmarketos-qcom-sm8550-22591bbc21da5cc0c6e37503b77bd2d852fe241c.tar.gz
|
||||||
02d8dc574f20027a4aace5238fa879bb2d305551f8583f2b5b37d5388ab9ba6c7337f6f2bb4e23ddb3d852a3195fb4cddfc9791e7c6a33e60bee552b028d101c sm8550-motorola-rtwo.dts
|
02d8dc574f20027a4aace5238fa879bb2d305551f8583f2b5b37d5388ab9ba6c7337f6f2bb4e23ddb3d852a3195fb4cddfc9791e7c6a33e60bee552b028d101c sm8550-motorola-rtwo.dts
|
||||||
91cebe340d9e1a3f308725ced37d2f6c4695869100e198d693317f476b1123128b1b24a0604f4aa132d6269de68a87017485149df7d2924cf3a09241b999ffcf rtwo.config
|
eae6e9b61bfedc72d4b6c0fdcb1260a18b439d3407d35dc44ec43b526601ad21fc4cb8d6077b3b5723348e1bb002b968afdb770581ad2578abd554f0fc4d6070 rtwo.config
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
# Extra kernel config for the Motorola rtwo bring-up.
|
# Extra kernel config for the Motorola rtwo bring-up.
|
||||||
# Merged on top of defconfig + pmos.config + devices.config.
|
# Merged on top of defconfig + pmos.config + devices.config.
|
||||||
# Purpose: get diagnostic output on a device with no working display/UART yet.
|
|
||||||
|
|
||||||
# --- pstore / ramoops -------------------------------------------------------
|
# --- pstore / ramoops -------------------------------------------------------
|
||||||
# Capture the kernel console into the reserved ramoops region (0xae000000,
|
# Capture the kernel console into the reserved ramoops region (0xae000000,
|
||||||
@@ -14,8 +13,8 @@ CONFIG_PSTORE_PMSG=y
|
|||||||
CONFIG_PSTORE_COMPRESS=y
|
CONFIG_PSTORE_COMPRESS=y
|
||||||
|
|
||||||
# --- watchdog -------------------------------------------------------------
|
# --- watchdog -------------------------------------------------------------
|
||||||
# The bootloader may hand off with the APSS watchdog armed; build the driver
|
# The bootloader hands off with the APSS watchdog armed; build the driver in
|
||||||
# in so the kernel starts petting it early instead of getting reset.
|
# so the kernel starts petting it early instead of getting reset.
|
||||||
CONFIG_QCOM_WDT=y
|
CONFIG_QCOM_WDT=y
|
||||||
|
|
||||||
# --- framebuffer console -------------------------------------------------
|
# --- framebuffer console -------------------------------------------------
|
||||||
@@ -29,3 +28,52 @@ CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
|||||||
# --- misc bring-up aids -------------------------------------------------
|
# --- misc bring-up aids -------------------------------------------------
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
CONFIG_LOG_BUF_SHIFT=18
|
CONFIG_LOG_BUF_SHIFT=18
|
||||||
|
|
||||||
|
# --- build size: this is a device kernel, not the generic arm64 one -----
|
||||||
|
# The upstream defconfig builds modules for every arm64 SoC family. Drop the
|
||||||
|
# ones rtwo will never use - cuts the build tree and .apk by well over half.
|
||||||
|
# CONFIG_DEBUG_INFO_REDUCED is not set
|
||||||
|
CONFIG_DEBUG_INFO_NONE=y
|
||||||
|
# CONFIG_ARCH_ACTIONS is not set
|
||||||
|
# CONFIG_ARCH_AIROHA is not set
|
||||||
|
# CONFIG_ARCH_SUNXI is not set
|
||||||
|
# CONFIG_ARCH_ALPINE is not set
|
||||||
|
# CONFIG_ARCH_APPLE is not set
|
||||||
|
# CONFIG_ARCH_BCM is not set
|
||||||
|
# CONFIG_ARCH_BCM2835 is not set
|
||||||
|
# CONFIG_ARCH_BCM_IPROC is not set
|
||||||
|
# CONFIG_ARCH_BCMBCA is not set
|
||||||
|
# CONFIG_ARCH_BRCMSTB is not set
|
||||||
|
# CONFIG_ARCH_BERLIN is not set
|
||||||
|
# CONFIG_ARCH_EXYNOS is not set
|
||||||
|
# CONFIG_ARCH_SPARX5 is not set
|
||||||
|
# CONFIG_ARCH_K3 is not set
|
||||||
|
# CONFIG_ARCH_LG1K is not set
|
||||||
|
# CONFIG_ARCH_HISI is not set
|
||||||
|
# CONFIG_ARCH_KEEMBAY is not set
|
||||||
|
# CONFIG_ARCH_MEDIATEK is not set
|
||||||
|
# CONFIG_ARCH_MESON is not set
|
||||||
|
# CONFIG_ARCH_MVEBU is not set
|
||||||
|
# CONFIG_ARCH_NXP is not set
|
||||||
|
# CONFIG_ARCH_LAYERSCAPE is not set
|
||||||
|
# CONFIG_ARCH_MXC is not set
|
||||||
|
# CONFIG_ARCH_S32 is not set
|
||||||
|
# CONFIG_ARCH_MA35 is not set
|
||||||
|
# CONFIG_ARCH_NPCM is not set
|
||||||
|
# CONFIG_ARCH_REALTEK is not set
|
||||||
|
# CONFIG_ARCH_RENESAS is not set
|
||||||
|
# CONFIG_ARCH_ROCKCHIP is not set
|
||||||
|
# CONFIG_ARCH_SEATTLE is not set
|
||||||
|
# CONFIG_ARCH_INTEL_SOCFPGA is not set
|
||||||
|
# CONFIG_ARCH_STM32 is not set
|
||||||
|
# CONFIG_ARCH_SYNQUACER is not set
|
||||||
|
# CONFIG_ARCH_TEGRA is not set
|
||||||
|
# CONFIG_ARCH_TESLA_FSD is not set
|
||||||
|
# CONFIG_ARCH_SPRD is not set
|
||||||
|
# CONFIG_ARCH_THUNDER is not set
|
||||||
|
# CONFIG_ARCH_THUNDER2 is not set
|
||||||
|
# CONFIG_ARCH_UNIPHIER is not set
|
||||||
|
# CONFIG_ARCH_VEXPRESS is not set
|
||||||
|
# CONFIG_ARCH_VISCONTI is not set
|
||||||
|
# CONFIG_ARCH_XGENE is not set
|
||||||
|
# CONFIG_ARCH_ZYNQMP is not set
|
||||||
|
|||||||
Reference in New Issue
Block a user