summaryrefslogtreecommitdiffstats
path: root/Rules.mak
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-16 14:26:46 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-16 14:26:46 +0000
commite130b681c43ee2215512ffcf6cadcbc4487e96e6 (patch)
tree107831cfb61595a907dff264d1bdbf02e18c53f5 /Rules.mak
parentc08b07bc9bff10988100653d280e8afe428249f7 (diff)
downloaduClibc-alpine-e130b681c43ee2215512ffcf6cadcbc4487e96e6.tar.bz2
uClibc-alpine-e130b681c43ee2215512ffcf6cadcbc4487e96e6.tar.xz
Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 5be6bbed4..33bc7ab99 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -317,6 +317,12 @@ ifeq ($(TARGET_ARCH),frv)
UCLIBC_LDSO=ld.so.1
endif
+ifeq ($(strip $(TARGET_ARCH)),avr32)
+ CPU_CFLAGS-$(CONFIG_AVR32_AP7) += -march=ap
+ CPU_CFLAGS-$(CONFIG_LINKRELAX) += -mrelax
+ CPU_LDFLAGS-$(CONFIG_LINKRELAX) += --relax
+endif
+
# Keep the check_gcc from being needlessly executed
ifndef PIEFLAG
ifneq ($(UCLIBC_BUILD_PIE),y)