From a59afdda1ae3290da090a878a1e0893a3a0f01e0 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sun, 1 Aug 2010 08:56:50 +0200
Subject: disable packages and kernel modules for ag241

---
 mk/modules.mk                 | 2 ++
 package/cpufrequtils/Makefile | 2 +-
 package/xterm/Makefile        | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/mk/modules.mk b/mk/modules.mk
index 943225bdb..10f9a6266 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -905,8 +905,10 @@ $(eval $(call KMOD_template,CRYPTO_FCRYPT,crypto-fcrypt,\
 
 ZLIB:=lib/zlib_deflate/zlib_deflate
 ifeq ($(ADK_LINUX_CRIS_FOXBOARD),)
+ifeq ($(ADK_LINUX_MIPS_AG241),)
 ZLIB+=lib/zlib_inflate/zlib_inflate
 endif
+endif
 
 $(eval $(call KMOD_template,CRYPTO_DEFLATE,crypto-deflate,\
     $(foreach mod, $(ZLIB),$(MODULES_DIR)/kernel/$(mod)) \
diff --git a/package/cpufrequtils/Makefile b/package/cpufrequtils/Makefile
index ea49feb6c..1962dd729 100644
--- a/package/cpufrequtils/Makefile
+++ b/package/cpufrequtils/Makefile
@@ -11,7 +11,7 @@ PKG_DESCR:=		utilities for the Linux kernel cpufreq subsystem
 PKG_SECTION:=		utils
 PKG_URL:=		http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html
 PKG_SITES:=		http://www.kernel.org/pub/linux/utils/kernel/cpufreq/
-PKG_TARGET_DEPENDS:=	!foxboard !foxg20
+PKG_TARGET_DEPENDS:=	!foxboard !foxg20 !ag241
 
 include $(TOPDIR)/mk/package.mk
 
diff --git a/package/xterm/Makefile b/package/xterm/Makefile
index ffe33ec8b..fe9aa5e83 100644
--- a/package/xterm/Makefile
+++ b/package/xterm/Makefile
@@ -14,7 +14,7 @@ PKG_URL:=		http://invisible-island.net/xterm/xterm.html
 PKG_SITES:=		ftp://invisible-island.net/xterm/
 
 DISTFILES:=             ${PKG_NAME}-${PKG_VERSION}.tgz
-PKG_TARGET_DEPENDS:=	!foxboard !foxg20
+PKG_TARGET_DEPENDS:=	!foxboard !foxg20 !ag241
 
 include $(TOPDIR)/mk/package.mk
 
-- 
cgit v1.2.3