From 4a1e2123eba1804923188910687e9935a3f17e40 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Fri, 30 Nov 2012 10:53:51 +0000
Subject: [PATCH] kernel: remove references to TARGET_ubicom32

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34431
---
 package/kernel/modules/block.mk      | 2 +-
 package/kernel/modules/crypto.mk     | 1 -
 package/kernel/modules/netdevices.mk | 2 +-
 target/Config.in                     | 5 -----
 4 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/package/kernel/modules/block.mk b/package/kernel/modules/block.mk
index a4288b2a8b..ba2443957a 100644
--- a/package/kernel/modules/block.mk
+++ b/package/kernel/modules/block.mk
@@ -25,7 +25,7 @@ $(eval $(call KernelPackage,aoe))
 define KernelPackage/ata-core
   SUBMENU:=$(BLOCK_MENU)
   TITLE:=Serial and Parallel ATA support
-  DEPENDS:=@PCI_SUPPORT +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax)
+  DEPENDS:=@PCI_SUPPORT +kmod-scsi-core @!TARGET_etrax
   KCONFIG:=CONFIG_ATA
   FILES:=$(LINUX_DIR)/drivers/ata/libata.ko
   AUTOLOAD:=$(call AutoLoad,21,libata,1)
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 36e47ea735..383f9f318c 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -139,7 +139,6 @@ $(eval $(call KernelPackage,crypto-hw-geode))
 
 define KernelPackage/crypto-hw-hifn-795x
   TITLE:=HIFN 795x crypto accelerator
-  DEPENDS:=@!TARGET_ubicom32
   KCONFIG:= \
 	CONFIG_HW_RANDOM=y \
 	CONFIG_CRYPTO_DEV_HIFN_795X \
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk
index 180be301cf..c539ea5001 100644
--- a/package/kernel/modules/netdevices.mk
+++ b/package/kernel/modules/netdevices.mk
@@ -473,7 +473,7 @@ $(eval $(call KernelPackage,pcnet32))
 define KernelPackage/tg3
   TITLE:=Broadcom Tigon3 Gigabit Ethernet
   KCONFIG:=CONFIG_TIGON3
-  DEPENDS:=+!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32
+  DEPENDS:=+!TARGET_brcm47xx:kmod-libphy
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
   AUTOLOAD:=$(call AutoLoad,50,tg3)
diff --git a/target/Config.in b/target/Config.in
index cc42ad1266..31f3ced51d 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -131,10 +131,6 @@ config sparc
 	select BIG_ENDIAN
 	bool
 
-config ubicom32
-	select BIG_ENDIAN
-	bool
-
 config x86_64
 	bool
 
@@ -157,6 +153,5 @@ config ARCH
 	default "sh4"       if sh4
 	default "sh4eb"     if sh4eb
 	default "sparc"     if sparc
-	default "ubicom32"  if ubicom32
 	default "x86_64"    if x86_64
 
-- 
2.30.2