#
# MFD GPIO expanders
#
-CONFIG_GPIO_MACSMC=m
+CONFIG_GPIO_MACSMC=y
# end of MFD GPIO expanders
#
# CONFIG_DRM_TIDSS is not set
# CONFIG_DRM_GUD is not set
# CONFIG_DRM_SSD130X is not set
-CONFIG_DRM_APPLE=m
+CONFIG_DRM_APPLE=y
# CONFIG_DRM_LEGACY is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
CONFIG_DRM_NOMODESET=y
# CONFIG_MELLANOX_PLATFORM is not set
# CONFIG_SURFACE_PLATFORMS is not set
CONFIG_APPLE_PLATFORMS=y
-CONFIG_APPLE_SMC=m
-CONFIG_APPLE_SMC_RTKIT=m
+CONFIG_APPLE_SMC=y
+CONFIG_APPLE_SMC_RTKIT=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y
# end of Clock Source drivers
CONFIG_MAILBOX=y
-CONFIG_APPLE_MAILBOX=m
+CONFIG_APPLE_MAILBOX=y
# CONFIG_ARM_MHU is not set
# CONFIG_ARM_MHU_V2 is not set
# CONFIG_PLATFORM_MHU is not set
# Apple SoC drivers
#
CONFIG_APPLE_PMGR_PWRSTATE=y
-CONFIG_APPLE_RTKIT=m
+CONFIG_APPLE_RTKIT=y
CONFIG_APPLE_RTKIT_HELPER=m
CONFIG_APPLE_SART=m
CONFIG_APPLE_DOCKCHANNEL=m
cat ../../config.edge > .config
make LLVM=-14 olddefconfig
make LLVM=-14 -j `nproc` V=0 > /dev/null
- sudo make LLVM=-14 modules_install
+ sudo make LLVM=-14 V=0 modules_install > /dev/null
sudo make LLVM=-14 install
)
}
sudo cp u-boot.bin /boot/efi/m1n1/boot.bin
}
+echo 'Has no gpu yet'
+echo 'Boot but crashes shortly after. Do not use.'
+exit 1
+
mkdir -p build
cd build