[Buildroot] [PATCH] syslinux: add support for host-install

Will Moore will.moore at beraninstruments.com
Mon Oct 31 08:54:39 UTC 2011


Hi Arnout,

> -----Original Message-----
> From: Arnout Vandecappelle (Essensium/Mind) [mailto:arnout at mind.be]
> Sent: 26 October 2011 23:28
> Subject: [PATCH] syslinux: add support for host-install
> 
> From: "Arnout Vandecappelle (Essensium/Mind)" <arnout at mind.be>
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  Hoi Will,
> 
>  This patch (applied to the current HEAD) builds syslinux for the host.

Thanks!

I can see some discussion on the mailing list of a few patches you have sent for
syslinux moving to v4.04 and adding the host build, but what is the status of
these?

> 
>  What is still missing from this is a way to have a Windows self-installer.
> I've got a patch cooking for that too, but it's a hack: it copies the
> precompiled syslinux.exe binary from the extracted tar file.

I can't see there is another way.  I have no interest in this personally but
would like to have a target build so my buildroot target can itself syslinux a
device to make it bootable.  I would suggest that these are both unusual versus
having a host build and so should be menu options.

> 
>  Regards,
>  Arnout
> ---
>  boot/syslinux/syslinux.mk |   16 ++++++++++++++++
>  1 files changed, 16 insertions(+), 0 deletions(-)
> 
> diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk
> index fa5af07..66a7076 100644
> --- a/boot/syslinux/syslinux.mk
> +++ b/boot/syslinux/syslinux.mk
> @@ -26,4 +26,20 @@ define SYSLINUX_INSTALL_IMAGES_CMDS
>  	done
>  endef
> 
> +
> +HOST_SYSLINUX_POST_EXTRACT_HOOKS += SYSLINUX_RM_MK_LBA_IMG
> +
> +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))
> --
> 1.7.7






More information about the buildroot mailing list