summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/modules.mk2
-rw-r--r--mk/vars.mk2
-rw-r--r--package/cpufrequtils/Makefile2
-rw-r--r--package/xterm/Makefile2
4 files changed, 5 insertions, 3 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/mk/vars.mk b/mk/vars.mk
index 78b37fbbe..fdd9f432c 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -14,7 +14,7 @@ TARGET_DEBUGGING:= -g3 -fno-omit-frame-pointer
else
TARGET_DEBUGGING:= -fomit-frame-pointer $(TARGET_OPTIMIZATION)
endif
-TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) $(TARGET_DEBUGGING)
+TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) $(TARGET_DEBUGGING) -fwrapv
ifneq ($(ADK_TARGET_ARCH_OPTIMIZATION),)
TARGET_CFLAGS+= -march=$(ADK_TARGET_ARCH_OPTIMIZATION)
endif
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