Various fixes to the tree to get coreboot-v2 to build on Solaris
authorPatrick Georgi <patrick.georgi@coresystems.de>
Tue, 26 May 2009 14:03:51 +0000 (14:03 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Tue, 26 May 2009 14:03:51 +0000 (14:03 +0000)
commita84a99b9948fa431bbcadf39f5216b04b3eb1d52
treee2a3bfcd7b9b715029cd71d439288ddd638da913
parentd1185bfd358fa3d72d94255961926162eff9f609
Various fixes to the tree to get coreboot-v2 to build on Solaris

- Replace $(PWD) with $(CURDIR) in Makefiles. I don't know why
  the Solaris version behaves differently, but CURDIR is a safe
  choice on gnu make (and we require gnu make already)
- Use tail -1 instead of tail -n1 in a file that already relies on
  tail -1 support in another place
- Use tail -1 as alternative to tail -n1 in another place
- Use #define for ulong_t in romcc, as that name is used on Solaris
- Avoid fprinting a null pointer. The standard doesn't mandate that
  this is a special case, and Solaris doesn't implement it that way.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4305 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
17 files changed:
src/config/Options.lb
src/mainboard/amd/dbm690t/Config.lb
src/mainboard/amd/pistachio/Config.lb
src/mainboard/amd/serengeti_cheetah/Config.lb
src/mainboard/amd/serengeti_cheetah_fam10/Config.lb
src/mainboard/asus/a8v-e_se/Config.lb
src/mainboard/asus/m2v-mx_se/Config.lb
src/mainboard/iwill/dk8_htx/Config.lb
src/mainboard/kontron/986lcd-m/Config.lb
src/mainboard/technexion/tim8690/Config.lb
src/mainboard/tyan/s2891/Config.lb
src/mainboard/tyan/s2892/Config.lb
src/mainboard/tyan/s2895/Config.lb
src/northbridge/amd/amdfam10/Config.lb
util/abuild/abuild
util/newconfig/config.g
util/romcc/romcc.c