summaryrefslogtreecommitdiff
path: root/arch/kvx
diff options
context:
space:
mode:
authorClement Leger <cleger@kalray.eu>2020-06-23 17:08:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-06-24 09:17:59 +0200
commit27b482a47a2383291289adfb1cb6acf69f4de6ff (patch)
tree75abcc037a902a1261a4be77b30a83435cbbd5ea /arch/kvx
parent70a550c0125ea5c9170129e4826715243ff49db5 (diff)
downloadbarebox-27b482a47a2383291289adfb1cb6acf69f4de6ff.tar.gz
kbuild: fix typo in --no-whole-archive flag
"whole" was replaced with "while" during a previous patch. Fix this flag to allow building correctly. Fixes 0a78b33954 ("kbuild: switch over to thin archive") Signed-off-by: Clement Leger <cleger@kalray.eu> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/kvx')
-rw-r--r--arch/kvx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/kvx/Makefile b/arch/kvx/Makefile
index 9e7c8c07fa..13c4e24319 100644
--- a/arch/kvx/Makefile
+++ b/arch/kvx/Makefile
@@ -30,6 +30,6 @@ lds-y += arch/kvx/cpu/barebox.lds
cmd_barebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_barebox) -o $@ \
-T $(BAREBOX_LDS) \
- --whole-archive $(BAREBOX_OBJS) --no-while-archive \
+ --whole-archive $(BAREBOX_OBJS) --no-whole-archive \
-L$(LIBGCC_PATH) -lgcc \
$(filter-out $(BAREBOX_LDS) $(BAREBOX_OBJS) FORCE ,$^)