diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-06-21 18:34:07 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-06-21 18:34:07 +0000 |
commit | 2004d4165a115806503d31a3d1162e1d3ab3ed6b (patch) | |
tree | 079db45f0521d47c1860a9d75019a9b9c390c71a /include | |
parent | 76d86cd4bba8c968475ec9390aa886b8fd6a7adf (diff) | |
download | mtk-20170518-2004d4165a115806503d31a3d1162e1d3ab3ed6b.zip mtk-20170518-2004d4165a115806503d31a3d1162e1d3ab3ed6b.tar.gz mtk-20170518-2004d4165a115806503d31a3d1162e1d3ab3ed6b.tar.bz2 |
add preliminary coldfire v4e support
SVN-Revision: 16538
Diffstat (limited to 'include')
-rw-r--r-- | include/site/m68k-linux | 26 | ||||
-rw-r--r-- | include/site/m68k-openwrt-linux-gnu | 5 | ||||
-rw-r--r-- | include/site/m68k-openwrt-linux-uclibc | 5 | ||||
-rw-r--r-- | include/target.mk | 1 |
4 files changed, 37 insertions, 0 deletions
diff --git a/include/site/m68k-linux b/include/site/m68k-linux new file mode 100644 index 0000000..1005902 --- /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 0000000..69c51d5 --- /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 0000000..69c51d5 --- /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 8769c30..7facaee 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 |