]> git.hungrycats.org Git - linux/commitdiff
[PATCH] PATCH 2.5: kconfig use of $ARCH (12_12)
authorGreg Banks <gnb@alphalink.com.au>
Mon, 15 Jul 2002 06:07:52 +0000 (23:07 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 06:07:52 +0000 (23:07 -0700)
 Use of the $ARCH variable is undocumented; the sparc and sparc64 ports
 define the bool constants CONFIG_SPARC32 and CONFIG_SPARC64 respectively
 for this purpose.

fs/partitions/Config.in

index 9f2b2ed19dcf40d0899214a30fab23c8fbd27dba..9810b7a1ba769b844d3cca5e661f3ea5f9cf647a 100644 (file)
@@ -65,7 +65,7 @@ else
    if [ "$CONFIG_DECSTATION" = "y" ]; then
       define_bool CONFIG_ULTRIX_PARTITION y
    fi
-   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
+   if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
       define_bool CONFIG_SUN_PARTITION y
    fi
 fi