From: Thomas Lundquist <lists@zelow.no>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Adding extlinux to sysliux binaries copied into target/images.
Date: Sun, 5 Jan 2014 13:20:39 +0100 [thread overview]
Message-ID: <20140105122039.GA4201@zelow.no> (raw)
Using the mail address I have on Github, which is the reason for the difference
in addresses.
Signed-off-by: Thomas Lundquist <thomasez@redpill-linpro.com>
---
boot/syslinux/Config.in | 4 ++++
boot/syslinux/syslinux.mk | 7 +++++++
2 files changed, 11 insertions(+)
diff --git a/boot/syslinux/Config.in b/boot/syslinux/Config.in
index 2c39e65..5773abb 100644
--- a/boot/syslinux/Config.in
+++ b/boot/syslinux/Config.in
@@ -17,4 +17,8 @@ config BR2_TARGET_SYSLINUX_PXELINUX
bool "Install pxelinux"
default y
+config BR2_TARGET_SYSLINUX_EXTLINUX
+ bool "Install extlinux"
+ default y
+
endif
diff --git a/boot/syslinux/syslinux.mk b/boot/syslinux/syslinux.mk
index eedc364..bfc2694 100644
--- a/boot/syslinux/syslinux.mk
+++ b/boot/syslinux/syslinux.mk
@@ -26,10 +26,17 @@ endef
SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_ISOLINUX) += isolinux.bin
SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_PXELINUX) += pxelinux.bin
+ifeq ($(BR2_TARGET_SYSLINUX_EXTLINUX),y)
+define SYSLINUX_INSTALL_EXTLINUX
+ $(INSTALL) -D -m 0755 $(@D)/extlinux/extlinux $(BINARIES_DIR)/extlinux;
+endef
+endif
+
define SYSLINUX_INSTALL_IMAGES_CMDS
for i in $(SYSLINUX_IMAGES-y); do \
$(INSTALL) -D -m 0755 $(@D)/core/$$i $(BINARIES_DIR)/$$i; \
done
+ $(SYSLINUX_INSTALL_EXTLINUX)
endef
--
1.8.3.2
----- End forwarded message -----
next reply other threads:[~2014-01-05 12:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-05 12:20 Thomas Lundquist [this message]
2014-01-05 15:16 ` [Buildroot] [PATCH 1/1] Adding extlinux to sysliux binaries copied into target/images Yann E. MORIN
2014-01-05 17:19 ` Yann E. MORIN
2014-04-23 21:02 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140105122039.GA4201@zelow.no \
--to=lists@zelow.no \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox