All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/cross-ldd: new package
@ 2021-12-15 18:00 Thierry Bultel
  2021-12-15 18:00 ` [Buildroot] [PATCH 2/3] package/dracut: new host package Thierry Bultel
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Thierry Bultel @ 2021-12-15 18:00 UTC (permalink / raw)
  To: buildroot; +Cc: Thierry Bultel, Thomas Petazzoni

cross-ldd works just as ldd, but supports
other architectures. It is needed by dracut, for instance.

Signed-off-by: Thierry Bultel <thierry.bultel@linatsea.fr>
---
 package/Config.in.host           |  1 +
 package/cross-ldd/Config.in.host |  5 +++++
 package/cross-ldd/cross-ldd.mk   | 20 ++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 100644 package/cross-ldd/Config.in.host
 create mode 100644 package/cross-ldd/cross-ldd.mk

diff --git a/package/Config.in.host b/package/Config.in.host
index 6e5a5c5fc5..0e8b071a2b 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -12,6 +12,7 @@ menu "Host utilities"
 	source "package/checksec/Config.in.host"
 	source "package/cmake/Config.in.host"
 	source "package/cramfs/Config.in.host"
+	source "package/cross-ldd/Config.in.host"
 	source "package/cryptsetup/Config.in.host"
 	source "package/dbus-python/Config.in.host"
 	source "package/dfu-util/Config.in.host"
diff --git a/package/cross-ldd/Config.in.host b/package/cross-ldd/Config.in.host
new file mode 100644
index 0000000000..237af701d2
--- /dev/null
+++ b/package/cross-ldd/Config.in.host
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_HOST_CROSS_LDD
+	bool "cross ldd"
+	help
+	ldd drop-in replacement for cross-compilation toolchains.
+	This is the officially supported version mentioned in the dracut documentation
diff --git a/package/cross-ldd/cross-ldd.mk b/package/cross-ldd/cross-ldd.mk
new file mode 100644
index 0000000000..9326a508bb
--- /dev/null
+++ b/package/cross-ldd/cross-ldd.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# cross-ldd
+#
+################################################################################
+
+CROSS_LDD_VERSION = 6c9c724ebd6a29c279c6e5734e44c07f067808ec
+CROSS_LDD_SOURCE = $(CROSS_LDD_VERSION).zip
+CROSS_LDD_SITE = https://gist.github.com/jerome-pouiller/c403786c1394f53f44a3b61214489e6f/archive
+
+define HOST_CROSS_LDD_EXTRACT_CMDS
+	unzip $(HOST_CROSS_LDD_DL_DIR)/$(CROSS_LDD_SOURCE) -d $(@D)
+	find $(@D) -name cross-compile-ldd -exec mv {} $(@D) \;
+endef
+
+define HOST_CROSS_LDD_INSTALL_CMDS
+	install -m 755 $(@D)/cross-compile-ldd $(TARGET_CROSS)ldd
+endef
+
+$(eval $(host-generic-package))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 19+ messages in thread
[parent not found: <20211215173411.274024-1-thierry.bultel@linatsea.fr>]

end of thread, other threads:[~2021-12-20 22:10 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 18:00 [Buildroot] [PATCH 1/3] package/cross-ldd: new package Thierry Bultel
2021-12-15 18:00 ` [Buildroot] [PATCH 2/3] package/dracut: new host package Thierry Bultel
2021-12-16 20:35   ` Arnout Vandecappelle
2021-12-15 18:00 ` [Buildroot] [PATCH 3/3] fs/dracut: new fs type Thierry Bultel
2021-12-16 20:49   ` Arnout Vandecappelle
2021-12-17 11:04     ` Thierry Bultel
2021-12-17 18:05       ` Arnout Vandecappelle
2021-12-17 21:50         ` Thierry Bultel
2021-12-18 13:22           ` Yann E. MORIN
2021-12-18 16:07             ` Thierry Bultel
2021-12-18 13:16         ` Yann E. MORIN
2021-12-19  6:55         ` Thierry Bultel
2021-12-19  8:23           ` Yann E. MORIN
2021-12-20 22:02             ` Arnout Vandecappelle
2021-12-20 22:10               ` Thierry Bultel
2021-12-16 20:31 ` [Buildroot] [PATCH 1/3] package/cross-ldd: new package Arnout Vandecappelle
2021-12-17 10:10   ` Thierry Bultel
2021-12-17 17:54     ` Arnout Vandecappelle
     [not found] <20211215173411.274024-1-thierry.bultel@linatsea.fr>
2021-12-15 17:34 ` [Buildroot] [PATCH 3/3] fs/dracut: new fs type Thierry Bultel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.