Received: from list by lists.gnu.org with archive (Exim 4.71) id 1hY6fY-00074a-7J for mharc-grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hY6fQ-0006zs-Mc for grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hY6fO-0005Kh-SN for grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:44 -0400 Received: from mail.csgraf.de ([188.138.100.120]:35790 helo=zulu616.server4you.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hY6fM-0005J1-Sd for grub-devel@gnu.org; Tue, 04 Jun 2019 06:27:42 -0400 Received: from server.alex.local (x5f732cb8.dyn.telefonica.de [95.115.44.184]) by csgraf.de (Postfix) with ESMTPSA id 8CBE5390054D; Tue, 4 Jun 2019 12:27:36 +0200 (CEST) From: Alexander Graf To: grub-devel@gnu.org Cc: Daniel Kiper , Leif Lindholm Subject: [PATCH v3 05/10] arm coreboot: Use common directory path Date: Tue, 4 Jun 2019 12:27:29 +0200 Message-Id: <20190604102734.1525-6-agraf@csgraf.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190604102734.1525-1-agraf@csgraf.de> References: <20190604102734.1525-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: Tue, 04 Jun 2019 10:27:45 -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 Reviewed-by: Daniel Kiper --- 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