diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2007-06-08 10:44:01 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2007-06-08 10:44:01 +0000 |
commit | 08c72656130891389229ca29e455e08bc735ce1f (patch) | |
tree | f32a71704a40c818fa3ea64efa0aefefc4196a8b /include | |
parent | 6fb68cb589d76499f5da5902dd83c87722a228f5 (diff) | |
download | mtk-20170518-08c72656130891389229ca29e455e08bc735ce1f.zip mtk-20170518-08c72656130891389229ca29e455e08bc735ce1f.tar.gz mtk-20170518-08c72656130891389229ca29e455e08bc735ce1f.tar.bz2 |
add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori
SVN-Revision: 7533
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-defaults.mk | 3 | ||||
-rw-r--r-- | include/site/avr32-linux-uclibc | 31 |
2 files changed, 34 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 529b330..84030a6 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -21,6 +21,9 @@ endif ifneq (,$(findstring ppc,$(BOARD))) KERNELNAME="uImage" endif +ifneq (,$(findstring avr32,$(BOARD))) + KERNELNAME="uImage" +endif KERNEL_MAKEOPTS := -C $(LINUX_DIR) \ CROSS_COMPILE="$(KERNEL_CROSS)" \ diff --git a/include/site/avr32-linux-uclibc b/include/site/avr32-linux-uclibc new file mode 100644 index 0000000..5ea2515 --- /dev/null +++ b/include/site/avr32-linux-uclibc @@ -0,0 +1,31 @@ +#!/bin/sh + +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=8 +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 + +. $TOPDIR/include/site/linux-uclibc + |