From 793a4515845027a38eb32b7c3297ae8266b8c761 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 24 Mar 2015 10:07:31 +0000
Subject: [PATCH] toolchain: remove obsolete references to the cris
 architecture

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44964
---
 toolchain/kernel-headers/Makefile     | 9 ---------
 toolchain/uClibc/common.mk            | 1 -
 toolchain/uClibc/config-0.9.33.2/cris | 8 --------
 3 files changed, 18 deletions(-)
 delete mode 100644 toolchain/uClibc/config-0.9.33.2/cris

diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index d93a1230c8..90f8eb1a3c 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -62,15 +62,6 @@ ifneq ($(CONFIG_mips)$(CONFIG_mipsel),)
   endef
 endif
 
-define Host/Configure/post/cris
-	$(CP) \
-		$(HOST_BUILD_DIR)/include/linux/user.h \
-		$(BUILD_DIR_TOOLCHAIN)/linux-dev/include/linux/
-	ln -snf $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/arch-v10/arch \
-		$(BUILD_DIR_TOOLCHAIN)/linux-dev/include/arch
-	$(SED) '/#include <asm\/page\.h>/d' $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/user.h
-endef
-
 define Host/Configure/post/mips
 	$(call Host/Configure/lzma)
 endef
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index 610532c839..89810a0b9a 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -33,7 +33,6 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
 		-e 's/sh[234].*/sh/' \
 		-e 's/mips.*/mips/' \
 		-e 's/mipsel.*/mips/' \
-		-e 's/cris.*/cris/' \
 )
 
 GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
diff --git a/toolchain/uClibc/config-0.9.33.2/cris b/toolchain/uClibc/config-0.9.33.2/cris
deleted file mode 100644
index 4164484aa7..0000000000
--- a/toolchain/uClibc/config-0.9.33.2/cris
+++ /dev/null
@@ -1,8 +0,0 @@
-ARCH_LITTLE_ENDIAN=y
-CONFIG_CRIS=y
-# CONFIG_CRISV32 is not set
-LINUXTHREADS_OLD=y
-TARGET_ARCH="cris"
-TARGET_cris=y
-UCLIBC_HAS_FPU=y
-# UCLIBC_HAS_THREADS_NATIVE is not set
-- 
GitLab