Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hKWEp-00046G-VJ for mharc-grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKWEm-00044J-Nx for grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKWEl-0004hZ-Fz for grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:04 -0400 Received: from zulu616.server4you.de ([188.138.100.120]:49388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKWEl-0004gc-80 for grub-devel@gnu.org; Sat, 27 Apr 2019 18:56:03 -0400 Received: from server.alex.local (x5f7241a8.dyn.telefonica.de [95.114.65.168]) by csgraf.de (Postfix) with ESMTPSA id 442A93900628 for ; Sun, 28 Apr 2019 00:56:01 +0200 (CEST) From: Alexander Graf To: grub-devel@gnu.org Subject: [PATCH 5/6] arm coreboot: Use common directory path Date: Sun, 28 Apr 2019 00:55:57 +0200 Message-Id: <20190427225559.15179-6-agraf@csgraf.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190427225559.15179-1-agraf@csgraf.de> References: <20190427225559.15179-1-agraf@csgraf.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 188.138.100.120 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Apr 2019 22:56:05 -0000 The ARM coreboot target supports multiple boards, but they are all built using the same object path. The only difference in target boards is done in mkimage to determine the load address. Currently, mkimage is looking at a board specific path (/usr/lib/grub/arm-coreboot-vexpress) for modules while it installs it at a non-specific path (/usr/lib/grub/arm-coreboot). So let's sync the two up again and tell mkimage to look for coreboot modules at a board agnostic path, syncing it up with all other targets. Signed-off-by: Alexander Graf --- util/mkimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/mkimage.c b/util/mkimage.c index 37d6249f1..f1a9c9c86 100644 --- a/util/mkimage.c +++ b/util/mkimage.c @@ -553,7 +553,7 @@ static const struct grub_install_image_target_desc image_targets[] = }, /* For coreboot versions that don't support self-relocating images. */ { - .dirname = "arm-coreboot-vexpress", + .dirname = "arm-coreboot", .names = { "arm-coreboot-vexpress", NULL }, .voidp_sizeof = 4, .bigendian = 0, @@ -572,7 +572,7 @@ static const struct grub_install_image_target_desc image_targets[] = .link_addr = 0x62000000, }, { - .dirname = "arm-coreboot-veyron", + .dirname = "arm-coreboot", .names = { "arm-coreboot-veyron", NULL }, .voidp_sizeof = 4, .bigendian = 0, -- 2.16.4