[LinuxBIOS] r461 - in LinuxBIOSv3: . util/lar
svn at openbios.org
svn at openbios.org
Sat Jul 21 16:33:54 CEST 2007
Author: stepan
Date: 2007-07-21 16:33:54 +0200 (Sat, 21 Jul 2007)
New Revision: 461
Modified:
LinuxBIOSv3/Makefile
LinuxBIOSv3/util/lar/lib.c
Log:
- adds missing include
- test(1) doesn't understand == on Solaris, but = seems to be equivalent
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: LinuxBIOSv3/Makefile
===================================================================
--- LinuxBIOSv3/Makefile 2007-07-20 14:03:39 UTC (rev 460)
+++ LinuxBIOSv3/Makefile 2007-07-21 14:33:54 UTC (rev 461)
@@ -146,7 +146,7 @@
$(Q)printf "#define LINUXBIOS_COMPILE_TIME \"`LANG= date +%T`\"\n" >> $(obj)/build.h
$(Q)printf "#define LINUXBIOS_COMPILE_BY \"$(shell PATH=$$PATH:/usr/ucb whoami)\"\n" >> $(obj)/build.h
$(Q)printf "#define LINUXBIOS_COMPILE_HOST \"$(shell hostname)\"\n" >> $(obj)/build.h
- $(Q)printf "#define LINUXBIOS_COMPILE_DOMAIN \"$(shell test `uname -s` == "Linux" && dnsdomainname || domainname)\"\n" >> $(obj)/build.h
+ $(Q)printf "#define LINUXBIOS_COMPILE_DOMAIN \"$(shell test `uname -s` = "Linux" && dnsdomainname || domainname)\"\n" >> $(obj)/build.h
clean:
$(Q)printf " CLEAN $(subst $(shell pwd)/,,$(obj))\n"
Modified: LinuxBIOSv3/util/lar/lib.c
===================================================================
--- LinuxBIOSv3/util/lar/lib.c 2007-07-20 14:03:39 UTC (rev 460)
+++ LinuxBIOSv3/util/lar/lib.c 2007-07-21 14:33:54 UTC (rev 461)
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/types.h>
More information about the coreboot
mailing list