Changeset 53


Ignore:
Timestamp:
2004-06-01T10:09:11+02:00 (13 years ago)
Author:
mbm
Message:

strip down makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/obsolete-buildroot/Makefile

    r30 r53  
    2929############################################################# 
    3030 
    31 # What sortof target system shall we compile this for? 
    32 #ARCH:=i386 
    33 #ARCH:=arm 
    34 #ARCH:=mips 
     31SNAPSHOT:=20040531 
     32 
    3533ARCH:=mipsel 
    36 #ARCH:=powerpc 
    37 #ARCH:=sh4 
    38 # Busybox link failing due to needing libgcc functions that are statics. 
    39 #ARCH:=cris 
    40  
    41 # The following currently fail to build since no shared lib support. 
    42 #ARCH:=sh64 
    43 #ARCH:=m68k 
    44 #ARCH:=v850 
    45 #ARCH:=sparc 
    46 #ARCH:=whatever 
    47  
    48 # If you are building a native gcc toolchain, do you want to 
    49 # build the old gcc-2.95 based toolchain, or would you prefer 
    50 # a nice and shiny new gcc-3.3.2 toolchain? 
    51 # WARNING -- 2.95 currently only builds for i386, arm, mips*, and powerpc. 
    52 # WARNING -- 2.95 does not currently build natively for the target. 
    53 GCC_2_95_TOOLCHAIN:=false 
    54  
    55 # Enable this to use the uClibc daily snapshot instead of a released 
    56 # version.  Daily snapshots may contain new features and bugfixes. Or 
    57 # they may not even compile at all, depending on what Erik is doing... 
    58 #USE_UCLIBC_SNAPSHOT:= 
    59 #USE_UCLIBC_SNAPSHOT:=snapshot 
    60 USE_UCLIBC_SNAPSHOT:=20040509 
    61  
    62 # Temporary option... Fall back to (slightly modified) ldso 0.9.24 code? 
    63 # This is here temporarily since I'm having problems with the current 
    64 # cvs ldso code on mipsel. 
    65 USE_UCLIBC_LDSO_0_9_24:=true 
    66 #USE_UCLIBC_LDSO_0_9_24:=false 
    67  
    68 # Enable this to use the busybox daily snapshot instead of a released 
    69 # version.  Daily snapshots may contain new features and bugfixes. Or 
    70 # they may not even compile at all.... 
    71 #USE_BUSYBOX_SNAPSHOT:= 
    72 #USE_BUSYBOX_SNAPSHOT:=snapshot 
    73 USE_BUSYBOX_SNAPSHOT:=20040509 
    74  
    75 # Enable large file (files > 2 GB) support 
     34USE_UCLIBC_SNAPSHOT:=$(SNAPSHOT) 
     35USE_UCLIBC_LDSO_0_9_24:=false 
     36USE_BUSYBOX_SNAPSHOT:=$(SNAPSHOT) 
     37USE_NETFILTER_SNAPSHOT:=$(SNAPSHOT) 
     38USE_BRIDGE_VERSION:=0.9.7 
    7639BUILD_WITH_LARGEFILE:=true 
     40 
     41OPTIMIZE_FOR_CPU=$(ARCH) 
    7742 
    7843# Command used to download source code 
    7944WGET:=wget --passive-ftp 
    80  
    81 # Optimize toolchain for which type of CPU? 
    82 OPTIMIZE_FOR_CPU=$(ARCH) 
    83 #OPTIMIZE_FOR_CPU=i686 
    84 # Note... gcc 2.95 does not seem to like anything higher than i586. 
    85 #OPTIMIZE_FOR_CPU=i586 
    86 #OPTIMIZE_FOR_CPU=whatever 
    8745 
    8846# Soft floating point options. 
     
    10765# Currently the unwind stuff seems to work for staticly linked apps but 
    10866# not dynamic.  So use setjmp/longjmp exceptions by default. 
    109 GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions 
    110 #GCC_USE_SJLJ_EXCEPTIONS:= 
     67# GCC_USE_SJLJ_EXCEPTIONS:=--enable-sjlj-exceptions 
     68GCC_USE_SJLJ_EXCEPTIONS:= 
    11169 
    11270# Any additional gcc options you may want to include.... 
     
    13896# 
    13997############################################################# 
    140 TARGETS:=host-sed 
    141  
    142 ifeq ($(GCC_2_95_TOOLCHAIN),true) 
    143 TARGETS+=uclibc-configured binutils gcc2_95 
    144 else 
    145 TARGETS+=uclibc-configured binutils gcc3_3 
    146 endif 
    147  
    148 # Do you want user mode Linux (x86 only), or are you building a 
    149 # your own kernel that will run on its own?  Perhaps you have a 
    150 # kernel you have already configured and you want to use that? 
    151 # The default is to just use a set of known working kernel 
    152 # headers.  Unless you want to build a kernel, I recommend just 
    153 # using that... 
    154 #TARGETS+=kernel-headers 
    155 #TARGETS+=linux 
    156 #TARGETS+=user-mode-linux 
    157 #TARGETS+=system-linux 
    158 TARGETS+= openwrt-base 
    159  
    160 # The default minimal set 
    161 #TARGETS+=busybox tinylogin 
    162  
    163 # Openssh... 
    164 #TARGETS+=zlib openssl openssh 
    165 # Dropbear sshd is much smaller than openssl + openssh 
    166 #TARGETS+=dropbear_sshd 
    167  
    168 # Everything needed to build a full uClibc development system! 
    169 #TARGETS+=coreutils findutils bash make diffutils patch sed 
    170 #TARGETS+=ed flex bison file gawk tar grep bzip2 
    171  
    172 #If you want a development system, you probably want gcc built 
    173 # with uClibc so it can run within your dev system... 
    174 #TARGETS+=gcc2_95_target ccache_target   # NOT WORKING!!! 
    175 #TARGETS+=gcc3_3_target ccache_target 
    176  
    177 # Of course, if you are installing a development system, you 
    178 # may want some header files so you can compile stuff.... 
    179 #TARGETS+=ncurses-headers zlib-headers openssl-headers 
    180  
    181 # More development system stuff for those that want it 
    182 #TARGETS+=m4 autoconf automake libtool 
    183  
    184 # Perl 
    185 #TARGETS+=perl 
    186  
    187 # Some nice debugging tools 
    188 #TARGETS+=gdb strace ltrace 
    189  
    190 # The Valgrind debugger (x86 only) 
    191 #TARGETS+=valgrind 
    192  
    193 # Some stuff for access points and firewalls 
    194 #TARGETS+=iptables hostap wtools dhcp_relay bridge 
    195 #TARGETS+=iproute2 netsnmp 
    196  
    197 # Run customize.mk at the very end to add your own special config. 
    198 # This is useful for making your own distro within the buildroot 
    199 # process. 
    200 # TARGETS+=customize 
    201  
    202 ############################################################# 
    203 # 
    204 # Pick your root filesystem type. 
    205 # 
    206 ############################################################# 
    207 #TARGETS+=ext2root 
    208  
    209 # Must mount cramfs with 'ramdisk_blocksize=4096' 
    210 #TARGETS+=cramfsroot 
    211  
    212 # You may need to edit make/jffs2root.mk to change target 
    213 # endian-ness or similar, but this is sufficient for most 
    214 # things as-is... 
    215 #TARGETS+=jffs2root 
    216  
    217 #TARGETS+= openwrt-linux.trx 
    218 TARGETS+= openwrt-code.bin 
     98TARGETS:=gcc3_3 openwrt-base openwrt-code.bin 
    21999 
    220100############################################################# 
Note: See TracChangeset for help on using the changeset viewer.