summaryrefslogtreecommitdiffstats
path: root/android-utils/makefile
blob: 4f1f3600a3eebc402c54871bbe7a353b373a8215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include ../android-projects/root.mk

ifeq ($(BT), shared)
all:
	($(MAKE) -f droid-makefile all; \
	$(STRIP) --strip-all --remove-section=.comment --remove-section=.note ./lib$(PROJECT)_$(MARCH).$(EXT); \
	cp -f ./lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR); \
	)
else
all:
	($(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR))
endif

clean:
	($(MAKE) -f droid-makefile clean)


gdbserver:
	$(ANDROID_SDK_ROOT)/tools/adb forward tcp:1234: tcp:1234
	$(ANDROID_SDK_ROOT)/tools/adb shell $(EXEC_DIR)/gdbserver :1234 $(EXEC_DIR)/test
OpenPOWER on IntegriCloud