1. 10 Feb, 2014 1 commit
    • Andrew Hsieh's avatar
      Support APP_ABI=armeabi-v7a-hard · 748416e5
      Andrew Hsieh authored
      Add a new NDK-only ABI armeabi-v7a-hard in order to solve
      -mfloat-abi=hard issue.
      
      1. Note that this is NDK-only ABI.  No known devices
         support armeabi-v7a-hard, and they can't w/o breaking existing float-abi=softfp
         code
      2. APP_ABI=armeabi-v7a-hard still installs libraries in libs/armeabi-v7a.
         As a result, armeabi-v7a-hard and armeabi-v7a can't co-exist ("make"
         will ignore one of the "install"), unless when _NDK_TESTING_ALL_=yes for
         internal testing (where lib is installed to libs/armeabi-v7a-hard)
      3. Both GCC 4.6/4.8 and Clang3.3/3.4 has additional multilib
         option "-mfloat-abi=hard" to look for libraries in /hard
         sub-directory.
           5be615df32ce970fcccda93cf577e9ce35b1d397 (gcc4.6,4.8)
           7e8798057dc5f28b44b5608fd98fff1cba6909a2 (clang3.4)
           deedd8557b7d82c6931b6942bd39a00127780835 (clang3.3)
      4. APP_ABI=all still expand to armeabi,armeabi-v7a,x86,mips
      
      Change-Id: I08c26bfa6580c80260185c2fef398848aebd197d
      748416e5
  2. 02 Apr, 2013 1 commit
  3. 04 Oct, 2012 1 commit
  4. 13 Jun, 2012 1 commit
  5. 23 Dec, 2011 1 commit
    • David 'Digit' Turner's avatar
      Remove hard-coded ABI names from build scripts. · ed6927f2
      David 'Digit' Turner authored
      This patch removes some of the hard-coded ABI names from our build
      scripts. Now, each toolchain's config.mk is expected to provide a
      TOOLCHAIN_ARCH definition corresponding to the target architecture
      it supports.
      
      This makes it easier to add support for new architectures or ABIs
      in the NDK, just write a config.mk for your toolchain like:
      
         TOOLCHAIN_ARCH := myarch
         TOOLCHAIN_ABIS := myabi [myabi2]
      
      Change-Id: Ib2f89102b343390fb16f66f63ee7e26f852701c2
      ed6927f2
  6. 04 Oct, 2010 1 commit
    • David 'Digit' Turner's avatar
      Reorder location of toolchains files. · e11a9b58
      David 'Digit' Turner authored
      build/toolchains/<name>/*                    --> toolchains/<name>/*
      build/prebuilt/<system>/<name>/lib/gdbserver --> toolchains/<name>/prebuilt/gdbserver
      build/prebuilt/<system>/<name>/              --> toolchains/<name>/prebuilt/<system>/
      
      The main idea is to group all toolchain-related files under the same directory.
      
      Change-Id: Idb41de49b5d81b6881ac4e0eea24506ff4a07f03
      e11a9b58
  7. 09 Apr, 2010 1 commit
  8. 12 Jan, 2010 1 commit
  9. 20 Nov, 2009 1 commit
    • David 'Digit' Turner's avatar
      Add support for armeabi-v7a to the NDK. · cc049d5a
      David 'Digit' Turner authored
      This patch modifies the NDK build scripts to support the 'armeabi-v7a' ABI.
      (For the record, it corresponds to Thumb-2 + FPU support, to speed up native
      code on certain devices like the Droid).
      
      To build for this ABI, the Application.mk file should use a line like:
      
        APP_ABI := armeabi-v7a
      
      It is also possible to build for both 'armeabi' and 'armeabi-v7a' by using:
      
        APP_ABI := armeabi armeabi-v7a
      
      This will result in the generation of two distinct shared libraries that both
      will be copied to the final application package.
      
      This is dependent on having GCC 4.4.0 prebuilt binaries under
      build/prebuilt/<host>/arm-eabi-4.4.0, since gcc 4.2.1 does not support
      this new ABI.
      
      Note that this also changes the NDK to use gcc 4.4.0 by default, unless
      the user defines NDK_TOOLCHAIN to 'arm-eabi-4.2.1' in its environment to
      switch back to the previous one.
      cc049d5a
  10. 07 May, 2009 1 commit