From f29268ee21106dfd9f578088745c43aa5e6ed3a3 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 30 Nov 2018 20:43:36 -0200 Subject: libusbgx: Add recipe The libusbgx allow easier use and setup of USB gadgets. To easy integration on different systems a libusbgx-config package is provided so it can be used to start and enable respective USB gadget schema. Signed-off-by: Otavio Salvador Signed-off-by: Khem Raj --- meta-oe/recipes-support/libusbgx/libusbgx-config.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-oe/recipes-support/libusbgx/libusbgx-config.bb (limited to 'meta-oe/recipes-support/libusbgx/libusbgx-config.bb') diff --git a/meta-oe/recipes-support/libusbgx/libusbgx-config.bb b/meta-oe/recipes-support/libusbgx/libusbgx-config.bb new file mode 100644 index 000000000..b269e33c4 --- /dev/null +++ b/meta-oe/recipes-support/libusbgx/libusbgx-config.bb @@ -0,0 +1,12 @@ +SUMMARY = "USB Gadget Configuration Files" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "file://usbgx.default" + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -Dm 0644 ${WORKDIR}/usbgx.default ${D}${sysconfdir}/default/usbgx +} -- cgit v1.2.3-54-g00ecf