From patchwork Wed May 15 23:12:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spenser Gilliland X-Patchwork-Id: 244199 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0F6D52C00A5 for ; Thu, 16 May 2013 09:12:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CE2F281C29; Wed, 15 May 2013 23:12:16 +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 9ZZcBTrNBa9q; Wed, 15 May 2013 23:12:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6C9218D51A; Wed, 15 May 2013 23:12:14 +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 A81E48F76F for ; Wed, 15 May 2013 23:12:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5C37B8D522 for ; Wed, 15 May 2013 23:12:13 +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 Sl2wCXNuwU8O for ; Wed, 15 May 2013 23:12:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1C84781C29 for ; Wed, 15 May 2013 23:12:11 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id i4so2937293oah.35 for ; Wed, 15 May 2013 16:12:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=piv2CgXlg2KafV/63v2pvfNASX4gM9HRCnvPrtitXUs=; b=n0saJTmO6neQN7VrI6NTvnzbmV/WVLBjvpkRWcdGTbxWRtLZygg9PgUm+u4fFRXu5q HzzXYD8ILgxTTmTyXWkBIK59nOtwArWaHMZy/krNCS8OpSMUYF83Z2OCsQQo5IUQga4s DrQP2o0lKO8Tij67lQHKkRWEen/B61MJO9K3mkVZTVAn/gt0VRI2zEjOxRGv24+/eBRL hqUITvxHFyXF2LbAKRuzNJVYWHaQdVsYBjZ5CXqMKTaKNAcW8SqKXrwYH9cK1aWpd0nL 4LXhZ4woemKRig9fNh9Bj24uUmLMXuPGCugTIeY+hn869gB7TBaryjGzWu1i8k2iobg5 PGHQ== X-Received: by 10.182.220.161 with SMTP id px1mr18405418obc.82.1368659530238; Wed, 15 May 2013 16:12:10 -0700 (PDT) Received: from bourban.gateway.2wire.net (108-90-245-135.lightspeed.cicril.sbcglobal.net. [108.90.245.135]) by mx.google.com with ESMTPSA id jt1sm5320799oeb.5.2013.05.15.16.12.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 15 May 2013 16:12:09 -0700 (PDT) From: Spenser Gilliland To: buildroot@busybox.net Date: Wed, 15 May 2013 18:12:02 -0500 Message-Id: <1368659524-21154-1-git-send-email-spenser@gillilanding.com> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQklh5GAOQYEJDcVZvH0CLEqNFk4uvH79ueV/md8wNAok8LNMniiZ00rZ1T1eH+A3pd1ZSUc Cc: Spenser Gilliland Subject: [Buildroot] [PATCH 1/3] uboot: Add ELF target 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Spenser Gilliland adds ELF image option to uboot Signed-off-by: Spenser Gilliland --- boot/uboot/Config.in | 3 +++ boot/uboot/uboot.mk | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index a1874a1..aadf757 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -98,6 +98,9 @@ config BR2_TARGET_UBOOT_FORMAT_LDR depends on BR2_bfin bool "u-boot.ldr" +config BR2_TARGET_UBOOT_FORMAT_ELF + bool "u-boot.elf" + endchoice config BR2_TARGET_UBOOT_OMAP_IFT diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 004bdf2..593bb29 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -25,7 +25,9 @@ UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2 endif -ifeq ($(BR2_TARGET_UBOOT_FORMAT_KWB),y) +ifeq ($(BR2_TARGET_UBOOT_FORMAT_ELF),y) +UBOOT_BIN = u-boot +else ifeq ($(BR2_TARGET_UBOOT_FORMAT_KWB),y) UBOOT_BIN = u-boot.kwb UBOOT_MAKE_TARGET = $(UBOOT_BIN) else ifeq ($(BR2_TARGET_UBOOT_FORMAT_AIS),y)