[lkml]   [2018]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] nds32: fix building failed if using elf toolchain.
OUTPUT_FORMAT is not necessary here and the elf toolchain doesn't
support these formats. Since kernel should be built pass with elf
or Linux toolchain. This can be removed from vdso.ld.S

These are the built failed messages.
VDSOL arch/nds32/kernel/vdso/
target elf32-nds32le-linux not found
collect2: error: ld returned 1 exit status
make[1]: *** [arch/nds32/kernel/vdso/] Error 1
make: *** [vdso_prepare] Error 2

Signed-off-by: Greentime Hu <>
arch/nds32/kernel/vdso/ | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/nds32/kernel/vdso/ b/arch/nds32/kernel/vdso/
index 36630352ee02..1f2b16004594 100644
--- a/arch/nds32/kernel/vdso/
+++ b/arch/nds32/kernel/vdso/
@@ -8,7 +8,6 @@
#include <asm/page.h>
#include <asm/vdso.h>

-OUTPUT_FORMAT("elf32-nds32le-linux", "elf32-nds32be-linux", "elf32-nds32le-linux")

 \ /
  Last update: 2018-03-07 11:12    [W:0.035 / U:2.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site