summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-31 13:57:27 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2016-03-25 12:37:47 +0100
commit481b93f7f00feb9bbc9e5a412c5065c0740b20f4 (patch)
tree74dd171cafd5b003d471f1ed445d133182575d05
parentf37d891c1b870b294964adf65f619a661700fcab (diff)
downloadedk2-481b93f7f00feb9bbc9e5a412c5065c0740b20f4.tar.gz
edk2-481b93f7f00feb9bbc9e5a412c5065c0740b20f4.tar.bz2
edk2-481b93f7f00feb9bbc9e5a412c5065c0740b20f4.zip
ShellPkg AARCH64: remove DEBUG BuildOptions override
The BuildOptions for AARCH64 in Application/Shell/Shell.inf only affect the core Shell binary, and not the Shell component libraries which are merged into the final Shell binary via NULL library class resolution. This means we need to override the UEFI_APPLICATION build options in the platform .DSC anyway, there is no point in setting these options here as well. So remove them. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--ShellPkg/Application/Shell/Shell.inf7
1 files changed, 0 insertions, 7 deletions
diff --git a/ShellPkg/Application/Shell/Shell.inf b/ShellPkg/Application/Shell/Shell.inf
index 1b8b9ee702..9e1448582f 100644
--- a/ShellPkg/Application/Shell/Shell.inf
+++ b/ShellPkg/Application/Shell/Shell.inf
@@ -110,10 +110,3 @@
gEfiShellPkgTokenSpaceGuid.PcdShellForceConsole ## CONSUMES
gEfiShellPkgTokenSpaceGuid.PcdShellSupplier ## CONSUMES
gEfiShellPkgTokenSpaceGuid.PcdShellMaxHistoryCommandCount ## CONSUMES
-
-[BuildOptions.AARCH64]
- # The tiny code model used by AARCH64 only supports binaries of up to 1 MB in
- # size. Since the Shell application exceeds that when built in DEBUG mode,
- # make sure we build it using the small code model instead.
- GCC:DEBUG_*_*_CC_FLAGS = -mcmodel=small
- GCC:DEBUG_*_*_DLINK_FLAGS = -z common-page-size=0x1000