SlugOS: preferred-slugos-versions.inc - fix kernel SRCREV selection
authorMike Westerhof <mwester@dls.net>
Thu, 8 Apr 2010 14:13:54 +0000 (09:13 -0500)
committerMike Westerhof <mwester@dls.net>
Thu, 8 Apr 2010 14:13:54 +0000 (09:13 -0500)
This makes the PREFERRED_VERSION selection for the SlugOS kernel work
again after a recent "pretty-ification" change for SRCREV handling.
Note that this is a sub-optimal solution, but it is required to correct
build failures for SlugOS.  A long-term solution needs to either put
the SRCREV back to where it was (a semi-global config file), or it needs
to change the way the ixp4xx kernels are selected.  More specifically,
the problems this fixes for SlugOS still exist in the ixp4xx machine
definition file.

conf/distro/include/preferred-slugos-versions.inc

index 6ea8c90..23424a2 100644 (file)
@@ -10,7 +10,8 @@
 #
 # This *must* be removed after initial testing is completed.  MJW 08-Dec-2008
 #
-PREFERRED_VERSION_linux-ixp4xx = "2.6.27.8+svnr${SRCREV}"
+SRCREV_pn-linux-ixp4xx ?= "1089"
+PREFERRED_VERSION_linux-ixp4xx = "2.6.27.8+svnr${SRCREV_pn-linux-ixp4xx}"
 #
 #===============================================================================#
 #===============================================================================#