I get the following after typing "make" within coreboot source folder using SeaBIOS, "/bin/sh: -Wa,--divide: command not found"
---snip--- Checking out SeaBIOS 0.6.1-stable Already up-to-date. M src/config.h Already on '0.6.1-stable' /bin/sh: -Wa,--divide: command not found Compiling whole program out/ccode.16.s ---snip---
$ fgrep coreboot/ -r -e "--divide"
./payloads/libpayload/util/xcompile/xcompile:testcc "$CC" "$CFLAGS-Wa,--divide " && CFLAGS="$CFLAGS-Wa,--divide " ./util/abuild/abuild: # i386-elf target needs --divide, for i386-linux, that's the default ./util/abuild/abuild: CC="$CC -Wa,--divide" ./util/xcompile/xcompile:testcc "$CC" "$CFLAGS-Wa,--divide " && CFLAGS="$CFLAGS-Wa,--divide "
(removed .svn folders from above listing)
Ah, looks like there's a missing space char between "$CFLAGS" and "-Wa" within xcompile:testcc within the above grep! (First line within the above grep listing.)
Executing a little further, I'm getting another error with the flags syntax used within the code. Looks like somebody substituted commas for spaces on some of the flags used.
Seems I've corrected some within both xcompile and abuild, but am still getting "/bin/sh: -fno-stack-protector: command not found" some place.
Attaching an svn diff of what I have so far.