diff options
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | scripts/make-agl.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ obj-$(CONFIG_AVIRT_AP_LOOPBACK) += loopback/ ### ifdef PKG_CONFIG_SYSROOT_DIR # AGL SDK kernel src path + LDFLAGS= # Need to set, since unrecognized option '-Wl,-01' KERNEL_SRC=$(PKG_CONFIG_SYSROOT_DIR)/usr/src/kernel else # General Linux distro kernel src path diff --git a/scripts/make-agl.sh b/scripts/make-agl.sh index 6c94fbb..5cb8048 100755 --- a/scripts/make-agl.sh +++ b/scripts/make-agl.sh @@ -8,7 +8,7 @@ sdkpath=${long_sdkpath:4} # Build /opt/AGL/bin/xds-cli exec --config xds-project.conf -- \ - LDFLAGS= CONFIG_AVIRT=m CONFIG_AVIRT_BUILDLOCAL=y \ + CONFIG_AVIRT=m CONFIG_AVIRT_BUILDLOCAL=y \ CONFIG_AVIRT_AP_DUMMY=m \ CONFIG_AVIRT_AP_LOOPBACK=m \ make -C $sdkpath/sysroots/aarch64-agl-linux/usr/src/kernel M=$(pwd) $@ |