Changeset 3051

Show
Ignore:
Timestamp:
07/01/07 02:50:08 (1 year ago)
Author:
wbx
Message:

add some more no_kernel architectures, some are verified, some not, i get some new hardware soon, to verify the toolchain and some packages :}

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/Config.in

    r2996 r3051  
    3232config FWRT_mipsel 
    3333        tristate 
     34 
     35config FWRT_avr32 
     36        tristate 
     37        select FWRT_BIG_ENDIAN 
    3438 
    3539config FWRT_armeb 
     
    7781        default "arm"     if FWRT_arm 
    7882        default "armeb"   if FWRT_armeb 
     83        default "avr32"   if FWRT_avr32 
    7984        default "cris"    if FWRT_cris 
    8085        default "i386"    if FWRT_i386 
  • trunk/freewrt/mk/targets.mk

    r2916 r3051  
    7575$(eval $(call nokerneltarget_template,2.4,pkgmips,mips,NOKERNEL_MIPS)) 
    7676$(eval $(call nokerneltarget_template,2.4,pkgarmeb,armeb,NOKERNEL_ARMEB)) 
     77$(eval $(call nokerneltarget_template,2.4,pkgarm,arm,NOKERNEL_ARM)) 
     78$(eval $(call nokerneltarget_template,2.4,pkgcris,cris,NOKERNEL_CRIS)) 
     79$(eval $(call nokerneltarget_template,2.4,pkgavr32,avr32,NOKERNEL_AVR32)) 
     80$(eval $(call nokerneltarget_template,2.4,pkgpowerpc,powerpc,NOKERNEL_POWERPC)) 
    7781$(eval $(call nokerneltarget_template,2.4,pkgi386,i386,NOKERNEL_I386)) 
    7882 
  • trunk/freewrt/rules.mk

    r2996 r3051  
    101101else ifeq ($(strip ${FWRT_armeb}),y) 
    102102UNAME_M:=               arm 
     103else ifeq ($(strip ${FWRT_arm}),y) 
     104UNAME_M:=               arm 
     105else ifeq ($(strip ${FWRT_avr32}),y) 
     106UNAME_M:=               avr32 
     107else ifeq ($(strip ${FWRT_cris}),y) 
     108UNAME_M:=               cris 
     109else ifeq ($(strip ${FWRT_powerpc}),y) 
     110UNAME_M:=               powerpc 
    103111else 
    104112$(error Cannot determine target "uname -m" output) 
  • trunk/freewrt/target/linux/nokernel/Config.in

    r2927 r3051  
     1config FWRT_LINUX_NOKERNEL_ARM 
     2        bool "arm nokernel" 
     3        depends on FWRT_DEVEL 
     4        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
     5        select FWRT_TARGET_NOKERNEL 
     6        select FWRT_arm 
     7        help 
     8          This is a target which does not build a kernel, root filesy- 
     9          stem or flash image; it is mostly used for testing packages. 
     10          Where a kernel is required, Linux 2.4 will be used. 
     11           
     12          This option selects the little-endian 32-bit ARM platform. 
     13 
    114config FWRT_LINUX_NOKERNEL_ARMEB 
    215        bool "armeb nokernel" 
     
    1124           
    1225          This option selects the big-endian 32-bit ARM platform. 
     26 
     27config FWRT_LINUX_NOKERNEL_AVR32 
     28        bool "avr32 nokernel" 
     29        depends on FWRT_DEVEL 
     30        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
     31        select FWRT_TARGET_NOKERNEL 
     32        select FWRT_avr32 
     33        help 
     34          This is a target which does not build a kernel, root filesy- 
     35          stem or flash image; it is mostly used for testing packages. 
     36          Where a kernel is required, Linux 2.4 will be used. 
     37           
     38          This option selects the big-endian 32-bit AVR platform. 
     39 
     40config FWRT_LINUX_NOKERNEL_CRIS 
     41        bool "cris nokernel" 
     42        depends on FWRT_DEVEL 
     43        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
     44        select FWRT_TARGET_NOKERNEL 
     45        select FWRT_cris 
     46        help 
     47          This is a target which does not build a kernel, root filesy- 
     48          stem or flash image; it is mostly used for testing packages. 
     49          Where a kernel is required, Linux 2.4 will be used. 
     50           
     51          This option selects the little-endian 32-bit AVR platform. 
     52 
    1353 
    1454config FWRT_LINUX_NOKERNEL_I386 
     
    3777           
    3878          This option selects the little-endian 32-bit mips platform. 
     79 
     80config FWRT_LINUX_NOKERNEL_POWERPC 
     81        bool "powerpc nokernel" 
     82        depends on FWRT_DEVEL 
     83        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
     84        select FWRT_TARGET_NOKERNEL 
     85        select FWRT_powerpc 
     86        help 
     87          This is a target which does not build a kernel, root filesy- 
     88          stem or flash image; it is mostly used for testing packages. 
     89          Where a kernel is required, Linux 2.4 will be used. 
     90           
     91          This option selects the big-endian 32-bit powerpc platform. 
  • trunk/freewrt/toolchain/gcc/Makefile

    r2905 r3051  
    107107# to include a reference to libgcc.so.1 in all binaries. For flash space 
    108108# saving, we change the specs file to link in a static libgcc here. 
    109 ifneq ($(CPU_ARCH),armeb
     109ifeq ($(CPU_ARCH),mipsel
    110110        if [ -f $(STAGING_TOOLS)/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs ] ; then \ 
    111111                patch -d $(STAGING_TOOLS)/lib/gcc/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/ -p0 < ./$(GCC_VERSION)/static-libgcc.patch.conditional ; \