diff mbox series

[edk2,edk2-platforms,10/11] Platform/Styx: get rid of DO_KCS preprocessor macro

Message ID 20181211183514.20948-11-ard.biesheuvel@linaro.org
State New
Headers show
Series final set of Styx cleanups | expand

Commit Message

Ard Biesheuvel Dec. 11, 2018, 6:35 p.m. UTC
Now that all code references the PCD instead, let's drop the macro
from all Styx platforms.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Platform/AMD/OverdriveBoard/OverdriveBoard.dsc              | 8 --------
 Platform/LeMaker/CelloBoard/CelloBoard.dsc                  | 8 --------
 Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc | 8 --------
 3 files changed, 24 deletions(-)

-- 
2.19.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
index 17c936be5085..3d0544cf74cd 100644
--- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
+++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc
@@ -18,7 +18,6 @@ 
 [Defines]
 
 DEFINE NUM_CORES    = 8
-DEFINE DO_KCS       = 1
 DEFINE DO_FLASHER   = FALSE
 DEFINE DO_CAPSULE   = FALSE
 
@@ -267,13 +266,6 @@  DEFINE DO_CAPSULE   = FALSE
   RVCT:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
   GCC:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
 
-  *_*_*_ASL_FLAGS               = -tc -li -l -so
-  *_*_*_ASLPP_FLAGS             = $(ARCHCC_FLAGS)
-  *_*_*_ASLCC_FLAGS             = $(ARCHCC_FLAGS)
-
-  GCC:*_*_AARCH64_ARCHCC_FLAGS = -DDO_KCS=$(DO_KCS)
-  GCC:*_*_AARCH64_PP_FLAGS = -DDO_KCS=$(DO_KCS)
-
 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
   GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
 
diff --git a/Platform/LeMaker/CelloBoard/CelloBoard.dsc b/Platform/LeMaker/CelloBoard/CelloBoard.dsc
index 6362ab5a17fb..a70f91bb02d5 100644
--- a/Platform/LeMaker/CelloBoard/CelloBoard.dsc
+++ b/Platform/LeMaker/CelloBoard/CelloBoard.dsc
@@ -18,7 +18,6 @@ 
 [Defines]
 
 DEFINE NUM_CORES    = 4
-DEFINE DO_KCS       = 0
 DEFINE DO_FLASHER   = FALSE
 
   PLATFORM_NAME                  = Cello
@@ -256,13 +255,6 @@  DEFINE DO_FLASHER   = FALSE
   RVCT:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
   GCC:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
 
-  *_*_*_ASL_FLAGS               = -tc -li -l -so
-  *_*_*_ASLPP_FLAGS             = $(ARCHCC_FLAGS)
-  *_*_*_ASLCC_FLAGS             = $(ARCHCC_FLAGS)
-
-  GCC:*_*_AARCH64_ARCHCC_FLAGS = -DDO_KCS=$(DO_KCS)
-  GCC:*_*_AARCH64_PP_FLAGS = -DDO_KCS=$(DO_KCS)
-
 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
   GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
 
diff --git a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc
index d7eb5f87afa1..722c4adb7a72 100644
--- a/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc
+++ b/Platform/SoftIron/Overdrive1000Board/Overdrive1000Board.dsc
@@ -18,7 +18,6 @@ 
 [Defines]
 
 DEFINE NUM_CORES    = 4
-DEFINE DO_KCS       = 1
 DEFINE DO_FLASHER   = FALSE
 
   PLATFORM_NAME                  = Overdrive1000
@@ -254,13 +253,6 @@  DEFINE DO_FLASHER   = FALSE
 [BuildOptions]
   GCC:RELEASE_*_*_CC_FLAGS  = -DMDEPKG_NDEBUG
 
-  *_*_*_ASL_FLAGS               = -tc -li -l -so
-  *_*_*_ASLPP_FLAGS             = $(ARCHCC_FLAGS)
-  *_*_*_ASLCC_FLAGS             = $(ARCHCC_FLAGS)
-
-  GCC:*_*_AARCH64_ARCHCC_FLAGS = -DDO_KCS=$(DO_KCS)
-  GCC:*_*_AARCH64_PP_FLAGS = -DDO_KCS=$(DO_KCS)
-
 [BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
   GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000