Age | Commit message (Collapse) | Author |
|
Copyright and license information was missing from the files in this
repository. Add copyright info based on repository history and SPDX
tags clarifying the ISC license to all files.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
OPENSSL_VER => $OPENSSL_VER
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Also prevents attempting to recursively remove / on failure...
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
When trying to figure out latest released openssl version, ignore tags
ending in -pre*.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Look also for openssl/include/openssl/opensslconf.h.in to determine
whether openssl has already been imported.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Seems upstream edk2 helpfully added an openssl directory to
CryptoPkg/Library/OpensslLib, causing my logic of
mv openssl-<version> openssl
after extracting downloaded tarball to do the completely
wrong thing. Fix that.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Support both CLANG35 and CLANG38 profiles, since they both now work.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
The recent update to edk2-build.sh to qualify paths with "readlink" caused
unintended consequences, since this did not also take TOOLS_DIR into account.
At the same time, all of the other scripts were individually re-resolving
TOOLS_DIR (in the now-incompatible fashion).
So... do the readlink also on TOOLS_DIR in edk2-build.sh, export TOOLS_DIR
in both edk2-build.sh and uefi-build.sh and delete all localised settings
of TOOLS_DIR.
If anyone is calling any of the secondary scripts directly, I expect to be
receiving complaints.
Reported-by: Alan Ott <alan@softiron.co.uk>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
- Add search_packages_path to common-functions.
- Change occurences of EDK2_DIR to WORKSPACE or
`search_packages_path` in atf-build.sh.
- Look for arm-trusted-firmware directory if -a was
not specified on command line to edk2-build.sh.
- Add required options to build Juno with arm-tf
to edk2-platforms.config.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Some trigger happiness in common-functions when creating
edk2-build.sh broke handling of CROSS_COMPILE_32 and
CROSS_COMPILE_64. Fix that.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Between EDK2 support for openssl-1.0.2f and openssl-1.0.2g, the format
of the patch changed from needing a -p0 to a -p1. Adjust the import
function accordingly.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
edk2 does not have GCC build profiles above GCC5 at this point,
so cap at that if > 4.X in order to work for gcc 6. (doh!)
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Recent changes to EDK2 add a GCC5 profile, with an explicit
intent that future profiles will cover only major versions
of GCC.
Update detection to work as before for 4.x, but also correctly
select GCC5+ toolchain profiles.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
There are no separate edk2 build profiles for CLANG36 onwards, so
add a similar thing as is done for GCC to fall back to the CLANG35
profile if version is not explicitly enumerated in the script.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
When building a platform with -D SECURE_BOOT_ENABLE=TRUE, also
import OpenSSL (reusing existing version or grabbing cached
archive from LinaroPkg where possible).
Adapted from Ard's upstream build.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Move toolchain version detection to common-functions.
Also actually hook up proper CLANG detection, since upstream BaseTools
ended up with versioned CLANG profiles.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|
|
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
|