[LinuxBIOS] r9 - in buildrom-devel/buildrom: . config/platforms
svn at openbios.org
svn at openbios.org
Wed Jun 20 23:27:48 CEST 2007
Author: jcrouse
Date: 2007-06-20 23:27:47 +0200 (Wed, 20 Jun 2007)
New Revision: 9
Modified:
buildrom-devel/buildrom/Config.in
buildrom-devel/buildrom/config/platforms/platforms.conf
Log:
Allow the user to specify an arbitrary LinuxBIOS revision, overriding
the value in the configuration file.
Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: buildrom-devel/buildrom/Config.in
===================================================================
--- buildrom-devel/buildrom/Config.in 2007-06-20 21:27:16 UTC (rev 8)
+++ buildrom-devel/buildrom/Config.in 2007-06-20 21:27:47 UTC (rev 9)
@@ -43,6 +43,18 @@
string "LinuxBIOS build directory"
depends LB_USE_BUILD
+config LB_CUSTOM_REV
+ bool "Override the platform LinuxBIOS revision"
+ depends ADVANCED && !LB_USE_BUILD
+ default n
+ help
+ Say 'y' here to overide the default LinuxBIOS SVN revsion
+ from the platform configuration
+
+config LB_REVISION
+ string "LinuxBIOS revision"
+ depends LB_CUSTOM_REV
+
endmenu
config PLATFORM
Modified: buildrom-devel/buildrom/config/platforms/platforms.conf
===================================================================
--- buildrom-devel/buildrom/config/platforms/platforms.conf 2007-06-20 21:27:16 UTC (rev 8)
+++ buildrom-devel/buildrom/config/platforms/platforms.conf 2007-06-20 21:27:47 UTC (rev 9)
@@ -11,3 +11,14 @@
PLATFORM-$(CONFIG_PLATFORM_MSM800SEV) = msm800sev.conf
include $(CONFIG_DIR)/platforms/$(PLATFORM-y)
+
+ifeq ($(CONFIG_LB_CUSTOM_REV),y)
+ifneq ($(CONFIG_LB_REVISION),)
+_LB=$(subst ",,$(CONFIG_LB_REVISION))
+ifneq ($(LINUXBIOS_TAG),)
+$(warning Overriding LinuxBIOS revision $(LINUXBIOS_TAG) with $(_LB))
+endif
+LINUXBIOS_TAG := $(_LB)
+endif
+endif
+
More information about the coreboot
mailing list