From patchwork Sun Jan 5 12:20:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Lundquist X-Patchwork-Id: 306958 X-Patchwork-Delegate: yann.morin.1998@free.fr Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 63E552C00B7 for ; Sun, 5 Jan 2014 23:49:00 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7268E33176; Sun, 5 Jan 2014 12:48:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MfmewUhAjAID; Sun, 5 Jan 2014 12:48:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1DB5B3315F; Sun, 5 Jan 2014 12:48:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 02EB21BFA5C for ; Sun, 5 Jan 2014 12:48:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EFB9C8C9F3 for ; Sun, 5 Jan 2014 12:48:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdRoiKvw-we1 for ; Sun, 5 Jan 2014 12:48:54 +0000 (UTC) X-Greylist: delayed 00:28:11 by SQLgrey-1.7.6 Received: from castle.zelow.no (castle.zelow.no [87.238.35.142]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7B0968C9F1 for ; Sun, 5 Jan 2014 12:48:54 +0000 (UTC) Received: from lists by castle.zelow.no with local (Exim 4.76) (envelope-from ) id 1Vzmh5-0002XS-6c for buildroot@busybox.net; Sun, 05 Jan 2014 13:20:39 +0100 Date: Sun, 5 Jan 2014 13:20:39 +0100 From: Thomas Lundquist To: buildroot@busybox.net Message-ID: <20140105122039.GA4201@zelow.no> MIME-Version: 1.0 Content-Disposition: inline X-Mailer: git-send-email 1.8.3.2 User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Buildroot] [PATCH 1/1] Adding extlinux to sysliux binaries copied into target/images. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Using the mail address I have on Github, which is the reason for the difference in addresses. Signed-off-by: Thomas Lundquist --- 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