summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-03-31 11:07:30 +0200
committerPaulK <contact@paulk.fr>2012-03-31 11:07:30 +0200
commit8f2cea83a1c0b214c83e3a6ca81becdb892e4d04 (patch)
tree781cba388a9db2d7caaf30aa38fa9ae93a06ca35
parentd04c58dbbc8106d3523c214a428b391ed23b8355 (diff)
downloaddevice_goldelico_gta04-8f2cea83a1c0b214c83e3a6ca81becdb892e4d04.zip
device_goldelico_gta04-8f2cea83a1c0b214c83e3a6ca81becdb892e4d04.tar.gz
device_goldelico_gta04-8f2cea83a1c0b214c83e3a6ca81becdb892e4d04.tar.bz2
Added custom kernel build instructions (bootimage.mk)
-rw-r--r--bootimage.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/bootimage.mk b/bootimage.mk
new file mode 100644
index 0000000..0157236
--- /dev/null
+++ b/bootimage.mk
@@ -0,0 +1,15 @@
+LOCAL_PATH := $(call my-dir)
+
+INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
+INSTALLED_RECOVERYIMAGE_TARGET := $(PRODUCT_OUT)/recovery.img
+
+.NOTPARALLEL: $(INSTALLED_BOOTIMAGE_TARGET)
+.NOTPARALLEL: $(INSTALLED_RECOVERYIMAGE_TARGET)
+
+$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_RAMDISK_TARGET) $(INSTALLED_KERNEL_TARGET)
+ $(call pretty,"Boot image: $@")
+ $(ACP) $(PRODUCT_OUT)/kernel $@
+
+$(INSTALLED_RECOVERYIMAGE_TARGET): $(recovery_ramdisk) $(recovery_kernel) $(PRODUCT_OUT)/utilities/busybox $(PRODUCT_OUT)/utilities/mke2fs
+ $(call pretty,"Recovery image: $@")
+ $(ACP) $(PRODUCT_OUT)/kernel-recovery $@