I'm trying to cross-compile U-Boot on a Mac OS X system, which is
BSD-like.  I have a toolchain already created - I've been able to
compile the Linux kernel with no problems.  I figured U-Boot would be
easier, but instead it's doing a lot of weird stuff.

So when I run "make", I get this:

$ make ARCH=ppc
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: Nothing to be done for `_depend'.
make[1]: Circular hello_world.c <- hello_world.c dependency dropped.
make[1]: Circular sched.c <- sched.c dependency dropped.
make[1]: Circular stubs.c <- stubs.c dependency dropped.
make[1]: Circular ppc_longjmp.S <- ppc_longjmp.S dependency dropped.
make[1]: Circular ppc_setjmp.S <- ppc_setjmp.S dependency dropped.
make[1]: Nothing to be done for `_depend'.
make[1]: Nothing to be done for `_depend'.
make -C tools all
cc -Wall -pedantic -idirafter
/Volumes/Goliath/Users/timur/dev/u-boot.git/include -idirafter
/Volumes/Goliath/Users/timur/dev/u-boot.git/include2 -idirafter
/Volumes/Goliath/Users/timur/dev/u-boot.git/include -I
/Volumes/Goliath/Users/timur/dev/u-boot.git/libfdt -I
/Volumes/Goliath/Users/timur/dev/u-boot.git/tools
-DTEXT_BASE=0xFE000000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -O -c -o
crc32.o crc32.c
powerpc-apple-darwin9-gcc-4.0.1: crc32.c: No such file or directory
powerpc-apple-darwin9-gcc-4.0.1: no input files
make[1]: *** [crc32.o] Error 1
make: *** [tools] Error 2

crc32.c is in lib_generic/, but the current directory is tools/, so
I'm not surprised it doesn't compile.  Has anyone tried this before?
What am I missing?

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to