toolchain/uclibc: fix sparc SED handling of _V9 / _V9B

This commit is contained in:
Peter Korsgaard 2009-01-12 15:01:28 +00:00
parent b24c3215c1
commit 6e4c616df8

View 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)