diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-05-24 08:43:57 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-05-24 08:43:57 -0700 |
commit | 43779d274e8a5b042f6c1d01e97e2138f0df0b14 (patch) | |
tree | fd9ad3a065d7630cd15c5bd21cb43e70e6b79888 /Android.mk | |
parent | 236ed5aa55ca5bb49d7f6838b32a7f91091eba5c (diff) | |
parent | d9ebeefb70213172ecd329095570aaa5684094e0 (diff) | |
download | external_libnfc-nxp-43779d274e8a5b042f6c1d01e97e2138f0df0b14.zip external_libnfc-nxp-43779d274e8a5b042f6c1d01e97e2138f0df0b14.tar.gz external_libnfc-nxp-43779d274e8a5b042f6c1d01e97e2138f0df0b14.tar.bz2 |
am d9ebeefb: am 944e51f4: Merge from gingerbread
* commit 'd9ebeefb70213172ecd329095570aaa5684094e0':
Patch to enable low level traces.
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -105,6 +105,7 @@ LOCAL_SRC_FILES += Linux_x86/phDal4Nfc.c LOCAL_SRC_FILES += Linux_x86/phDal4Nfc_i2c.c LOCAL_SRC_FILES += Linux_x86/phDal4Nfc_messageQueueLib.c +# Really verbose: #LOCAL_CFLAGS += -DNXP_MESSAGING -DANDROID -DDEBUG -DDAL_TRACE -DINCLUDE_DALINIT_DEINIT -pipe -fomit-frame-pointer -Wall -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -msoft-float -Uarm -fno-common -fpic LOCAL_CFLAGS += -DNXP_MESSAGING -DANDROID -DINCLUDE_DALINIT_DEINIT -pipe -fomit-frame-pointer -Wall -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fpic @@ -112,6 +113,11 @@ ifeq ($(TARGET_ARCH),arm) LOCAL_CFLAGS += -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -msoft-float -Uarm -fno-common endif +# Just show I2C traffic: +#LOCAL_CFLAGS += -DNXP_MESSAGING -DANDROID -DINCLUDE_DALINIT_DEINIT -DLOW_LEVEL_TRACES -pipe -fomit-frame-pointer -Wall -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -msoft-float -Uarm -fno-common -fpic +# Quiet: +#LOCAL_CFLAGS += -DNXP_MESSAGING -DANDROID -DINCLUDE_DALINIT_DEINIT -pipe -fomit-frame-pointer -Wall -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -msoft-float -Uarm -fno-common -fpic + ifeq ($(NFC_BUILD_VARIANT),debug) LOCAL_CFLAGS += -DDEBUG -D_DEBUG LOCAL_CFLAGS += -O0 -g |