From 2004d4165a115806503d31a3d1162e1d3ab3ed6b Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Sun, 21 Jun 2009 18:34:07 +0000 Subject: add preliminary coldfire v4e support SVN-Revision: 16538 --- include/site/m68k-linux | 26 ++++++++++++++++++++++++++ include/site/m68k-openwrt-linux-gnu | 5 +++++ include/site/m68k-openwrt-linux-uclibc | 5 +++++ include/target.mk | 1 + 4 files changed, 37 insertions(+) create mode 100644 include/site/m68k-linux create mode 100644 include/site/m68k-openwrt-linux-gnu create mode 100644 include/site/m68k-openwrt-linux-uclibc (limited to 'include') diff --git a/include/site/m68k-linux b/include/site/m68k-linux new file mode 100644 index 0000000000..1005902592 --- /dev/null +++ b/include/site/m68k-linux @@ -0,0 +1,26 @@ +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/m68k-openwrt-linux-gnu b/include/site/m68k-openwrt-linux-gnu new file mode 100644 index 0000000000..69c51d5968 --- /dev/null +++ b/include/site/m68k-openwrt-linux-gnu @@ -0,0 +1,5 @@ +#!/bin/sh + +. $TOPDIR/include/site/m68k-linux +. $TOPDIR/include/site/linux-gnu + diff --git a/include/site/m68k-openwrt-linux-uclibc b/include/site/m68k-openwrt-linux-uclibc new file mode 100644 index 0000000000..69c51d5968 --- /dev/null +++ b/include/site/m68k-openwrt-linux-uclibc @@ -0,0 +1,5 @@ +#!/bin/sh + +. $TOPDIR/include/site/m68k-linux +. $TOPDIR/include/site/linux-gnu + diff --git a/include/target.mk b/include/target.mk index 8769c30575..7facaeed83 100644 --- a/include/target.mk +++ b/include/target.mk @@ -162,6 +162,7 @@ ifeq ($(DUMP),1) endif DEFAULT_CFLAGS_i386=-O2 -pipe -march=i486 -funit-at-a-time DEFAULT_CFLAGS_x86_64=-O2 -pipe -march=athlon64 -funit-at-a-time + DEFAULT_CFLAGS_m68k=-Os -pipe -mcfv4e -funit-at-a-time DEFAULT_CFLAGS_mips=-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time DEFAULT_CFLAGS_mipsel=$(DEFAULT_CFLAGS_mips) DEFAULT_CFLAGS_mips64=-Os -pipe -mips64 -mtune=mips64 -mabi=64 -funit-at-a-time -- cgit v1.2.3