Files
meta-openembedded/meta-oe/recipes-support/libusb/libusb-compat/0002-automake-make-example-programs-installable.patch
Ankur Tyagi ec1029f71b libusb-compat: upgrade 0.1.8 -> 0.1.9
Refreshed 0002-automake-make-example-programs-installable.patch

Changelog:
https://github.com/libusb/libusb-compat-0.1/compare/v0.1.8...v0.1.9

PTESTS passed:

root@qemuarm64:~# ptest-runner libusb-compat
START: ptest-runner
2026-07-24T02:01
BEGIN: /usr/lib/libusb-compat/ptest
...
...
END: /usr/lib/libusb-compat/ptest
2026-07-24T02:01
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-24 00:35:26 -07:00

25 lines
802 B
Diff

From 9dcdfa716e3c3831d9b70472b39dab2fd370f503 Mon Sep 17 00:00:00 2001
From: Yoann Congal <yoann.congal@smile.fr>
Date: Sun, 26 Feb 2023 16:04:35 +0100
Subject: [PATCH] automake: make example programs installable
The example programs are used as tests for ptest, so we need a way to
install them on the rootfs.
Upstream-Status: Inappropriate [oe-core specific]
---
examples/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 9bd3efc..f4324c2 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS = -I$(top_srcdir)/libusb
-noinst_PROGRAMS = lsusb testlibusb hotplug_monitor
+bin_PROGRAMS = lsusb testlibusb hotplug_monitor
lsusb_SOURCES = lsusb.c
lsusb_LDADD = ../libusb/libusb.la