Chandan Uddaraju | a9b07bb | 2009-11-21 12:22:02 -0800 | [diff] [blame] | 1 | #Android makefile to build lk bootloader as a part of Android Build |
| 2 | |
| 3 | BOOTLOADER_OUT := $(TOP)/$(TARGET_OUT_INTERMEDIATES)/BOOTLOADER_OBJ |
Ajay Dudani | a66de4f | 2009-11-22 08:57:39 -0800 | [diff] [blame] | 4 | TARGET_BOOTLOADER := out/target/product/$(TARGET_PRODUCT)/appsboot.mbn |
Chandan Uddaraju | a9b07bb | 2009-11-21 12:22:02 -0800 | [diff] [blame] | 5 | |
| 6 | $(BOOTLOADER_OUT): |
| 7 | mkdir -p $(BOOTLOADER_OUT) |
| 8 | |
| 9 | $(TARGET_BOOTLOADER): $(BOOTLOADER_OUT) |
Ajay Dudani | a66de4f | 2009-11-22 08:57:39 -0800 | [diff] [blame] | 10 | $(MAKE) -C bootable/bootloader/lk BOOTLOADER_OUT=../../../$(BOOTLOADER_OUT) $(TARGET_PRODUCT) |
Chandan Uddaraju | a9b07bb | 2009-11-21 12:22:02 -0800 | [diff] [blame] | 11 | |