landley / toybox

toybox
http://landley.net/toybox
BSD Zero Clause License
2.43k stars 338 forks source link

Building Toybox for J2 Turtleboard fails since 650ff11a #513

Open glaubitz opened 2 months ago

glaubitz commented 2 months ago

The commit 650ff11a37993a9e5670744130335ac7925e5e06 broke building Toybox for J2 the Turtleboard:

glaubitz@node54:/data/home/glaubitz/toybox> make root CROSS_COMPILE=sh2eb-linux-muslfdpic- LINUX=/data/home/glaubitz/linux
mkroot/mkroot.sh  -- LINUX=/data/home/glaubitz/linux CROSS_COMPILE=sh2eb-linux-muslfdpic-

=== airlock
cleaned
cc -o kconfig/conf kconfig/conf.c kconfig/zconf.tab.c -DKBUILD_NO_NLS=1 \
        -DPROJECT_NAME=\"ToyBox\"
scripts/genconfig.sh
kconfig/conf -D /dev/null Config.in > /dev/null
scripts/make.sh
generated/{Config.in,newtoys.h,flags.h,help.h}
Compile toybox
.............................................................................................................................................................................................................
scripts/install.sh --symlink --force --airlock
Compile instlist...
Install commands...
...................
Building for sh2eb

=== toybox
cleaned
cc -o kconfig/conf kconfig/conf.c kconfig/zconf.tab.c -DKBUILD_NO_NLS=1 \
        -DPROJECT_NAME=\"ToyBox\"
scripts/genconfig.sh
kconfig/conf -D /dev/fd/63 Config.in > /dev/null
scripts/make.sh

warning: using unfinished code from toys/pending
generated/{Config.in,newtoys.h,flags.h,help.h}
Compile toybox
...............................................................................................................................................................................................................
scripts/install.sh --long --symlink --force
Compile instlist...
Install commands...

=== linux-sh
/data/home/glaubitz/linux /data/home/glaubitz/toybox
/data/home/glaubitz/toybox
/data/home/glaubitz/toybox/root/build/sh2eb-tmp/linux /data/home/glaubitz/toybox
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
(...)
  LD      arch/sh/boot/compressed/piggy.o
  LD      arch/sh/boot/compressed/vmlinux
  OBJCOPY arch/sh/boot/zImage
  Kernel: arch/sh/boot/zImage is ready
cp: bad 'arch/sh/boot/vmlinux': No such file or directory
make: *** [Makefile:81: root] Error 1
glaubitz@node54:/data/home/glaubitz/toybox>
landley commented 2 months ago

Commit 3f4bde25e686