From 565af7f7c405c429b1747c748bc6159f830c4dbb Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Thu, 14 Oct 2021 15:28:55 +0800 Subject: [PATCH] restool: update to d29522a New commits: d29522a dpsw: set mem_size field in ls-addsw to 0 by default d7512d2 dpdmux: set mem_size field in ls-addmux to 0 by default 8fd3a6b restool: increase version to v2.3 53140e4 restool: change version string formatting 34e4e27 add man page for restool 2d46b18 restool: add bash completion script 2b876b5 dpdmai: add support for the new DPDMAI_OPT_CG_PER_PRIORITY create option 6188bc5 restool: support new dpsw_create and dpdmux_create option mem_size 0dd8744 restool: add DPSW_OPT_BP_PER_IF in dpsw create and ls-addsw 1bdfa99 ls-delete: take into account different naming for device links 6dd9314 dpni: memset the statistics feddfa6 dpsw: add support to configure the component-type 282bd30 restool: add support for DPDMUX_OPT_AUTO_MAX_FRAME_LEN 23cdaec restool: print max_frame_length in info command 2876f7c dpni: add page_6 missing structure to dpn_statistics_v10 18c53fc restool: info command shows newly added stats 96ce70e dpdmux: dump interface statistics in info command output afd9831 scripts: add the ls-delete helper script 0977d12 ls-addni: create a DPMCP for each DPIO created disable manpage generation. Signed-off-by: Ting Liu --- .../files/disable-manpage-generation.patch | 25 +++++++++++++++++++ recipes-dpaa2/restool/restool_git.bb | 15 +++++++---- 2 files changed, 35 insertions(+), 5 deletions(-) create mode 100644 recipes-dpaa2/restool/files/disable-manpage-generation.patch diff --git a/recipes-dpaa2/restool/files/disable-manpage-generation.patch b/recipes-dpaa2/restool/files/disable-manpage-generation.patch new file mode 100644 index 00000000..ec512830 --- /dev/null +++ b/recipes-dpaa2/restool/files/disable-manpage-generation.patch @@ -0,0 +1,25 @@ +From 5392152e704ff001c41de03445d668227237a87e Mon Sep 17 00:00:00 2001 +From: Ting Liu +Date: Fri, 15 Oct 2021 09:36:04 +0530 +Subject: [PATCH] disable manpage generation + +Signed-off-by: Ting Liu +--- + Makefile | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile b/Makefile +index ee669ae..ab6e499 100644 +--- a/Makefile ++++ b/Makefile +@@ -60,7 +60,6 @@ install: restool scripts/ls-main scripts/ls-append-dpl scripts/ls-debug scripts/ + install -D -m 755 scripts/ls-debug $(DESTDIR)$(bindir)/ls-debug + $(foreach symlink, $(RESTOOL_SCRIPT_SYMLINKS), sh -c "cd $(DESTDIR)$(bindir) && ln -sf ls-main $(symlink)" ;) + install -D -m 755 scripts/restool_completion.sh $(DESTDIR)$(bindir_completion)/restool +- install -m 0644 -D $(MANPAGE) $(call get_manpage_destination,$(MANPAGE)) + + clean: + rm -f $(OBJ) $(MANPAGE) \ +-- +2.25.1 + diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb index 7f4a93f7..3ff5afd8 100644 --- a/recipes-dpaa2/restool/restool_git.bb +++ b/recipes-dpaa2/restool/restool_git.bb @@ -2,14 +2,16 @@ SUMMARY = "DPAA2 Resource Manager Tool" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=ec8d84e9cd4de287e290275d09db27f0" -RDEPENDS:${PN} += "bash dtc" - -SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/restool;nobranch=1" -SRCREV = "8ddbe4c9559ffad5d7e5dd3cd5f00ceeff7f05d4" +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/restool;nobranch=1 \ + file://disable-manpage-generation.patch \ +" +SRCREV = "d29522aef9f92ff2557978d5d3979b771a9576fe" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'CC="${CC}" EXTRA_CFLAGS="-O2 -Wno-missing-field-initializers -Wno-missing-braces -Wno-maybe-uninitialized -Wno-date-time"' +inherit bash-completion + +EXTRA_OEMAKE = 'CC="${CC}" MANPAGE= EXTRA_CFLAGS="-O2 -Wno-missing-field-initializers -Wno-missing-braces -Wno-maybe-uninitialized -Wno-date-time"' do_install () { oe_runmake install DESTDIR=${D} @@ -18,3 +20,6 @@ do_install () { COMPATIBLE_MACHINE = "(qoriq-arm64)" PACKAGE_ARCH = "${MACHINE_ARCH}" +RDEPENDS:${PN} += "bash dtc" +RDEPENDS:${PN}-bash-completion += "bash" + -- 2.40.1