diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-11-23 16:37:35 +1100 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-11-23 16:37:52 +1100 |
commit | 132ac31c08e0f370335ccb26418a6a0944bc47e7 (patch) | |
tree | 2cd76f6e10549729173057d0e41b96cbb0fb16a4 | |
parent | 9bc9a6bc734707bfecf58a8c68bab8478c16cae6 (diff) |
Clear LDFLAGS in Makefileguppy_6.99.1guppy/6.99.16.99.1
Need to set, otherwise there is an unrecognized option '-Wl,-01'
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
-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) $@ |