summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Makefile14
-rw-r--r--target/board/Android.mk6
2 files changed, 8 insertions, 12 deletions
diff --git a/core/Makefile b/core/Makefile
index 9398ac7..1b086ca 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1190,14 +1190,12 @@ endif
ifdef INSTALLED_KERNEL_TARGET
$(hide) $(ACP) $(INSTALLED_KERNEL_TARGET) $(zip_root)/BOOT/kernel
endif
-ifneq ($(strip $(BOARD_HAS_LOCKED_BOOTLOADER)), true)
- ifdef INSTALLED_RAMDISK_TARGET
- $(hide) $(ACP) $(INSTALLED_RAMDISK_TARGET) $(zip_root)/BOOT/ramdisk.img
- endif
- ifdef INSTALLED_BOOTLOADER_MODULE
- $(hide) $(ACP) \
- $(INSTALLED_BOOTLOADER_MODULE) $(zip_root)/BOOT/bootloader
- endif
+ifdef INSTALLED_RAMDISK_TARGET
+ $(hide) $(ACP) $(INSTALLED_RAMDISK_TARGET) $(zip_root)/BOOT/ramdisk.img
+endif
+ifdef INSTALLED_BOOTLOADER_MODULE
+ $(hide) $(ACP) \
+ $(INSTALLED_BOOTLOADER_MODULE) $(zip_root)/BOOT/bootloader
endif
ifdef INSTALLED_2NDBOOTLOADER_TARGET
$(hide) $(ACP) \
diff --git a/target/board/Android.mk b/target/board/Android.mk
index 444b5c7..7d94ee0 100644
--- a/target/board/Android.mk
+++ b/target/board/Android.mk
@@ -10,10 +10,8 @@ ifneq ($(strip $(TARGET_NO_BOOTLOADER)),true)
INSTALLED_2NDBOOTLOADER_TARGET :=
endif
else
- ifneq ($(strip $(BOARD_HAS_LOCKED_BOOTLOADER)), true)
- INSTALLED_BOOTLOADER_MODULE :=
- INSTALLED_2NDBOOTLOADER_TARGET :=
- endif
+ INSTALLED_BOOTLOADER_MODULE :=
+ INSTALLED_2NDBOOTLOADER_TARGET :=
endif # TARGET_NO_BOOTLOADER
ifneq ($(strip $(TARGET_NO_KERNEL)),true)