Ticket #2054: sh775x-r8742.diff

File sh775x-r8742.diff, 22.0 KB (added by wigyori@…, 9 years ago)
  • include/site/sh4-linux-uclibc

    diff -ruN trunk.r8742/include/site/sh4-linux-uclibc trunk/include/site/sh4-linux-uclibc
    old new  
     1#!/bin/sh 
     2 
     3ac_cv_c_littleendian=${ac_cv_c_littleendian=no} 
     4ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} 
     5 
     6ac_cv_sizeof___int64=0 
     7ac_cv_sizeof_char=1 
     8ac_cv_sizeof_int=4 
     9ac_cv_sizeof_int16_t=2 
     10ac_cv_sizeof_int32_t=4 
     11ac_cv_sizeof_int64_t=8 
     12ac_cv_sizeof_long_int=4 
     13ac_cv_sizeof_long_long=8 
     14ac_cv_sizeof_long=4 
     15ac_cv_sizeof_off_t=4 
     16ac_cv_sizeof_short_int=2 
     17ac_cv_sizeof_short=2 
     18ac_cv_sizeof_size_t=4 
     19ac_cv_sizeof_u_int16_t=2 
     20ac_cv_sizeof_u_int32_t=4 
     21ac_cv_sizeof_u_int64_t=8 
     22ac_cv_sizeof_uint16_t=2 
     23ac_cv_sizeof_uint32_t=4 
     24ac_cv_sizeof_uint64_t=8 
     25ac_cv_sizeof_unsigned_int=4 
     26ac_cv_sizeof_unsigned_long=4 
     27ac_cv_sizeof_unsigned_short=2 
     28ac_cv_sizeof_void_p=4 
     29 
     30. $TOPDIR/include/site/linux-uclibc 
     31 
  • target/linux/sh775x/base-files/default/etc/config/network

    Binary files trunk.r8742/scripts/config/zconf.tab.o and trunk/scripts/config/zconf.tab.o differ
    diff -ruN trunk.r8742/target/linux/sh775x/base-files/default/etc/config/network trunk/target/linux/sh775x/base-files/default/etc/config/network
    old new  
     1# Copyright (C) 2007 OpenWrt.org 
     2 
     3config interface loopback 
     4        option ifname   lo 
     5        option proto    static 
     6        option ipaddr   127.0.0.1 
     7        option netmask  255.0.0.0 
     8 
     9config interface lan 
     10        option ifname   eth0 
     11        option proto    static 
     12        option ipaddr   192.168.1.1 
     13        option netmask  255.255.255.0 
  • target/linux/sh775x/config-2.6.22

    diff -ruN trunk.r8742/target/linux/sh775x/config-2.6.22 trunk/target/linux/sh775x/config-2.6.22
    old new  
     1CONFIG_8139CP=y 
     2# CONFIG_8139TOO is not set 
     3# CONFIG_AF_RXRPC is not set 
     4CONFIG_ANON_INODES=y 
     5# CONFIG_ARCH_HAS_ILOG2_U32 is not set 
     6# CONFIG_ARCH_HAS_ILOG2_U64 is not set 
     7CONFIG_ARCH_POPULATES_NODE_MAP=y 
     8# CONFIG_ARCH_SUPPORTS_MSI is not set 
     9CONFIG_ATA=y 
     10# CONFIG_ATA_GENERIC is not set 
     11# CONFIG_ATA_NONSTANDARD is not set 
     12# CONFIG_ATA_PIIX is not set 
     13# CONFIG_ATM is not set 
     14CONFIG_BASE_SMALL=0 
     15CONFIG_BITREVERSE=y 
     16# CONFIG_BLINK is not set 
     17CONFIG_BLK_DEV_SD=y 
     18CONFIG_BOOT_LINK_OFFSET=0x00800000 
     19CONFIG_CFG80211=m 
     20CONFIG_CMDLINE="console=ttySC1,9600 mem=64M init=/etc/preinit root=/dev/sda1" 
     21CONFIG_CMDLINE_BOOL=y 
     22# CONFIG_CPU_BIG_ENDIAN is not set 
     23# CONFIG_CPU_FREQ is not set 
     24CONFIG_CPU_HAS_INTEVT=y 
     25CONFIG_CPU_HAS_IPR_IRQ=y 
     26CONFIG_CPU_HAS_PTEA=y 
     27CONFIG_CPU_HAS_SR_RB=y 
     28CONFIG_CPU_LITTLE_ENDIAN=y 
     29CONFIG_CPU_SH4=y 
     30# CONFIG_CPU_SUBTYPE_SH4_202 is not set 
     31# CONFIG_CPU_SUBTYPE_SH7091 is not set 
     32# CONFIG_CPU_SUBTYPE_SH7206 is not set 
     33# CONFIG_CPU_SUBTYPE_SH7300 is not set 
     34# CONFIG_CPU_SUBTYPE_SH73180 is not set 
     35# CONFIG_CPU_SUBTYPE_SH7343 is not set 
     36# CONFIG_CPU_SUBTYPE_SH7604 is not set 
     37# CONFIG_CPU_SUBTYPE_SH7619 is not set 
     38# CONFIG_CPU_SUBTYPE_SH7705 is not set 
     39# CONFIG_CPU_SUBTYPE_SH7706 is not set 
     40# CONFIG_CPU_SUBTYPE_SH7707 is not set 
     41# CONFIG_CPU_SUBTYPE_SH7708 is not set 
     42# CONFIG_CPU_SUBTYPE_SH7709 is not set 
     43# CONFIG_CPU_SUBTYPE_SH7710 is not set 
     44# CONFIG_CPU_SUBTYPE_SH7712 is not set 
     45# CONFIG_CPU_SUBTYPE_SH7722 is not set 
     46# CONFIG_CPU_SUBTYPE_SH7750 is not set 
     47# CONFIG_CPU_SUBTYPE_SH7750R is not set 
     48# CONFIG_CPU_SUBTYPE_SH7750S is not set 
     49CONFIG_CPU_SUBTYPE_SH7751=y 
     50CONFIG_CPU_SUBTYPE_SH7751R=y 
     51# CONFIG_CPU_SUBTYPE_SH7760 is not set 
     52# CONFIG_CPU_SUBTYPE_SH7770 is not set 
     53# CONFIG_CPU_SUBTYPE_SH7780 is not set 
     54# CONFIG_CPU_SUBTYPE_SH7785 is not set 
     55# CONFIG_CPU_SUBTYPE_ST40GX1 is not set 
     56# CONFIG_CPU_SUBTYPE_ST40STB1 is not set 
     57# CONFIG_CRASH_DUMP is not set 
     58# CONFIG_CRC_ITU_T is not set 
     59# CONFIG_CRYPTO_CRYPTD is not set 
     60# CONFIG_DAB is not set 
     61# CONFIG_DEBUG_BUGVERBOSE is not set 
     62CONFIG_DEVPORT=y 
     63# CONFIG_DISPLAY_SUPPORT is not set 
     64# CONFIG_DVB_CORE is not set 
     65# CONFIG_EARLY_PRINTK is not set 
     66# CONFIG_EARLY_SCIF_CONSOLE is not set 
     67CONFIG_EVENTFD=y 
     68CONFIG_EXT3_FS=y 
     69# CONFIG_EXT3_FS_POSIX_ACL is not set 
     70# CONFIG_EXT3_FS_SECURITY is not set 
     71CONFIG_EXT3_FS_XATTR=y 
     72# CONFIG_FIREWIRE is not set 
     73CONFIG_FS_MBCACHE=y 
     74CONFIG_FS_POSIX_ACL=y 
     75CONFIG_GENERIC_BUG=y 
     76CONFIG_GENERIC_CLOCKEVENTS=y 
     77CONFIG_GENERIC_FIND_NEXT_BIT=y 
     78CONFIG_HAS_DMA=y 
     79CONFIG_HAS_IOMEM=y 
     80CONFIG_HAS_IOPORT=y 
     81# CONFIG_HD6446X_SERIES is not set 
     82CONFIG_HEARTBEAT=y 
     83# CONFIG_HIGH_RES_TIMERS is not set 
     84# CONFIG_HUGETLBFS is not set 
     85# CONFIG_HW_RANDOM is not set 
     86# CONFIG_I2C is not set 
     87# CONFIG_IDE is not set 
     88CONFIG_INITRAMFS_SOURCE="" 
     89# CONFIG_IPV6_OPTIMISTIC_DAD is not set 
     90CONFIG_JBD=y 
     91CONFIG_KMOD=y 
     92CONFIG_LEDS_CLASS=m 
     93CONFIG_LEDS_TRIGGER_HEARTBEAT=m 
     94CONFIG_LEDS_TRIGGER_TIMER=m 
     95CONFIG_MAC80211=m 
     96# CONFIG_MAC80211_DEBUG is not set 
     97# CONFIG_MAC80211_LEDS is not set 
     98CONFIG_MAX_ACTIVE_REGIONS=1 
     99CONFIG_MEMORY_SIZE=0x04000000 
     100CONFIG_MEMORY_START=0x0c000000 
     101# CONFIG_MTD is not set 
     102# CONFIG_NATSEMI is not set 
     103# CONFIG_NE2K_PCI is not set 
     104# CONFIG_NETDEV_1000 is not set 
     105# CONFIG_NETDEV_10000 is not set 
     106CONFIG_NET_SCH_FIFO=y 
     107# CONFIG_NET_VENDOR_3COM is not set 
     108# CONFIG_NO_HZ is not set 
     109# CONFIG_NR_DMA_CHANNELS_BOOL is not set 
     110CONFIG_NR_ONCHIP_DMA_CHANNELS=8 
     111CONFIG_NR_QUICK=2 
     112CONFIG_PAGE_OFFSET=0x80000000 
     113CONFIG_PAGE_SIZE_4KB=y 
     114# CONFIG_PAGE_SIZE_64KB is not set 
     115# CONFIG_PAGE_SIZE_8KB is not set 
     116# CONFIG_PATA_CMD640_PCI is not set 
     117CONFIG_PATA_PLATFORM=y 
     118CONFIG_PCI_AUTO=y 
     119CONFIG_PCI_AUTO_UPDATE_RESOURCES=y 
     120# CONFIG_PDC_ADMA is not set 
     121# CONFIG_PHANTOM is not set 
     122# CONFIG_PNPACPI is not set 
     123CONFIG_PRINTK_TIME=y 
     124CONFIG_PUSH_SWITCH=y 
     125CONFIG_QUICKLIST=y 
     126# CONFIG_RADIO_ADAPTERS is not set 
     127# CONFIG_RFKILL is not set 
     128CONFIG_RTC_CLASS=m 
     129# CONFIG_RTC_DRV_DS1553 is not set 
     130# CONFIG_RTC_DRV_DS1742 is not set 
     131# CONFIG_RTC_DRV_M48T86 is not set 
     132CONFIG_RTC_DRV_RS5C313=m 
     133# CONFIG_RTC_DRV_SH is not set 
     134# CONFIG_RTC_DRV_TEST is not set 
     135# CONFIG_RTC_DRV_V3020 is not set 
     136CONFIG_RTC_INTF_DEV=y 
     137# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set 
     138CONFIG_RTC_INTF_PROC=y 
     139CONFIG_RTC_INTF_SYSFS=y 
     140CONFIG_RTC_LIB=m 
     141CONFIG_RWSEM_GENERIC_SPINLOCK=y 
     142# CONFIG_SATA_AHCI is not set 
     143CONFIG_SCSI=y 
     144CONFIG_SCSI_WAIT_SCAN=m 
     145# CONFIG_SERIAL_8250_EXTENDED is not set 
     146CONFIG_SERIAL_SH_SCI=y 
     147CONFIG_SERIAL_SH_SCI_CONSOLE=y 
     148CONFIG_SERIAL_SH_SCI_NR_UARTS=2 
     149# CONFIG_SH_7206_SOLUTION_ENGINE is not set 
     150# CONFIG_SH_7300_SOLUTION_ENGINE is not set 
     151# CONFIG_SH_73180_SOLUTION_ENGINE is not set 
     152# CONFIG_SH_7343_SOLUTION_ENGINE is not set 
     153# CONFIG_SH_7619_SOLUTION_ENGINE is not set 
     154# CONFIG_SH_7710VOIPGW is not set 
     155# CONFIG_SH_7722_SOLUTION_ENGINE is not set 
     156# CONFIG_SH_7751_SOLUTION_ENGINE is not set 
     157# CONFIG_SH_7751_SYSTEMH is not set 
     158# CONFIG_SH_7780_SOLUTION_ENGINE is not set 
     159# CONFIG_SH_DIRECT_MAPPED is not set 
     160CONFIG_SH_DMA=y 
     161CONFIG_SH_DMA_API=y 
     162# CONFIG_SH_DREAMCAST is not set 
     163# CONFIG_SH_DSP is not set 
     164# CONFIG_SH_EDOSK7705 is not set 
     165CONFIG_SH_FPU=y 
     166# CONFIG_SH_HIGHLANDER is not set 
     167# CONFIG_SH_HP6XX is not set 
     168# CONFIG_SH_HS7751RVOIP is not set 
     169# CONFIG_SH_KGDB is not set 
     170CONFIG_SH_LANDISK=y 
     171# CONFIG_SH_LBOX_RE2 is not set 
     172# CONFIG_SH_MPC1211 is not set 
     173# CONFIG_SH_OCRAM is not set 
     174CONFIG_SH_PCIDMA_NONCOHERENT=y 
     175CONFIG_SH_PCLK_FREQ=33333333 
     176# CONFIG_SH_RTS7751R2D is not set 
     177# CONFIG_SH_SATURN is not set 
     178# CONFIG_SH_SECUREEDGE5410 is not set 
     179# CONFIG_SH_SH03 is not set 
     180# CONFIG_SH_SH4202_MICRODEV is not set 
     181# CONFIG_SH_SHMIN is not set 
     182# CONFIG_SH_SOLUTION_ENGINE is not set 
     183CONFIG_SH_STANDARD_BIOS=y 
     184# CONFIG_SH_STORE_QUEUES is not set 
     185CONFIG_SH_TIMER_IRQ=16 
     186# CONFIG_SH_TITAN is not set 
     187CONFIG_SH_TMU=y 
     188# CONFIG_SH_UNKNOWN is not set 
     189# CONFIG_SH_WRITETHROUGH is not set 
     190CONFIG_SIGNALFD=y 
     191# CONFIG_SLUB is not set 
     192# CONFIG_SMC91X is not set 
     193# CONFIG_SMP is not set 
     194# CONFIG_SND_USB_AUDIO is not set 
     195# CONFIG_SND_USB_CAIAQ is not set 
     196# CONFIG_SPARSEMEM_STATIC is not set 
     197# CONFIG_STNIC is not set 
     198# CONFIG_SUNRPC_BIND34 is not set 
     199CONFIG_SUPERH=y 
     200# CONFIG_SYSV68_PARTITION is not set 
     201CONFIG_SYSVIPC_SYSCTL=y 
     202# CONFIG_TCP_CONG_ILLINOIS is not set 
     203# CONFIG_TCP_CONG_YEAH is not set 
     204# CONFIG_TICK_ONESHOT is not set 
     205CONFIG_TIMERFD=y 
     206# CONFIG_UBC_WAKEUP is not set 
     207CONFIG_UID16=y 
     208# CONFIG_UNUSED_SYMBOLS is not set 
     209# CONFIG_USB_DEVICE_CLASS is not set 
     210# CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set 
     211CONFIG_USB_EHCI_HCD=m 
     212# CONFIG_USB_EHCI_ROOT_HUB_TT is not set 
     213# CONFIG_USB_EHCI_SPLIT_ISO is not set 
     214# CONFIG_USB_EHCI_TT_NEWSCHED is not set 
     215# CONFIG_USB_UHCI_HCD is not set 
     216# CONFIG_VGASTATE is not set 
     217# CONFIG_VIA_RHINE is not set 
     218# CONFIG_VIDEO_CAPTURE_DRIVERS is not set 
     219CONFIG_VSYSCALL=y 
     220# CONFIG_WATCHDOG is not set 
     221# CONFIG_WLAN_80211 is not set 
     222# CONFIG_WLAN_PRE80211 is not set 
     223CONFIG_ZERO_PAGE_OFFSET=0x00001000 
     224CONFIG_ZLIB_DEFLATE=m 
     225CONFIG_ZONE_DMA_FLAG=0 
  • target/linux/sh775x/image/Makefile

    diff -ruN trunk.r8742/target/linux/sh775x/image/Makefile trunk/target/linux/sh775x/image/Makefile
    old new  
     1#  
     2# Copyright (C) 2007 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
     7include $(TOPDIR)/rules.mk 
     8include $(INCLUDE_DIR)/image.mk 
     9 
     10define Image/Prepare 
     11        cp $(LINUX_DIR)/arch/sh/boot/zImage $(KDIR)/zImage 
     12endef 
     13 
     14define Image/BuildKernel 
     15        cp $(KDIR)/zImage $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-zImage 
     16endef 
     17 
     18define Image/Build 
     19        $(call Image/Build/$(1),$(1)) 
     20endef 
     21 
     22$(eval $(call BuildImage)) 
  • target/linux/sh775x/Makefile

    diff -ruN trunk.r8742/target/linux/sh775x/Makefile trunk/target/linux/sh775x/Makefile
    old new  
     1#  
     2# Copyright (C) 2007 OpenWrt.org 
     3# 
     4# This is free software, licensed under the GNU General Public License v2. 
     5# See /LICENSE for more information. 
     6# 
     7include $(TOPDIR)/rules.mk 
     8 
     9ARCH:=sh4 
     10BOARD:=sh775x 
     11BOARDNAME:=SH775x-based 
     12FEATURES:=tgz 
     13 
     14LINUX_VERSION:=2.6.22.4 
     15 
     16define Target/Description 
     17        Build firmware images for SH775x-based boards 
     18        (currently only for IO-DATA USL-5P) 
     19endef 
     20 
     21#include $(INCLUDE_DIR)/kernel-build.mk 
     22include $(INCLUDE_DIR)/target.mk 
     23 
     24# include the profiles 
     25# -include profiles/*.mk 
     26 
     27$(eval $(call BuildTarget)) 
  • target/linux/sh775x/patches/102-pata_artop-landisk_fix.diff

    diff -ruN trunk.r8742/target/linux/sh775x/patches/102-pata_artop-landisk_fix.diff trunk/target/linux/sh775x/patches/102-pata_artop-landisk_fix.diff
    old new  
     1Binary files linux-2.6.22-rc4.dist/arch/sh/kernel/vsyscall/vsyscall-trapa.so and linux-2.6.22-rc4/arch/sh/kernel/vsyscall/vsyscall-trapa.so differ 
     2diff -ruN linux-2.6.22-rc4.dist/drivers/ata/pata_artop.c linux-2.6.22-rc4/drivers/ata/pata_artop.c 
     3--- linux-2.6.22-rc4.dist/drivers/ata/pata_artop.c      2007-06-07 10:44:21.783037000 +0200 
     4+++ linux-2.6.22-rc4/drivers/ata/pata_artop.c   2007-06-07 11:11:39.563037000 +0200 
     5@@ -107,7 +107,12 @@ 
     6        pci_read_config_byte(pdev, 0x49, &tmp); 
     7        if (tmp & (1 << ap->port_no)) 
     8                return ATA_CBL_PATA40; 
     9+#ifdef CONFIG_SH_LANDISK 
     10+       return ATA_CBL_PATA40_SHORT; 
     11+#else 
     12        return ATA_CBL_PATA80; 
     13+#endif 
     14+ 
     15 } 
     16  
     17 /** 
     18@@ -438,6 +443,14 @@ 
     19                .udma_mask      = ATA_UDMA5, 
     20                .port_ops       = &artop6260_ops, 
     21        }; 
     22+       static const struct ata_port_info info_626x_fast_fast = { 
     23+               .sht            = &artop_sht, 
     24+               .flags          = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 
     25+               .pio_mask       = 0x1f, /* pio0-4 */ 
     26+               .mwdma_mask     = 0x07, /* mwdma0-2 */ 
     27+               .udma_mask      = ATA_UDMA6, 
     28+               .port_ops       = &artop6260_ops, 
     29+       }; 
     30        const struct ata_port_info *ppi[] = { NULL, NULL }; 
     31  
     32        if (!printed_version++) 
     33@@ -462,6 +475,8 @@ 
     34                ppi[0] = &info_626x; 
     35                if (inb(io) & 0x10) 
     36                        ppi[0] = &info_626x_fast; 
     37+               else if (inb(io+2) & 0x10) 
     38+                       ppi[0] = &info_626x_fast_fast; 
     39                /* Mac systems come up with some registers not set as we 
     40                   will need them */ 
     41  
  • toolchain/gcc/Config.in

    diff -ruN trunk.r8742/toolchain/gcc/Config.in trunk/toolchain/gcc/Config.in
    old new  
    22 
    33choice 
    44        prompt "GCC compiler Version" if TOOLCHAINOPTS 
    5         default GCC_VERSION_3_4_6 if LINUX_2_4 
     5        default GCC_VERSION_3_4_6 if LINUX_2_4 || LINUX_2_6_SH775X 
    66        default GCC_VERSION_4_2_0 if LINUX_2_6_MAGICBOX 
    77        default GCC_VERSION_4_1_2 
    88        help 
  • toolchain/gcc/Config.version

    diff -ruN trunk.r8742/toolchain/gcc/Config.version trunk/toolchain/gcc/Config.version
    old new  
    88 
    99if !TOOLCHAINOPTS 
    1010        config GCC_VERSION_3_4_6 
    11                 default y if LINUX_2_4 
     11                default y if LINUX_2_4 || LINUX_2_6_SH775X 
    1212 
    1313        config GCC_VERSION_4_2_0 
    1414                default y if LINUX_2_6_MAGICBOX 
  • toolchain/kernel-headers/Makefile

    diff -ruN trunk.r8742/toolchain/kernel-headers/Makefile trunk/toolchain/kernel-headers/Makefile
    old new  
    3535        ln -sf arch-v10 $(PKG_BUILD_DIR)/arch/cris/arch 
    3636endef 
    3737 
     38define Build/Prepare/sh4 
     39        mkdir -p $(BUILD_DIR_TOOLCHAIN) 
     40        bzcat $(DL_DIR)/$(PKG_SOURCE) | $(HOST_TAR) -C $(BUILD_DIR_TOOLCHAIN) $(TAR_OPTIONS)  
     41        ln -sf $(PKG_BUILD_DIR)/include/asm-sh $(PKG_BUILD_DIR)/include/asm 
     42        $(SED) 's/@expr length/@-expr length/' $(PKG_BUILD_DIR)/Makefile 
     43        ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR) 
     44        $(KMAKE) landisk_defconfig 
     45endef 
     46 
    3847define Build/Configure/powerpc 
    3948        $(CP) $(PKG_BUILD_DIR)/include/asm-ppc/* $(PKG_BUILD_DIR)/include/asm-powerpc/ 
    4049        rm -rf $(PKG_BUILD_DIR)/include/asm-ppc 
  • toolchain/uClibc/config/sh4

    diff -ruN trunk.r8742/toolchain/uClibc/config/sh4 trunk/toolchain/uClibc/config/sh4
    old new  
     1# 
     2# Automatically generated make config: don't edit 
     3# 
     4# TARGET_alpha is not set 
     5# TARGET_arm is not set 
     6# TARGET_avr32 is not set 
     7# TARGET_bfin is not set 
     8# TARGET_cris is not set 
     9# TARGET_e1 is not set 
     10# TARGET_frv is not set 
     11# TARGET_h8300 is not set 
     12# TARGET_i386 is not set 
     13# TARGET_i960 is not set 
     14# TARGET_m68k is not set 
     15# TARGET_microblaze is not set 
     16# TARGET_mips is not set 
     17# TARGET_nios is not set 
     18# TARGET_nios2 is not set 
     19# TARGET_powerpc is not set 
     20TARGET_sh=y 
     21# TARGET_sh64 is not set 
     22# TARGET_sparc is not set 
     23# TARGET_v850 is not set 
     24# TARGET_x86_64 is not set 
     25 
     26# 
     27# Target Architecture Features and Options 
     28# 
     29HAVE_ELF=y 
     30ARCH_SUPPORTS_LITTLE_ENDIAN=y 
     31TARGET_ARCH="sh" 
     32ARCH_SUPPORTS_BIG_ENDIAN=y 
     33HAVE_DOT_HIDDEN=y 
     34# CONFIG_SH2A is not set 
     35# CONFIG_SH2 is not set 
     36# CONFIG_SH3 is not set 
     37CONFIG_SH4=y 
     38ARCH_LITTLE_ENDIAN=y 
     39# ARCH_BIG_ENDIAN is not set 
     40# ARCH_HAS_NO_MMU is not set 
     41ARCH_HAS_MMU=y 
     42UCLIBC_HAS_FLOATS=y 
     43HAS_FPU=y 
     44# DO_C99_MATH is not set 
     45KERNEL_SOURCE="/store/sh4/trunk/toolchain_build_sh4/linux" 
     46C_SYMBOL_PREFIX="" 
     47HAVE_DOT_CONFIG=y 
     48 
     49# 
     50# General Library Settings 
     51# 
     52# HAVE_NO_PIC is not set 
     53DOPIC=y 
     54# HAVE_NO_SHARED is not set 
     55HAVE_SHARED=y 
     56# ARCH_HAS_NO_LDSO is not set 
     57BUILD_UCLIBC_LDSO=y 
     58FORCE_SHAREABLE_TEXT_SEGMENTS=y 
     59LDSO_LDD_SUPPORT=y 
     60LDSO_CACHE_SUPPORT=y 
     61# LDSO_PRELOAD_FILE_SUPPORT is not set 
     62LDSO_BASE_FILENAME="ld.so" 
     63# LDSO_RUNPATH is not set 
     64DL_FINI_CRT_COMPAT=y 
     65UCLIBC_CTOR_DTOR=y 
     66# HAS_NO_THREADS is not set 
     67UCLIBC_HAS_THREADS=y 
     68# PTHREADS_DEBUG_SUPPORT is not set 
     69UCLIBC_HAS_LFS=y 
     70# UCLIBC_STATIC_LDCONFIG is not set 
     71# MALLOC is not set 
     72# MALLOC_SIMPLE is not set 
     73MALLOC_STANDARD=y 
     74MALLOC_GLIBC_COMPAT=y 
     75UCLIBC_DYNAMIC_ATEXIT=y 
     76HAS_SHADOW=y 
     77# UNIX98PTY_ONLY is not set 
     78ASSUME_DEVPTS=y 
     79UCLIBC_HAS_TM_EXTENSIONS=y 
     80UCLIBC_HAS_TZ_CACHING=y 
     81UCLIBC_HAS_TZ_FILE=y 
     82UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     83UCLIBC_TZ_FILE_PATH="/etc/TZ" 
     84 
     85# 
     86# Networking Support 
     87# 
     88UCLIBC_HAS_IPV6=y 
     89UCLIBC_HAS_RPC=y 
     90UCLIBC_HAS_FULL_RPC=y 
     91 
     92# 
     93# String and Stdio Support 
     94# 
     95UCLIBC_HAS_STRING_GENERIC_OPT=y 
     96UCLIBC_HAS_STRING_ARCH_OPT=y 
     97UCLIBC_HAS_CTYPE_TABLES=y 
     98UCLIBC_HAS_CTYPE_SIGNED=y 
     99# UCLIBC_HAS_CTYPE_UNSAFE is not set 
     100UCLIBC_HAS_CTYPE_CHECKED=y 
     101# UCLIBC_HAS_CTYPE_ENFORCED is not set 
     102UCLIBC_HAS_WCHAR=y 
     103# UCLIBC_HAS_LOCALE is not set 
     104UCLIBC_HAS_HEXADECIMAL_FLOATS=y 
     105UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
     106UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
     107UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     108# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
     109# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     110# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set 
     111# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set 
     112# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set 
     113UCLIBC_HAS_STDIO_BUFSIZ_4096=y 
     114# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set 
     115UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y 
     116# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set 
     117# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set 
     118# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set 
     119UCLIBC_HAS_STDIO_GETC_MACRO=y 
     120UCLIBC_HAS_STDIO_PUTC_MACRO=y 
     121UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y 
     122# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set 
     123UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y 
     124UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y 
     125UCLIBC_HAS_PRINTF_M_SPEC=y 
     126UCLIBC_HAS_ERRNO_MESSAGES=y 
     127# UCLIBC_HAS_SYS_ERRLIST is not set 
     128UCLIBC_HAS_SIGNUM_MESSAGES=y 
     129# UCLIBC_HAS_SYS_SIGLIST is not set 
     130UCLIBC_HAS_GNU_GETOPT=y 
     131 
     132# 
     133# Big and Tall 
     134# 
     135UCLIBC_HAS_REGEX=y 
     136UCLIBC_HAS_WORDEXP=y 
     137UCLIBC_HAS_FTW=y 
     138UCLIBC_HAS_GLOB=y 
     139 
     140# 
     141# Library Installation Options 
     142# 
     143SHARED_LIB_LOADER_PREFIX="/lib" 
     144RUNTIME_PREFIX="/" 
     145DEVEL_PREFIX="/usr/" 
     146 
     147# 
     148# uClibc security related options 
     149# 
     150# UCLIBC_SECURITY is not set 
     151 
     152# 
     153# uClibc development/debugging options 
     154# 
     155CROSS_COMPILER_PREFIX="" 
     156# DODEBUG is not set 
     157# DODEBUG_PT is not set 
     158# DOASSERTS is not set 
     159# SUPPORT_LD_DEBUG is not set 
     160# SUPPORT_LD_DEBUG_EARLY is not set 
     161WARNINGS="-Wall" 
     162# UCLIBC_MJN3_ONLY is not set 
  • toolchain/uClibc/config/sh4eb

    diff -ruN trunk.r8742/toolchain/uClibc/config/sh4eb trunk/toolchain/uClibc/config/sh4eb
    old new  
     1# 
     2# Automatically generated make config: don't edit 
     3# 
     4# TARGET_alpha is not set 
     5# TARGET_arm is not set 
     6# TARGET_bfin is not set 
     7# TARGET_cris is not set 
     8# TARGET_e1 is not set 
     9# TARGET_frv is not set 
     10# TARGET_h8300 is not set 
     11# TARGET_i386 is not set 
     12# TARGET_i960 is not set 
     13# TARGET_m68k is not set 
     14# TARGET_microblaze is not set 
     15# TARGET_mips is not set 
     16# TARGET_nios is not set 
     17# TARGET_nios2 is not set 
     18# TARGET_powerpc is not set 
     19TARGET_sh=y 
     20# TARGET_sh64 is not set 
     21# TARGET_sparc is not set 
     22# TARGET_v850 is not set 
     23# TARGET_x86_64 is not set 
     24 
     25# 
     26# Target Architecture Features and Options 
     27# 
     28HAVE_ELF=y 
     29ARCH_SUPPORTS_LITTLE_ENDIAN=y 
     30TARGET_ARCH="sh" 
     31ARCH_SUPPORTS_BIG_ENDIAN=y 
     32HAVE_DOT_HIDDEN=y 
     33# CONFIG_SH2A is not set 
     34# CONFIG_SH2 is not set 
     35# CONFIG_SH3 is not set 
     36CONFIG_SH4=y 
     37# ARCH_LITTLE_ENDIAN is not set 
     38ARCH_BIG_ENDIAN=y 
     39# ARCH_HAS_NO_MMU is not set 
     40ARCH_HAS_MMU=y 
     41UCLIBC_HAS_FLOATS=y 
     42HAS_FPU=y 
     43# DO_C99_MATH is not set 
     44KERNEL_SOURCE="./toolchain_build_sh4eb/linux" 
     45C_SYMBOL_PREFIX="" 
     46HAVE_DOT_CONFIG=y 
     47 
     48# 
     49# General Library Settings 
     50# 
     51# HAVE_NO_PIC is not set 
     52DOPIC=y 
     53# HAVE_NO_SHARED is not set 
     54HAVE_SHARED=y 
     55# ARCH_HAS_NO_LDSO is not set 
     56BUILD_UCLIBC_LDSO=y 
     57FORCE_SHAREABLE_TEXT_SEGMENTS=y 
     58LDSO_LDD_SUPPORT=y 
     59LDSO_CACHE_SUPPORT=y 
     60# LDSO_PRELOAD_FILE_SUPPORT is not set 
     61LDSO_BASE_FILENAME="ld.so" 
     62# LDSO_RUNPATH is not set 
     63DL_FINI_CRT_COMPAT=y 
     64UCLIBC_CTOR_DTOR=y 
     65# HAS_NO_THREADS is not set 
     66UCLIBC_HAS_THREADS=y 
     67# PTHREADS_DEBUG_SUPPORT is not set 
     68UCLIBC_HAS_LFS=y 
     69# UCLIBC_STATIC_LDCONFIG is not set 
     70# MALLOC is not set 
     71# MALLOC_SIMPLE is not set 
     72MALLOC_STANDARD=y 
     73MALLOC_GLIBC_COMPAT=y 
     74UCLIBC_DYNAMIC_ATEXIT=y 
     75HAS_SHADOW=y 
     76# UNIX98PTY_ONLY is not set 
     77ASSUME_DEVPTS=y 
     78UCLIBC_HAS_TM_EXTENSIONS=y 
     79UCLIBC_HAS_TZ_CACHING=y 
     80UCLIBC_HAS_TZ_FILE=y 
     81UCLIBC_HAS_TZ_FILE_READ_MANY=y 
     82UCLIBC_TZ_FILE_PATH="/etc/TZ" 
     83 
     84# 
     85# Networking Support 
     86# 
     87UCLIBC_HAS_IPV6=y 
     88UCLIBC_HAS_RPC=y 
     89UCLIBC_HAS_FULL_RPC=y 
     90 
     91# 
     92# String and Stdio Support 
     93# 
     94UCLIBC_HAS_STRING_GENERIC_OPT=y 
     95UCLIBC_HAS_STRING_ARCH_OPT=y 
     96UCLIBC_HAS_CTYPE_TABLES=y 
     97UCLIBC_HAS_CTYPE_SIGNED=y 
     98# UCLIBC_HAS_CTYPE_UNSAFE is not set 
     99UCLIBC_HAS_CTYPE_CHECKED=y 
     100# UCLIBC_HAS_CTYPE_ENFORCED is not set 
     101UCLIBC_HAS_WCHAR=y 
     102# UCLIBC_HAS_LOCALE is not set 
     103UCLIBC_HAS_HEXADECIMAL_FLOATS=y 
     104UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y 
     105UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9 
     106UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y 
     107# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set 
     108# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set 
     109# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set 
     110# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set 
     111# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set 
     112UCLIBC_HAS_STDIO_BUFSIZ_4096=y 
     113# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set 
     114UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y 
     115# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set 
     116# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set 
     117# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set 
     118UCLIBC_HAS_STDIO_GETC_MACRO=y 
     119UCLIBC_HAS_STDIO_PUTC_MACRO=y 
     120UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y 
     121# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set 
     122UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y 
     123UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y 
     124UCLIBC_HAS_PRINTF_M_SPEC=y 
     125UCLIBC_HAS_ERRNO_MESSAGES=y 
     126# UCLIBC_HAS_SYS_ERRLIST is not set 
     127UCLIBC_HAS_SIGNUM_MESSAGES=y 
     128# UCLIBC_HAS_SYS_SIGLIST is not set 
     129UCLIBC_HAS_GNU_GETOPT=y 
     130 
     131# 
     132# Big and Tall 
     133# 
     134UCLIBC_HAS_REGEX=y 
     135UCLIBC_HAS_WORDEXP=y 
     136UCLIBC_HAS_FTW=y 
     137UCLIBC_HAS_GLOB=y 
     138 
     139# 
     140# Library Installation Options 
     141# 
     142SHARED_LIB_LOADER_PREFIX="/lib" 
     143RUNTIME_PREFIX="/" 
     144DEVEL_PREFIX="/usr/" 
     145 
     146# 
     147# uClibc security related options 
     148# 
     149# UCLIBC_SECURITY is not set 
     150 
     151# 
     152# uClibc development/debugging options 
     153# 
     154CROSS_COMPILER_PREFIX="" 
     155# DODEBUG is not set 
     156# DODEBUG_PT is not set 
     157# DOASSERTS is not set 
     158# SUPPORT_LD_DEBUG is not set 
     159# SUPPORT_LD_DEBUG_EARLY is not set 
     160WARNINGS="-Wall" 
     161# UCLIBC_MJN3_ONLY is not set