From: Arnout Vandecappelle (Essensium/Mind) Date: Mon, 23 Jan 2012 20:19:29 +0000 (+0100) Subject: syslinux: add support for host-install X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9baaa5b4a39145f4cc64c6bba1a6aa8cec48f00a;p=buildroot.git syslinux: add support for host-install This makes it possible to build the syslinux/extlinux installer, so a bootable USB drive, CompactFlash or SD card can be created by a user script. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk index da30d5a203..3e89bdfca5 100644 --- a/boot/syslinux/syslinux.mk +++ b/boot/syslinux/syslinux.mk @@ -26,4 +26,18 @@ define SYSLINUX_INSTALL_IMAGES_CMDS done endef + +define HOST_SYSLINUX_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_SYSLINUX_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALLROOT=$(HOST_DIR) install +endef + +define HOST_SYSLINUX_CLEAN_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) clean +endef + $(eval $(call GENTARGETS)) +$(eval $(call GENTARGETS,host))