mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 20:56:58 +00:00
e00aed3e08
- In all cases, when building Linux apps (and thus linking with gcc) we need to pass in the normal set of LDFLAGS for both rpath and link hash type. - Rework Fix-for-the-cross-compilation.patch a bit. When linking EFI apps (and thus linking with ld) we don't need to pass in other special flags. When linking the "openssl" apps we do not need to spell out the crtN files as gcc handles that for us, they are normal Linux apps. Ensure that all Linux apps get our EXTRA_LDFLAGS passed in. With all of these changes we are now able to reuse sstate cache between build directories. Signed-off-by: Tom Rini <trini@konsulko.com>
11 lines
190 B
BlitzBasic
11 lines
190 B
BlitzBasic
require efitools.inc
|
|
|
|
DEPENDS_append = " gnu-efi-native"
|
|
|
|
inherit native
|
|
|
|
EXTRA_OEMAKE_append = "\
|
|
INCDIR_PREFIX='${STAGING_DIR_NATIVE}' \
|
|
CRTPATH_PREFIX='${STAGING_DIR_NATIVE}' \
|
|
"
|