From patchwork Tue Jun 23 23:04:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yair Ben-Avraham X-Patchwork-Id: 1315672 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=protonmail.com header.i=@protonmail.com header.a=rsa-sha256 header.s=protonmail header.b=WiHIc1WR; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49s20R3sFFz9sQt for ; Wed, 24 Jun 2020 09:04:23 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 472FF8980C; Tue, 23 Jun 2020 23:04:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oArOkQU6eKb0; Tue, 23 Jun 2020 23:04:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CF8DB8972D; Tue, 23 Jun 2020 23:04:17 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D21431BF48B for ; Tue, 23 Jun 2020 23:04:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CED6289702 for ; Tue, 23 Jun 2020 23:04:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3X8FAbBC6pTe for ; Tue, 23 Jun 2020 23:04:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by hemlock.osuosl.org (Postfix) with ESMTPS id D3DB68972D for ; Tue, 23 Jun 2020 23:04:13 +0000 (UTC) Date: Tue, 23 Jun 2020 23:04:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1592953451; bh=OFhwOfa3KOT5mmAR90AsRTb5glP5pqpgrC+e3JV+7xI=; h=Date:To:From:Reply-To:Subject:From; b=WiHIc1WRhJsjvvvlC8jV2FfWAY5scI3xJ0IFmnow1P3AVABt+DReYuK777AP8UmDU M5jo2jXrZTGv28TkzznicW07juPLIuLw9JeyYuUcU/nIV3IJOmyZ87QJmgSZU6rzLO YknYG+UzPgLwksCw05Bqeed/5pcTOzvCn9WRWsoM= To: "buildroot@buildroot.org" From: Yair Ben-Avraham Message-ID: MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] boot/uboot/: Name U-Boot boot script image X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Yair Ben-Avraham Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Yair Ben Avraham --- boot/uboot/Config.in | 5 +++++ boot/uboot/uboot.mk | 1 + 2 files changed, 6 insertions(+) -- 2.20.1 diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 8cce9b1bae..310c4f8186 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -568,6 +568,11 @@ config BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE help Source file to generate the U-Boot boot script. +config BR2_TARGET_UBOOT_BOOT_SCRIPT_IMAGE_NAME + string "U-Boot boot script image name" + help + Image (*not* file) name. + endif if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index 71689207e3..ab945eb159 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -340,6 +340,7 @@ define UBOOT_INSTALL_IMAGES_CMDS $(UBOOT_GENERATE_ENV_IMAGE) $(if $(BR2_TARGET_UBOOT_BOOT_SCRIPT), $(MKIMAGE) -C none -A $(MKIMAGE_ARCH) -T script \ + -n $(BR2_TARGET_UBOOT_BOOT_SCRIPT_IMAGE_NAME) \ -d $(call qstrip,$(BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE)) \ $(BINARIES_DIR)/boot.scr) endef