g12: Commonize a few things
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 20 May 2024 21:54:03 +0000 (17:54 -0400)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 20 May 2024 22:05:54 +0000 (22:05 +0000)
Change-Id: If2c95314dfef4da9445ce963a547863cd3102f49

BoardConfigCommon.mk

index ed6d4abcf641473d7b4ed93adc411c809c0348c7..06335bf8312c6bedec6b428a84ab69c482352746 100644 (file)
@@ -6,9 +6,6 @@
 
 COMMON_PATH := device/amlogic/g12-common
 
-## BUILD_BROKEN_*
-BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
-
 # GPU
 TARGET_AMLOGIC_GPU_ARCH ?= bifrost
 
@@ -17,9 +14,6 @@ DEVICE_MANIFEST_FILE += $(COMMON_PATH)/manifest.xml
 
 ## Kernel
 BOARD_KERNEL_CMDLINE := androidboot.dynamic_partitions=true androidboot.boot_devices=ffe07000.emmc use_uvm=1
-ifeq ($(WITH_CONSOLE),true)
-BOARD_KERNEL_CMDLINE += console=ttyS0,115200 no_console_suspend
-endif
 TARGET_KERNEL_CONFIG := g12a_defconfig
 TARGET_KERNEL_SOURCE := kernel/amlogic/linux-4.9
 TARGET_KERNEL_VARIANT_CONFIG ?= g12a_variant_defconfig