From 5897ea277abdfd361d65bbf2cca4b93f7c7794f9 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 21 Aug 2015 14:25:13 +0200 Subject: testing/android-tools: add mksdcard --- testing/android-tools/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'testing/android-tools/Makefile') diff --git a/testing/android-tools/Makefile b/testing/android-tools/Makefile index 021975d7c9..679df34896 100644 --- a/testing/android-tools/Makefile +++ b/testing/android-tools/Makefile @@ -1,8 +1,8 @@ -all: mkbootimg fastboot adb +all: mkbootimg fastboot adb mksdcard install: install -m755 -d $(DESTDIR)/usr/bin - install -m755 -t $(DESTDIR)/usr/bin mkbootimg fastboot adb + install -m755 -t $(DESTDIR)/usr/bin mkbootimg fastboot adb mksdcard clean: rm -f **/*.o @@ -99,3 +99,12 @@ FASTBOOT_LIBS += -lz -ldl -lpcre fastboot: $(FASTBOOT_SRCS) $(CC) -o $@ $(CFLAGS) $(FASTBOOT_CFLAGS) $(LDFLAGS) $(FASTBOOT_SRCS) $(FASTBOOT_LIBS) + + +MKSDCARD_SRCS += $(wildcard sdk/emulator/mksdcard/src/source/*.c) + +mksdcard: $(MKSDCARD_SRCS) + $(CC) -o $@ $(CFLAGS) $(MKSDCARD_CFLAGS) $(LDFLAGS) $(MKSDCARD_SRCS) $(MKSDCARD_LIBS) + + + -- cgit v1.2.3