whoops, fix defines 55/head
authorCaramel <goldrenard@gmail.com>
星期一, 30 Aug 2021 16:41:03 +0000 (19:41 +0300)
committerCaramel <goldrenard@gmail.com>
星期一, 30 Aug 2021 16:41:03 +0000 (19:41 +0300)
sdm845Pkg/sdm845Pkg.dsc

index 0ac826de9d99f86763d540b1c51cbd6b6fbd85d6..a2f4321a5262e766ac705e8d1cc877949fd83138 100644 (file)
   #
   sdm845Pkg/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
   MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
-  
+
   #
   # OnePlus 6T A/B Slot Support
   # Op6tSlotDxe and BootSlotDxe have the same goal, do not use them both at the same time in device fdf.
   #
   sdm845Pkg/Drivers/Op6tSlotDxe/Op6tSlotDxe.inf
+!ifdef $(AB_SLOTS_SUPPORT)
   sdm845Pkg/Drivers/BootSlotDxe/BootSlotDxe.inf
   sdm845Pkg/Application/SwitchSlotsApp/SwitchSlotsApp.inf
-  
+!endif #$(AB_SLOTS_SUPPORT)
+
   #
   # Bds
   #