Skip to content
Snippets Groups Projects
Commit 1fb379a3 authored by Martyn Welch's avatar Martyn Welch
Browse files

Tweak packaging to build only on arm64, single package for binaries


At the moment we are only building for a single arm64 target, so mark
this as arm64 only (we may in the future build for arm32 as well, but
we're not at the moment). Also we'll produce a single package of
binaries for all supported boards. This package is used as a build time
dependency of U-Boot rather than being installed directly on a target.

Signed-off-by: default avatarMartyn Welch <martyn.welch@collabora.com>
parent 08516660
No related branches found
No related tags found
2 merge requests!3Release 3.19.0-0+apertis1,!2Initial packaging of optee
......@@ -5,8 +5,6 @@ Maintainer: Apertis package maintainers <packagers@lists.apertis.org>
Standards-Version: 4.6.1
Build-Depends: debhelper-compat (= 13),
dh-sequence-python3,
crossbuild-essential-armhf,
crossbuild-essential-arm64,
python3,
python3-cryptography,
python3-pyelftools
......@@ -15,8 +13,8 @@ Vcs-Git: https://gitlab.apertis.org/pkg/optee-os.git
Homepage: http://optee.readthedocs.io/
Rules-Requires-Root: no
Package: optee-os-k3
Architecture: any
Package: optee-os
Architecture: arm64
Depends: ${misc:Depends},
${shlibs:Depends}
Description: OP-TEE Trusted OS
......
File moved
#!/usr/bin/make -f
COMPILE=arm-linux-gnueabihf-
COMPILE64=aarch64-linux-gnu-
export COMPILE = aarch64-linux-gnu-
PLATFORM = k3-am62x
CFG_ARM64_core = y
export PLATFORM = k3-am62x
export CFG_ARM64_core = y
# hardening -> relro breaks compilation with error "'-Wl,-z,relro' unknown"
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-relro
# Build only 64-bit TAs
export CFG_USER_TA_TARGETS = ta_arm64
%:
dh $@
......@@ -12,6 +18,5 @@ CFG_ARM64_core = y
override_dh_auto_build:
make \
CROSS_COMPILE=${COMPILE32} \
CROSS_COMPILE64=${COMPILE64} \
PLATFORM=${PLATFORM} \
CFG_ARM64_core=${CFG_ARM64_core}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment