diff mbox series

[master-wip,6/8] nw-configurator: move and clean up

Message ID 20250311200139.3845524-6-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [master-wip,1/8] sysrepo: move and clean up | expand

Commit Message

Denys Dmytriyenko March 11, 2025, 8:01 p.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

* Move into recipes-extended
* Set SUMMARY instead of DESCRIPTION
* FILES_${PN}-dev is incorrect - old syntax and is not needed
* Tabs/spaces cleanup

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../sysrepo}/nw-configurator.bb                             | 6 ++----
 .../sysrepo/nw-configurator}/nw-configurator.c              | 0
 2 files changed, 2 insertions(+), 4 deletions(-)
 rename meta-arago-extras/{recipes-sysrepo/nw-configurator => recipes-extended/sysrepo}/nw-configurator.bb (74%)
 rename meta-arago-extras/{recipes-sysrepo/nw-configurator/files => recipes-extended/sysrepo/nw-configurator}/nw-configurator.c (100%)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb b/meta-arago-extras/recipes-extended/sysrepo/nw-configurator.bb
similarity index 74%
rename from meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb
rename to meta-arago-extras/recipes-extended/sysrepo/nw-configurator.bb
index b383571d..50debb36 100644
--- a/meta-arago-extras/recipes-sysrepo/nw-configurator/nw-configurator.bb
+++ b/meta-arago-extras/recipes-extended/sysrepo/nw-configurator.bb
@@ -1,4 +1,4 @@ 
-DESCRIPTION = "Sysrepo based repo to configure EST"
+SUMMARY = "Sysrepo based repo to configure EST"
 
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://nw-configurator.c;beginline=1;endline=33;md5=3538caaf9bfb8372347877ad393660fa"
@@ -8,14 +8,12 @@  SRC_URI = "file://nw-configurator.c"
 S = "${WORKDIR}/sources"
 UNPACKDIR = "${S}"
 
-FILES_${PN}-dev = "${includedir}"
-
 DEPENDS = "sysrepo"
 
 inherit autotools pkgconfig
 
 do_compile() {
-	${CC} ${CFLAGS} ${LDFLAGS} -I=${STAGING_INCDIR}	${S}/nw-configurator.c -o nw-configurator -lsysrepo
+	${CC} ${CFLAGS} ${LDFLAGS} -I=${STAGING_INCDIR} ${S}/nw-configurator.c -o nw-configurator -lsysrepo
 }
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-arago-extras/recipes-sysrepo/nw-configurator/files/nw-configurator.c b/meta-arago-extras/recipes-extended/sysrepo/nw-configurator/nw-configurator.c
similarity index 100%
rename from meta-arago-extras/recipes-sysrepo/nw-configurator/files/nw-configurator.c
rename to meta-arago-extras/recipes-extended/sysrepo/nw-configurator/nw-configurator.c