diff options
| author | Frank Hunleth <fhunleth@troodon-software.com> | 2014-03-16 15:04:30 -0400 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-04-20 11:44:14 +0200 |
| commit | 8e0d4118982ae5a29e462f0a476d82772459cf5c (patch) | |
| tree | 27bf63cd523006479e523b233de322d61030fe41 /boot/syslinux | |
| parent | 38b81eb17253c2590d42243524eed556e80ff58f (diff) | |
| download | buildroot-8e0d4118982ae5a29e462f0a476d82772459cf5c.tar.gz buildroot-8e0d4118982ae5a29e462f0a476d82772459cf5c.zip | |
syslinux: install helper programs to the host
Even though syslinux is built for the target, it does create helper
programs intended to be run on the host such as syslinux and extlinux.
This change installs these helper programs to the host so that they may be
called by post image creation scripts.
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/syslinux')
| -rw-r--r-- | boot/syslinux/syslinux.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk index eedc36420a..7b3f9cf361 100644 --- a/boot/syslinux/syslinux.mk +++ b/boot/syslinux/syslinux.mk @@ -11,7 +11,6 @@ SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux/4.xx/ SYSLINUX_LICENSE = GPLv2+ SYSLINUX_LICENSE_FILES = COPYING -SYSLINUX_INSTALL_TARGET = NO SYSLINUX_INSTALL_IMAGES = YES SYSLINUX_DEPENDENCIES = host-nasm host-util-linux @@ -23,6 +22,12 @@ define SYSLINUX_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) CC="$(HOSTCC) -idirafter $(HOST_DIR)/usr/include $(HOST_LDFLAGS)" AR="$(HOSTAR)" -C $(@D) endef +define SYSLINUX_INSTALL_TARGET_CMDS + # While the actual bootloader is compiled for the target, several + # utilities for installing the bootloader are meant for the host. + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) INSTALLROOT=$(HOST_DIR) install +endef + SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_ISOLINUX) += isolinux.bin SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_PXELINUX) += pxelinux.bin |

