diff options
author | Fengwei Yin <fengwei.yin@linaro.org> | 2016-02-18 21:27:36 +0800 |
---|---|---|
committer | Fengwei Yin <fengwei.yin@linaro.org> | 2016-02-20 17:03:37 +0800 |
commit | c2602c5d8d77d5cb0a8e40e5162cec76c4a209e6 (patch) | |
tree | 57e7f117de47bd7129c5be056169f82bda3389f6 /boot_img.mk | |
parent | 9edc02d4c644ee43c94ea26305ef4e4a01b71667 (diff) |
Change the base mk file
Diffstat (limited to 'boot_img.mk')
-rw-r--r-- | boot_img.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/boot_img.mk b/boot_img.mk new file mode 100644 index 0000000..43ed701 --- /dev/null +++ b/boot_img.mk @@ -0,0 +1,14 @@ +boot_img: bootimage all_dtbs + mkdir -p $(PRODUCT_OUT)/dtbs + cp -f $(KERNEL_OUT)/arch/$(ARCH)/boot/msm8916-mtp.dtb $(PRODUCT_OUT)/dtbs + cp -f $(KERNEL_OUT)/arch/$(ARCH)/boot/apq8016-sbc.dtb $(PRODUCT_OUT)/dtbs + $(TOP)/external/skales/dtbTool -o $(PRODUCT_OUT)/dt.img -s 2048 $(PRODUCT_OUT)/dtbs + $(TOP)/external/skales/mkbootimg \ + --kernel $(PRODUCT_OUT)/kernel \ + --ramdisk $(PRODUCT_OUT)/ramdisk.img \ + --output $(PRODUCT_OUT)/boot-db410c.img \ + --dt $(PRODUCT_OUT)/dt.img \ + --pagesize "2048" \ + --base "0x80000000" \ + --cmdline "$(BOARD_KERNEL_CMDLINE)" +droidcore: boot_img |