cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
7,774 Views
Registered: ‎10-05-2015

U-Boot Cross Compile

[s_me0131 @ it002017 ~ / submarine Digilent-Dev] $ make CROSS_COMPILE = arm-linux-Xilinx gnueabi-
make: arm-Xilinx linux-gcc-gnueabi: command not found
/ bin / sh: arm-Xilinx linux-gcc-gnueabi: command not found.
dirname: missing operand
"Dirname --help" gives further information.
Generating include / autoconf.mk
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
Generating include / autoconf.mk.dep
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
/ bin / sh: arm-Xilinx linux-gcc-gnueabi: command not found.
/ bin / sh: arm-linux-Xilinx gnueabi-ld: command not found.
Generating include / spl-autoconf.mk
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
Generating include / tpl-autoconf.mk
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
Arm Xilinx linux-gcc-gnueabi -DDO_DEPS_ONLY \
-g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-R9 -fno-strict-aliasing -mno-unaligned access -mfpu = neon -D__KERNEL__ -I / usrf02 / home / AGME / stu / s_me0131 / submarine Digilent Dev / include -I / usrf02 / home / AGME / stu / s_me0131 / submarine Digilent Dev / arch / arm / include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march = ARMv5 -Wall -Wstrict-prototypes \
-o lib / asm-offsets.s lib / asm-offsets.c -c -S
make: arm-Xilinx linux-gcc-gnueabi: command not found
make: *** [lib / asm-offsets.s] Error 127

0 Kudos
1 Reply
Highlighted
Teacher
Teacher
7,746 Views
Registered: ‎03-31-2012

did you source the proper settingsxx.sh script (ie /opt/Xilinx/Vivado/2015.3/settings64.sh).

Also in your CROSS_COMPILE variable there is a space after Xilinx. Is that space really there in your Makefile?

BTW, for my system the cross_compile variable is "arm-xilinx-linux-gnueabi-".

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos