summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-04-04 21:01:36 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-04-04 21:01:36 +0200
commit3f7be323afdba6c1f774aec1fb5d782d6fa71162 (patch)
tree5db033aa1e29b348880049dc238996112f5a13f5
parent86691b154c42e78dfb5cfdda48deaa1ad47c876b (diff)
downloaddevice_goldelico_gta04-replicant-4.0-wip.zip
device_goldelico_gta04-replicant-4.0-wip.tar.gz
device_goldelico_gta04-replicant-4.0-wip.tar.bz2
bootimg.mk: Parallel kernel buildreplicant-4.0-wip
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--bootimg.mk26
1 files changed, 3 insertions, 23 deletions
diff --git a/bootimg.mk b/bootimg.mk
index 749ccb1..810cacb 100644
--- a/bootimg.mk
+++ b/bootimg.mk
@@ -1,24 +1,4 @@
-LOCAL_PATH := $(call my-dir)
-
-INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
-INSTALLED_RECOVERYIMAGE_TARGET := $(PRODUCT_OUT)/recovery.img
-INSTALLED_BOOTLOADERIMAGE_TARGET := $(PRODUCT_OUT)/bootloader.img
-INSTALLED_BOOTSCR_TARGET := $(PRODUCT_OUT)/boot.scr
-GTA04_BOOTSCR_SOURCE := device/goldelico/gta04/u-boot/boot-scr/replicant-boot.txt
-
-.NOTPARALLEL: $(INSTALLED_BOOTIMAGE_TARGET)
-.NOTPARALLEL: $(INSTALLED_RECOVERYIMAGE_TARGET)
-
-$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_RAMDISK_TARGET) $(MKIMAGE) $(INSTALLED_KERNEL_TARGET)
+$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_RAMDISK_TARGET) $(INSTALLED_KERNEL_TARGET)
$(call pretty,"Boot image: $@")
- $(ACP) $(PRODUCT_OUT)/kernel $@
-
-$(INSTALLED_RECOVERYIMAGE_TARGET): $(recovery_ramdisk) $(MKIMAGE) $(recovery_kernel) $(PRODUCT_OUT)/utilities/busybox $(PRODUCT_OUT)/utilities/mke2fs
- $(call pretty,"Recovery image: $@")
- $(ACP) $(PRODUCT_OUT)/kernel $@
-
-$(INSTALLED_BOOTLOADERIMAGE_TARGET): $(INSTALLED_BOOTLOADER_TARGET) $(MKIMAGE)
- $(hide) $(ACP) -fp $(INSTALLED_BOOTLOADER_TARGET) $@
- $(MKIMAGE) -A arm -T script -C none -n "boot.scr" -d $(GTA04_BOOTSCR_SOURCE) $(INSTALLED_BOOTSCR_TARGET)
- $(call pretty,"Bootloader image: $@")
- $(call pretty,"Boot-scr: $(INSTALLED_BOOTSCR_TARGET)")
+ $(ACP) $(INSTALLED_KERNEL_TARGET) $@
+ @echo -e ${CL_INS}"Made boot image: $@"${CL_RST}