toolchain/uclibc: fix sparc SED handling of _V9 / _V9B
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 12 Jan 2009 15:01:28 +0000 (15:01 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 12 Jan 2009 15:01:28 +0000 (15:01 -0000)
toolchain/uClibc/uclibc.mk

index fe055cea1d0e744cb6db64594dcaa6583f98b44e..edcd32b869b05adfb1d82107ed3262d9c5c58118 100644 (file)
@@ -262,7 +262,7 @@ ifeq ($(UCLIBC_TARGET_ARCH),sparc)
                 $(UCLIBC_DIR)/.oldconfig
        for i in V7 V8 V9 V9B; do echo "# CONFIG_SPARC_$$i is not set"; done \
                >> $(UCLIBC_DIR)/.oldconfig
-       $(SED) 's/^.*$(UCLIBC_SPARC_TYPE).*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
+       $(SED) 's/^.*$(UCLIBC_SPARC_TYPE)[^B].*/$(UCLIBC_SPARC_TYPE)=y/g' $(UCLIBC_DIR)/.oldconfig
 endif
 ifeq ($(UCLIBC_TARGET_ARCH),powerpc)
 ifeq ($(BR2_powerpc_8540),y)