diff options
author | Ryan OShea <ryan.oshea3@arm.com> | 2022-05-31 17:24:48 +0100 |
---|---|---|
committer | James Conroy <james.conroy@arm.com> | 2022-06-27 13:49:50 +0000 |
commit | bc9721d9504c05d2daba68b8e5861b007f95528c (patch) | |
tree | ddc6b6fb6f666598c2defe5b19caa4eee1f4dec3 /Android.mk | |
parent | 5b47854077d7e503827dbbecdf49f763e4d0c5fb (diff) | |
download | android-nn-driver-bc9721d9504c05d2daba68b8e5861b007f95528c.tar.gz |
Add Mapfiles generation to Android.mk
* Adds map file to libArmnnDriver for each Hal version
* Adds map file to neuralNetwork driver for each hal version
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: I644d0aefbd55edf8ad2d63d0166e9cbb9d768a42
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -182,6 +182,8 @@ endif ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS+= \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=libarmnndriver10MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1) @@ -309,6 +311,8 @@ LOCAL_CFLAGS := \ ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS+= \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=libarmnnDriver11MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 # Required to build with the changes made to the Android ML framework specific to Android R @@ -439,6 +443,8 @@ LOCAL_CFLAGS := \ ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS+= \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=libarmnnDriver12MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 # Required to build with the changes made to the Android ML framework specific to Android R @@ -579,6 +585,8 @@ endif ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS+= \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=libarmnnDriver13MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 ifeq ($(ARMNN_COMPUTE_CL_ENABLED),1) @@ -697,6 +705,8 @@ LOCAL_CFLAGS := \ ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS += \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=neuralNetworks10MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 # Required to build with the changes made to the Android ML framework specific to Android R @@ -805,6 +815,8 @@ LOCAL_CFLAGS := \ ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS += \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=neuralNetworks11MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 # Required to build with the changes made to the Android ML framework specific to Android R @@ -904,6 +916,8 @@ LOCAL_CFLAGS := \ ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS += \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=neuralNetworks12MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 # Required to build with the changes made to the Android ML framework specific to Android R @@ -1009,6 +1023,8 @@ endif ifeq ($(ARMNN_DRIVER_DEBUG),1) LOCAL_CFLAGS += \ -UNDEBUG +LOCAL_LDFLAGS += \ + -Wl,-Map=neuralNetworks13MapFile.map endif # ARMNN_DRIVER_DEBUG == 1 LOCAL_SRC_FILES := \ |