Changeset 27636 for trunk/dports/cross


Ignore:
Timestamp:
Aug 11, 2007, 3:03:34 AM (12 years ago)
Author:
landonf@…
Message:

Update the iphone toolchain to r118, and rename the ports to their preferred name in the process

Location:
trunk/dports/cross
Files:
1 added
3 deleted
8 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/arm-apple-darwin-binutils/Portfile

    r27449 r27636  
    22
    33PortSystem 1.0
    4 name                    arm-iphone-binutils
    5 version                 r93
    6 categories              iphone
     4name                    arm-apple-darwin-binutils
     5version                 r118
     6categories              cross iphone
    77maintainers             landonf@macports.org openmaintainer@macports.org
    8 description             iPhone Binutils for arm-iphone cross development
     8description             Binutils for arm-apple-darwin (iPhone) cross development
    99long_description        ${description}
    1010
     
    1414master_sites            http://landonf.bikemonkey.org/static/iphone/
    1515distname                iphone-binutils-${version}
    16 checksums               md5 e7c782c48307e96a347787cf1d13d0b4
     16checksums               md5 111b11f80fe535b3beb3d40633962f3b
    1717
    1818depends_build           port:Libstreams
     
    2020patchfiles              patch-Makefile.in
    2121
    22 set iphone_prefix       ${prefix}/arm-iphone
     22set iphone_prefix       ${prefix}/arm-apple-darwin
    2323
    2424configure.args          --prefix=${iphone_prefix} --with-heavenly=${iphone_prefix}/heavenly
     
    3737}
    3838
    39 destroot {}
     39destroot {
     40        # Make the binaries externally visible.
     41        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-ld ./"
     42        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-as ./"
     43
     44        # Set up non-prefixed binaries in the iphone bin directory
     45        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-ld ld"
     46        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as as"
     47}
  • trunk/dports/cross/arm-apple-darwin-binutils/files/patch-Makefile.in

    r27423 r27636  
    1 --- Makefile.in.orig    2007-08-03 02:00:02.000000000 -0700
    2 +++ Makefile.in 2007-08-03 02:00:39.000000000 -0700
     1--- Makefile.in.orig    2007-08-08 14:54:14.000000000 -0700
     2+++ Makefile.in 2007-08-10 18:29:09.000000000 -0700
    33@@ -15,7 +15,7 @@
    44 PREFIX = @prefix@
    55 HEAVENLY = @heavenly@
    66 
    7 -all: heavenly includes llvmgcc llvm cctools driver csu libarmfp
     7-all: heavenly includes cctools driver csu libarmfp
    88+all: cctools
    99       
    1010 heavenly:
    1111        install -d $(PREFIX)/heavenly && cp -Rn $(HEAVENLY)/* $(PREFIX)/heavenly
    12 @@ -36,8 +36,8 @@
     12@@ -27,8 +27,8 @@
    1313 cctools:
    1414        install /usr/include/ar.h cctools/include
    1515        cd cctools && $(MAKE)
    16 -       install cctools/as/aarm_dir/as $(PREFIX)/bin/arm-apple-darwin-as
    17 -       install cctools/ld/ld_dir/ld.NEW $(PREFIX)/bin/arm-apple-darwin-ld
     16-       install -d cctools/as/aarm_dir/as $(PREFIX)/bin/arm-apple-darwin-as
     17-       install -d cctools/ld/ld_dir/ld.NEW $(PREFIX)/bin/arm-apple-darwin-ld
    1818+       install cctools/as/aarm_dir/as $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-as
    1919+       install cctools/ld/ld_dir/ld.NEW $(DESTDIR)/$(PREFIX)/bin/arm-apple-darwin-ld
  • trunk/dports/cross/arm-apple-darwin-cc/Portfile

    r27446 r27636  
    22
    33PortSystem 1.0
    4 name                    arm-iphone-cc
    5 version                 r93
    6 revision                4
     4name                    arm-apple-darwin-cc
     5version                 r118
    76categories              iphone
    87maintainers             landonf@macports.org openmaintainer@macports.org
    9 description             iPhone cross-compiler (driver) for arm-iphone
     8description             Cross-compiler (driver) for arm-apple-darwin (iPhone)
    109long_description        ${description}
    1110
     
    1514master_sites            http://landonf.bikemonkey.org/static/iphone/
    1615distname                iphone-binutils-$version
    17 checksums               md5 e7c782c48307e96a347787cf1d13d0b4
    18 depends_run             port:arm-iphone-binutils \
     16checksums               md5 111b11f80fe535b3beb3d40633962f3b
     17depends_run             port:arm-apple-darwin-binutils \
    1918                        port:llvm-gcc4 \
    2019                        port:llvm
     
    2423                        patch-driver_arm-cc-specs.in
    2524
    26 set iphone_prefix       ${prefix}/arm-iphone
     25set iphone_prefix       ${prefix}/arm-apple-darwin
    2726
    2827configure.args          --prefix=${iphone_prefix} --with-heavenly=${iphone_prefix}/heavenly
    2928
     29build.target            driver
    3030build.args              DESTDIR=${destroot}
    3131
     
    4040post-destroot {
    4141        # Make the binaries externally visible.
    42         system "cd ${destroot}/${prefix}/bin && ln -s ../arm-iphone/bin/arm-apple-darwin-cc ./arm-apple-darwin-cc"
    43         system "cd ${destroot}/${prefix}/bin && ln -s ../arm-iphone/bin/arm-apple-darwin-cc ./arm-iphone-cc"
    44 
    45         system "cd ${destroot}/${prefix}/bin && ln -s ../arm-iphone/bin/arm-apple-darwin-ld ./arm-apple-darwin-ld"
    46         system "cd ${destroot}/${prefix}/bin && ln -s ../arm-iphone/bin/arm-apple-darwin-ld ./arm-iphone-ld"
    47 
    48         system "cd ${destroot}/${prefix}/bin && ln -s ../arm-iphone/bin/arm-apple-darwin-as ./arm-apple-darwin-as"
    49         system "cd ${destroot}/${prefix}/bin && ln -s ../arm-iphone/bin/arm-apple-darwin-as ./arm-iphone-as"
     42        system "cd ${destroot}/${prefix}/bin && ln -s ${iphone_prefix}/bin/arm-apple-darwin-cc ./"
    5043
    5144        # Set up non-prefixed binaries in the iphone bin directory
    5245        system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-cc cc"
    53         system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-ld ld"
    54         system "cd ${destroot}/${iphone_prefix}/bin && ln -s arm-apple-darwin-as as"
    5546}
  • trunk/dports/cross/arm-apple-darwin-cc/files/patch-Makefile.in

    r27423 r27636  
    1 --- Makefile.in.orig    2007-08-03 02:14:37.000000000 -0700
    2 +++ Makefile.in 2007-08-03 02:15:40.000000000 -0700
    3 @@ -15,7 +15,7 @@
    4  PREFIX = @prefix@
    5  HEAVENLY = @heavenly@
    6  
    7 -all: heavenly includes llvmgcc llvm cctools driver csu libarmfp
    8 +all: driver
    9        
    10  heavenly:
    11         install -d $(PREFIX)/heavenly && cp -Rn $(HEAVENLY)/* $(PREFIX)/heavenly
    12 @@ -41,7 +41,7 @@
     1--- Makefile.in.orig    2007-08-10 19:24:17.000000000 -0700
     2+++ Makefile.in 2007-08-10 19:24:10.000000000 -0700
     3@@ -32,7 +32,7 @@
    134 
    145 driver:
  • trunk/dports/cross/arm-apple-darwin-cc/files/patch-driver_Makefile.in

    r27423 r27636  
    1 --- driver/Makefile.in.orig     2007-08-03 01:37:47.000000000 -0700
    2 +++ driver/Makefile.in  2007-08-03 01:38:54.000000000 -0700
     1--- driver/Makefile.in.orig     2007-08-10 19:25:04.000000000 -0700
     2+++ driver/Makefile.in  2007-08-10 19:25:35.000000000 -0700
    33@@ -33,9 +33,9 @@
    44        rm -f $(RESULT)
  • trunk/dports/cross/arm-apple-darwin-cc/files/patch-driver_arm-cc-specs.in

    r27446 r27636  
    1 --- driver/arm-cc-specs.in.orig 2007-08-03 23:05:06.000000000 -0700
    2 +++ driver/arm-cc-specs.in      2007-08-03 23:05:48.000000000 -0700
    3 @@ -1,21 +1,22 @@
     1--- driver/arm-cc-specs.in.orig 2007-08-10 19:58:51.000000000 -0700
     2+++ driver/arm-cc-specs.in      2007-08-10 19:59:04.000000000 -0700
     3@@ -1,23 +1,23 @@
    44 # Customize to match your system. Then, place this file in ~/.arm-cc-specs
    55 # (where ~ represents your home dir).
    66-PREPROCESS=@prefix@/bin/llvm-gcc
    7 +CFLAGS_COMPILEROPT=-O0
    87+PREPROCESS=@MACPORTS_PREFIX@/bin/llvm-gcc
    98 CPPFLAGS=-E -U__i386__ -U__ppc__ -D__arm__ -isystem @prefix@/include
     
    1211 CFLAGS=-emit-llvm
    1312 CFLAGS_OBJC=-emit-llvm -ObjC
     13-CCFLAGS_COMPILEROPT=-O7
     14+CFLAGS_COMPILEROPT=-O7
    1415 LLVM_GCCC=llvm-g++
    1516 CCFLAGS=-emit-llvm
    1617-LLC=@prefix@/bin/llc
    1718+LLC=@MACPORTS_PREFIX@/bin/llc
    18  LLCFLAGS=-mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic -mcpu=generic -f
    19  LLCFLAGS_DYLIB=-mtriple=arm-apple-darwin -f -mcpu=generic -relocation-model=pic
     19 LLCFLAGS=-mtriple=arm-apple-darwin -relocation-model=dynamic-no-pic -mcpu=arm1176jzf-s -f
     20 LLCFLAGS_DYLIB=-mtriple=arm-apple-darwin -f -mcpu=arm1176jzf-s -relocation-model=pic
     21 LLCFLAGS_BUNDLE=-mtriple=arm-apple-darwin -f -mcpu=arm1176jzf-s -relocation-model=pic
    2022-OPT=@prefix@/bin/opt
    2123+OPT=@MACPORTS_PREFIX@/bin/opt
     
    2729+LDFLAGS=-syslibroot @prefix@/heavenly @prefix@/csu/crt1.o % -lSystem -lgcc_s_v6.1 -lm -L@prefix@/lib -larmfp
    2830 LDFLAGS_DYLIB=-syslibroot @prefix@/heavenly -lSystem -lgcc_s_v6.1 -L@prefix@/csu -ldylib1.o -single_module -dylib -dynamic
     31 LDFLAGS_BUNDLE=-syslibroot @prefix@/heavenly -bundle -lSystem -lgcc_s_v6.1 -L@prefix@/csu @prefix@/csu/bundle1.o -dynamic
    2932 LDFLAGS_FRAMEWORKSDIR=-F@prefix@/heavenly/System/Library/Frameworks
    30  
  • trunk/dports/cross/arm-apple-darwin-runtime/Portfile

    r27456 r27636  
    22
    33PortSystem 1.0
    4 name                    arm-iphone-runtime
    5 version                 r93
    6 revision                4
    7 categories              iphone
     4name                    arm-apple-darwin-runtime
     5version                 r118
     6categories              cross iphone
    87maintainers             landonf@macports.org openmaintainer@macports.org
    9 description             Free iPhone C runtime, headers and libraries.
     8description             Free arm-apple-darwin (iPhone) runtime, headers and libraries.
    109long_description        ${description}
    1110
     
    1514master_sites            http://landonf.bikemonkey.org/static/iphone/
    1615distname                iphone-binutils-${version}
    17 checksums               md5 e7c782c48307e96a347787cf1d13d0b4
    18 depends_lib             port:arm-iphone-binutils \
    19                         port:arm-iphone-cc
     16checksums               md5 111b11f80fe535b3beb3d40633962f3b
     17depends_lib             port:arm-apple-darwin-binutils \
     18                        port:arm-apple-darwin-cc
    2019
    2120patchfiles              patch-Makefile.in \
    22                         patch-libarmpf_Makefile.in \
    23                         patch-Csu-71_Makefile.in
     21                        patch-libarmfp_Makefile.in
    2422
    25 set iphone_prefix       ${prefix}/arm-iphone
     23set iphone_prefix       ${prefix}/arm-apple-darwin
    2624
    2725configure.args          --prefix=${iphone_prefix} --with-heavenly=${iphone_prefix}/heavenly
    2826
     27build.target            includes csu libarmfp
    2928build.args              DESTDIR=${destroot}
    3029
     
    3736        set slf "/System/Library/Frameworks"
    3837
    39         # Add missing header
    40         file copy -force ${filespath}/UITextTraitsClientProtocol.h ${inst}/include/UIKit/
    41 
    4238        # These are included, non-existent. The contents aren't necessary,
    4339        # so we create blank ones.
     
    4844        # Ugly mess to populate include/ and avoid patching system headers.
    4945        #
    50         file mkdir ${inst}/include/sys
    5146
    5247        # i386 param.h
    5348        file copy -force /usr/include/i386/param.h ${inst}/include/machine/
    54 
    55         # i386 cdefs.h
    56         file copy -force /usr/include/sys/cdefs.h ${inst}/include/sys/
    57         reinplace s|__i386__|__arm__|g ${inst}/include/sys/cdefs.h
    5849
    5950        # i386 signal.h
     
    6758        system "ln -s ${slf}/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers ${inst}/include/CoreGraphics"
    6859
    69         # Patch CarbonCore
     60        # Copy & Patch CarbonCore
    7061        set ccframework "${slf}/CoreServices.framework/Frameworks/CarbonCore.framework"
    7162        file mkdir ${inst}/include/CarbonCore
  • trunk/dports/cross/arm-apple-darwin-runtime/files/patch-Makefile.in

    r27423 r27636  
    1 --- Makefile.in.orig    2007-08-03 02:44:49.000000000 -0700
    2 +++ Makefile.in 2007-08-03 02:45:52.000000000 -0700
    3 @@ -15,14 +15,14 @@
    4  PREFIX = @prefix@
    5  HEAVENLY = @heavenly@
    6  
    7 -all: heavenly includes llvmgcc llvm cctools driver csu libarmfp
    8 +all: includes csu libarmfp
    9        
    10  heavenly:
     1--- Makefile.in.orig    2007-08-10 19:40:20.000000000 -0700
     2+++ Makefile.in 2007-08-10 19:41:43.000000000 -0700
     3@@ -21,8 +21,8 @@
    114        install -d $(PREFIX)/heavenly && cp -Rn $(HEAVENLY)/* $(PREFIX)/heavenly
    125 
    136 includes:
    147-       install -d $(PREFIX)/include
    15 -       cp -Rn include/* $(PREFIX)/include
     8-       cp -Rvn include/* $(PREFIX)/include
    169+       install -d $(DESTDIR)/$(PREFIX)/include
    17 +       cp -Rn include/* $(DESTDIR)/$(PREFIX)/include
     10+       cp -Rvn include/* $(DESTDIR)/$(PREFIX)/include
    1811 
    19  llvmgcc:
    20         ./install-llvmgcc.sh
    21 @@ -45,13 +45,13 @@
     12 cctools:
     13        install /usr/include/ar.h cctools/include
     14@@ -36,13 +36,13 @@
    2215 
    2316 csu:
     
    3629+       cd libarmfp && $(MAKE) DESTDIR=$(DESTDIR) install
    3730 
    38  .PHONY : heavenly includes llvmgcc llvm cctools driver csu libarmfp
     31 .PHONY : heavenly includes cctools driver csu libarmfp
    3932 
Note: See TracChangeset for help on using the changeset viewer.