summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index 539c7e1..8a70a83 100644
--- a/Android.mk
+++ b/Android.mk
@@ -99,12 +99,9 @@ CHECK_BOOTSTUB_AOSP_SIZE : $(bootstub_aosp_bin)
echo "$(bootstub_aosp_bin): $$ACTUAL_SIZE exceeds size limit of $(BOOTSTUB_SIZE) bytes, aborting."; \
exit 1; \
fi
-BL_VERSION_FILE=vendor/asus/fugu/bootloader.img.sha1
-$(bootstub_aosp_full) : CHECK_BOOTSTUB_AOSP_SIZE $(BL_VERSION_FILE)
+
+$(bootstub_aosp_full) : CHECK_BOOTSTUB_AOSP_SIZE
@echo "Generating bootstub $@"
$(hide) cat $(bootstub_aosp_bin) /dev/zero | dd bs=$(BOOTSTUB_SIZE) count=1 > $@
- export bl_version=`tail -n 1 $(BL_VERSION_FILE) | cut -d- -f2`; \
- export maj=`echo $$bl_version | cut -d. -f1`; export min=`echo $$bl_version | cut -d. -f2`; \
- echo -en `printf "\\\\\x%x\\\\\x%x" $$maj $$((10#$$min+1))` | dd of=$@ seek=$$(($(BOOTSTUB_SIZE)-2)) bs=1
endif #($(TARGET_BOARD_PLATFORM),moorefield)