Enable BuiltinLinuxKrl for beryllium and oneplus devices
authorSophon <strongtz@yeah.net>
星期六, 22 Jan 2022 15:34:41 +0000 (23:34 +0800)
committerSophon <strongtz@yeah.net>
星期六, 22 Jan 2022 15:34:41 +0000 (23:34 +0800)
Only tested on fajita

sdm845Pkg/Devices/beryllium.dsc
sdm845Pkg/Devices/beryllium.fdf
sdm845Pkg/Devices/enchilada-8g.dsc
sdm845Pkg/Devices/enchilada.dsc
sdm845Pkg/Devices/enchilada.fdf
sdm845Pkg/Devices/fajita-10g.dsc
sdm845Pkg/Devices/fajita-8g.dsc
sdm845Pkg/Devices/fajita.dsc
sdm845Pkg/Devices/fajita.fdf

index 4c1343682e610497a618d38bb7642e76d38780e0..ee12e9b91c95abf2ffb6fd116d4bcc4ba69900b7 100644 (file)
@@ -11,6 +11,9 @@
 
 !include sdm845Pkg/sdm845Pkg.dsc
 
+[BuildOptions.common]
+  GCC:*_*_AARCH64_CC_FLAGS = -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DBUILTIN_LINUX_TEST=1
+
 [PcdsFixedAtBuild.common]
   # System Memory (5GB)
   gArmTokenSpaceGuid.PcdSystemMemorySize|0x15AE00000
index 68c399c76fa24828e91d89aa1a6838b063dce6b4..c7bf33ce042fbc524d76955823c3687135d037c0 100644 (file)
@@ -563,7 +563,8 @@ APRIORI DXE {
   INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
 !endif #$(INCLUDE_TFTP_COMMAND)
 
-  INF  sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
+  INF sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
+  INF sdm845Pkg/Binary/845/BuiltinLinuxKrl/BuiltinLinuxKrl.inf
 
   #
   # Bds
index beed2557a38b6f4a3787fddd21f3535860136899..c45335e470c6339d3e076fbf0d0c68a12ed350e2 100644 (file)
@@ -16,7 +16,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 -DAB_SLOTS_SUPPORT=1
+  GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 -DAB_SLOTS_SUPPORT=1 -DBUILTIN_LINUX_TEST=1
 
 [PcdsFixedAtBuild.common]
   # System Memory (7GB)
index bfe211bdc2b818ba256a63b45888616d6e0c791e..0266c9bc4168fd2b0892ab41cb790ffea7a487e2 100644 (file)
@@ -15,7 +15,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1
+  GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DBUILTIN_LINUX_TEST=1
 
 [PcdsFixedAtBuild.common]
   # System Memory (5GB)                    
index feddcfcee8704ad24cefe1b7b5d7a6e8035eb3bc..5043089eeb5882efa95c14d70d2dbbbdf82dc8ef 100644 (file)
@@ -576,7 +576,8 @@ APRIORI DXE {
 !endif #$(INCLUDE_TFTP_COMMAND)
 
 
-  INF  sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
+  INF sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
+  INF sdm845Pkg/Binary/845/BuiltinLinuxKrl/BuiltinLinuxKrl.inf
 
 
   #
index 650db01c32ebc3a733e05a1b891b72d084ba053e..38349a1e05541aebf8fdd45ebe2a886268d49663 100644 (file)
@@ -15,7 +15,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_10G=1 -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
+  GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_10G=1 -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DBUILTIN_LINUX_TEST=1
 
 [PcdsFixedAtBuild.common]
   # System Memory (10GB)
index 4bdf081a95d1e769a28bfd0d000f7fbd86da1bab..2c8123e314d38d622616ed0738ccdec35e178f71 100644 (file)
@@ -15,7 +15,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
+  GCC:*_*_AARCH64_CC_FLAGS = -DMEMORY_8G=1 -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DBUILTIN_LINUX_TEST=1
 
 [PcdsFixedAtBuild.common]
   # System Memory (7GB)
index 9986341b965e290a332c10496311997e400d4167..8b6219a2a648ae590c7405ffcf5120b82571971e 100644 (file)
@@ -15,7 +15,7 @@
 !include sdm845Pkg/sdm845Pkg.dsc
 
 [BuildOptions.common]
-  GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT
+  GCC:*_*_AARCH64_CC_FLAGS = -DAB_SLOTS_SUPPORT=1 -DDISPLAY_DPI=440 -DENABLE_SIMPLE_INIT -DBUILTIN_LINUX_TEST=1
 
 [PcdsFixedAtBuild.common]
   # System Memory (5GB)
index cf3543c8eeeeb5246f4fe4a5aa66630b7f67273e..18536cecabd7812072376c005ff05543667d143f 100644 (file)
@@ -579,7 +579,8 @@ APRIORI DXE {
   INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
 !endif #$(INCLUDE_TFTP_COMMAND)
 
-  INF  sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
+  INF sdm845Pkg/Binary/845/UsbfnMsdApp/UsbfnMsdApp.inf
+  INF sdm845Pkg/Binary/845/BuiltinLinuxKrl/BuiltinLinuxKrl.inf
 
   #
   # Bds