summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-11-23 16:37:35 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-11-23 16:37:52 +1100
commit132ac31c08e0f370335ccb26418a6a0944bc47e7 (patch)
tree2cd76f6e10549729173057d0e41b96cbb0fb16a4
parent9bc9a6bc734707bfecf58a8c68bab8478c16cae6 (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--Makefile1
-rwxr-xr-xscripts/make-agl.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 06a7c0c..c654996 100644
--- a/Makefile
+++ b/Makefile
@@ -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) $@