OSDN Git Service

Fix several typos in the NDK build system that caused quite a few bugs:
authorDavid 'Digit' Turner <digit@google.com>
Mon, 29 Jun 2009 14:33:30 +0000 (16:33 +0200)
committerDavid 'Digit' Turner <digit@google.com>
Mon, 29 Jun 2009 14:33:30 +0000 (16:33 +0200)
commita046aadf89720651145e137d41f9f8eb3101d825
tree23de3f784fae2a18bbeebe8c33aeebeef819ba46
parentd6ec1729a1f1213ce679bd1e82501163ea95905d
Fix several typos in the NDK build system that caused quite a few bugs:

- generate thumb code by default (type forced ARM generation)

- make the generation of unoptimized binaries with APP_OPTIM := debug actually work
  (the -O0 -g flags were placed before the -Os -mthumb flags for thumb binaries)

- factor common code from build-executable/shared-library/static-library into build-binary.mk
  and install-binary.mk

- properly add a -L$(SYSROOT)/usr/lib line to make LOCAL_LDLIBS := -lz work as advertized
  (in build-binary.mk)

- add a few missing variables from clear-vars.mk
ndk/build/core/build-binary.mk
ndk/build/core/build-executable.mk
ndk/build/core/build-module.mk
ndk/build/core/build-shared-library.mk
ndk/build/core/build-static-library.mk
ndk/build/core/clear-vars.mk
ndk/build/core/definitions.mk
ndk/build/core/install-binary.mk [new file with mode: 0644]
ndk/docs/CHANGES.TXT