I've been able to build the entire Edison distribution on an Ubuntu 14.04 64 bit machine with no problem, but I'm having problems building it on a Linux Mint 17 machine. The Min distribution is based on Ubuntu 14.04, so they should be very similar, but on the Mint machine the build fails when building the kernel.
The error is:
Log data follows:
| DEBUG: Executing shell function do_compile
| + cd /projects/Edison/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux-edison-standard-build
| + do_compile
| + kernel_do_compile
| + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
| + [ = ]
| + [ !=
| ]
| + oe_runmake bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + oe_runmake_call bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + bbnote make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + echo NOTE: make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| NOTE: make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
|
| make: *** No rule to make target `bzImage'. Stop.
|
| + cd /projects/Edison/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/linux-edison-standard-build
| + do_compile
| + kernel_do_compile
| + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
| + [ = ]
| + [ != ]
| + oe_runmake bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + oe_runmake_call bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + bbnote make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + echo NOTE: make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| NOTE: make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| + make -j 1 bzImage CC=i586-poky-linux-gcc LD=i586-poky-linux-ld.bfd
| make: *** No rule to make target `bzImage'. Stop.
| ERROR: Function failed: do_compile (log file is located at /projects/Edison/edison-src/build/tmp/work/edison-poky-linux/linux-yocto/3.10.17+gitAUTOINC+6ad20f049a_c03195ed6e-r0/temp/log.do_compile.4672)
If i look in the build directory directory that it's running make in, only a .config file exists. I've run the build through the configure step on both machines, and both machines only have a .config in the directory. Obviously something is not happening correctly on the Mint machine at the start of the compile step, but I can't see what it could be. The log outputs look identical up until the error.
There's alot of magic that I don't understand in the Yocto builds, so if someone could just point me to the script that is being run to compile the kernel it would be a great help.