summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGreg Hartman <ghartman@google.com>2014-10-31 10:43:52 -0700
committerIliyan Malchev <malchev@google.com>2014-11-11 02:26:50 +0000
commit4c46710e7a5cbcb1807d183aaeb88d68f98b6753 (patch)
treec6a3b9bf17cc2bd1b13f4d1134d0ea5db0767e64 /core
parent6e27e3de86cef6354db56c274beca875dafccbaf (diff)
downloadbuild-4c46710e7a5cbcb1807d183aaeb88d68f98b6753.zip
build-4c46710e7a5cbcb1807d183aaeb88d68f98b6753.tar.gz
build-4c46710e7a5cbcb1807d183aaeb88d68f98b6753.tar.bz2
Add a hook for the syslinux bootloader.
Change-Id: Ia8638e9dcb025743a66c52ad43b161ee70602c89
Diffstat (limited to 'core')
-rw-r--r--core/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 6c49580..de4a268 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -491,6 +491,11 @@ ifeq ($(TARGET_BOOTIMAGE_USE_EXT2),true)
tmp_dir_for_image := $(call intermediates-dir-for,EXECUTABLES,boot_img)/bootimg
INTERNAL_BOOTIMAGE_ARGS += --tmpdir $(tmp_dir_for_image)
INTERNAL_BOOTIMAGE_ARGS += --genext2fs $(MKEXT2IMG)
+
+ifeq ($(TARGET_BOOTIMAGE_USE_EXTLINUX),true)
+INTERNAL_BOOTIMAGE_ARGS += --extlinuxconf $(TARGET_BOOTIMAGE_EXTLINUX_CONFIG)
+endif
+
$(INSTALLED_BOOTIMAGE_TARGET): $(MKEXT2IMG) $(INTERNAL_BOOTIMAGE_FILES)
$(call pretty,"Target boot image: $@")
$(hide) $(MKEXT2BOOTIMG) $(INTERNAL_BOOTIMAGE_ARGS) --output $@