diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-05-26 14:03:51 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2009-05-26 14:03:51 +0000 |
commit | a84a99b9948fa431bbcadf39f5216b04b3eb1d52 (patch) | |
tree | e2a3bfcd7b9b715029cd71d439288ddd638da913 /src/mainboard/asus | |
parent | d1185bfd358fa3d72d94255961926162eff9f609 (diff) | |
download | coreboot-a84a99b9948fa431bbcadf39f5216b04b3eb1d52.tar.xz |
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
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r-- | src/mainboard/asus/a8v-e_se/Config.lb | 2 | ||||
-rw-r--r-- | src/mainboard/asus/m2v-mx_se/Config.lb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/asus/a8v-e_se/Config.lb b/src/mainboard/asus/a8v-e_se/Config.lb index a1ee61ccb6..fa9a0ab7da 100644 --- a/src/mainboard/asus/a8v-e_se/Config.lb +++ b/src/mainboard/asus/a8v-e_se/Config.lb @@ -31,7 +31,7 @@ if HAVE_ACPI_TABLES object fadt.o makerule dsdt.c depends "$(MAINBOARD)/dsdt.asl" - action "iasl -p $(PWD)/dsdt -tc $(MAINBOARD)/dsdt.asl" + action "iasl -p $(CURDIR)/dsdt -tc $(MAINBOARD)/dsdt.asl" action "mv dsdt.hex dsdt.c" end object ./dsdt.o diff --git a/src/mainboard/asus/m2v-mx_se/Config.lb b/src/mainboard/asus/m2v-mx_se/Config.lb index 461be2b59f..cb7d9b5841 100644 --- a/src/mainboard/asus/m2v-mx_se/Config.lb +++ b/src/mainboard/asus/m2v-mx_se/Config.lb @@ -30,7 +30,7 @@ if HAVE_ACPI_TABLES object fadt.o makerule dsdt.c depends "$(MAINBOARD)/dsdt.asl" - action "iasl -p $(PWD)/dsdt -tc $(MAINBOARD)/dsdt.asl" + action "iasl -p $(CURDIR)/dsdt -tc $(MAINBOARD)/dsdt.asl" action "mv dsdt.hex dsdt.c" end object ./dsdt.o |