Source: u-boot
Severity: wishlist
Tags: patch

Debhelper allows one to select an architecture with the file name.
>From d4c56d74f4ad50162668b4f5d254b41d314ec905 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <nico...@debian.org>
Date: Wed, 6 Jan 2021 23:38:58 +0100
Subject: [PATCH 06/11] Simplify installation of a link for tegra on arm64 but
 not armhf

---
 debian/u-boot-tegra.links       | 7 -------
 debian/u-boot-tegra.links.arm64 | 1 +
 2 files changed, 1 insertion(+), 7 deletions(-)
 delete mode 100755 debian/u-boot-tegra.links
 create mode 100644 debian/u-boot-tegra.links.arm64

diff --git a/debian/u-boot-tegra.links b/debian/u-boot-tegra.links
deleted file mode 100755
index 49fabfc108..0000000000
--- a/debian/u-boot-tegra.links
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-case $DEB_HOST_GNU_TYPE in
-  aarch64-linux-gnu)
-    echo /usr/lib/u-boot/p2371-2180/uboot.elf /usr/lib/u-boot/p2371-2180/u-boot
-    ;;
-esac
diff --git a/debian/u-boot-tegra.links.arm64 b/debian/u-boot-tegra.links.arm64
new file mode 100644
index 0000000000..a71745bef0
--- /dev/null
+++ b/debian/u-boot-tegra.links.arm64
@@ -0,0 +1 @@
+usr/lib/u-boot/p2371-2180/uboot.elf     usr/lib/u-boot/p2371-2180/u-boot
-- 
2.20.1

Reply via email to