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)
commitcc259bfaee81e8740f248b26f87e097a539d2ef0
tree908f1552fed496c009032541a93ead6ee6b21811
parent8a7c137aaeb734db9ef355963367c256bce932f2
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