blob: 34afff4c25c42c08fdebce0e1e00f8eed74de68c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
SDK_ROOT=/opt/agl-sdk
SDK_VERSION=6.99.4
SDK_VAR=aarch64
# Source environment
unset LD_LIBRARY_PATH
source $SDK_ROOT/$SDK_VERSION-$SDK_VAR/environment-setup-aarch64-agl-linux
# Build
LDFLAGS= \
CONFIG_AVIRT=m CONFIG_AVIRT_BUILDLOCAL=y \
CONFIG_AVIRT_AP_DUMMY=m \
CONFIG_AVIRT_AP_LOOPBACK=m \
make -C $SDK_ROOT/$SDK_VERSION-$SDK_VAR/sysroots/$SDK_VAR-agl-linux/usr/src/kernel M=$(pwd) $@
|