From bff25f157e2e6a9fde1691e2173245c7e2b0c3c3 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 13 Sep 2011 21:34:41 -0700 Subject: tuna: add tool that can reflash bootloader from userspace Reads bootloader.img from the current directory, parses out the correct xloader for the device, and writes xloader and sbl to the mmc device. Can be run as init to unbrick a device. Change-Id: I5b91e2afd860e7934f7686fbeb638352b217f7c9 --- reflash-bootloader/Android.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 reflash-bootloader/Android.mk (limited to 'reflash-bootloader/Android.mk') diff --git a/reflash-bootloader/Android.mk b/reflash-bootloader/Android.mk new file mode 100644 index 0000000..c7a9e54 --- /dev/null +++ b/reflash-bootloader/Android.mk @@ -0,0 +1,10 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := reflash-bootloader.c +LOCAL_MODULE = tuna-reflash-bootloader +LOCAL_MODULE_TAGS := optional +LOCAL_FORCE_STATIC_EXECUTABLE := true +LOCAL_STATIC_LIBRARIES := libc +include $(BUILD_EXECUTABLE) -- cgit v1.1