From ac52e3bd03bcaf6ad5c48c01a4697aa201000433 Mon Sep 17 00:00:00 2001 From: kaloz Date: Fri, 8 Jun 2007 10:44:01 +0000 Subject: add support for the AVR32 platform, namely the ATNGW100 board - joint work with wigyori git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7533 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/kernel-defaults.mk | 3 +++ include/site/avr32-linux-uclibc | 31 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 include/site/avr32-linux-uclibc (limited to 'include') diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 529b330851..84030a6d2d 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 0000000000..5ea25159a6 --- /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 + -- cgit v1.2.3