--- tasks/uboot.mk | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 tasks/uboot.mk
diff --git a/tasks/uboot.mk b/tasks/uboot.mk new file mode 100644 index 0000000..3d297c0 --- /dev/null +++ b/tasks/uboot.mk @@ -0,0 +1,10 @@ +android_uboot: + rm -fr $(PRODUCT_OUT)/obj/u-boot + mkdir $(PRODUCT_OUT)/obj/u-boot + cd $(TOP)/u-boot &&\ + make O=../$(PRODUCT_OUT)/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- $(UBOOT_CONFIG) &&\ + make O=../$(PRODUCT_OUT)/obj/u-boot CROSS_COMPILE=arm-linux-gnueabi- + +$(PRODUCT_OUT)/u-boot.bin: android_uboot + ln -sf obj/u-boot/u-boot.bin $(PRODUCT_OUT)/u-boot.bin +