From patchwork Fri May 8 21:40:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joao Marcos Costa X-Patchwork-Id: 87768 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3820CD342F for ; Fri, 8 May 2026 21:40:37 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.669.1778276435639229843 for ; Fri, 08 May 2026 14:40:35 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=APcRIhx+; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 70A8DC5DC73; Fri, 8 May 2026 21:41:22 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 23693605D0; Fri, 8 May 2026 21:40:34 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 1F47810819DBA; Fri, 8 May 2026 23:40:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1778276433; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=9Ey05Gm7nU7ADQ8P8O0WhBbqz5R84meaOgfVr4LUazU=; b=APcRIhx+V7qCH1Q+WQ1r5zCZ/N5ooGinF/Igoxu4OiykL88CUIWa1gmBVMZhgo/t3vjwF0 PtwMIrQcDbQgNr6GxcvywzeK+qw5bCZ0XmISmB3u1lS+m404zfcXipQp+tuV5HIIpSwNY6 +cXlgtrhzC537pDwtRbh2MnLG7OLK1+qZXMdwQ7/ZzSTIwX/+IW5fsCceiK3q1fwDwCmSc 0NuhpGjMcgkU9AwzemyOdO5rxWFSbmVejl0pVDPeFTqVmcfKFAxvnNno5A2FaANYyHrDZt Y/pUfUA/WL67J5AcEv7CVkmhDHXOBHjTPa4iTPurrhK5P7DZXuUfK6scdbllHw== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, quentin.schulz@cherry.de, paul@pbarker.dev, mathieu.dubois-briand@bootlin.com, =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= Subject: [PATCH 1/4] vim: introduce vim-sources.inc file Date: Fri, 8 May 2026 23:40:17 +0200 Message-ID: <20260508214020.2488025-2-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> References: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 08 May 2026 21:40:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/236742 This include file contains source-related settings that should be common for any recipes whose sources belong into Vim's source code. The first example is xxd, which will be introduced in a follow-up commit. Signed-off-by: João Marcos Costa --- meta/recipes-support/vim/vim-sources.inc | 16 ++++++++++++++++ meta/recipes-support/vim/vim.inc | 17 +---------------- 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 meta/recipes-support/vim/vim-sources.inc diff --git a/meta/recipes-support/vim/vim-sources.inc b/meta/recipes-support/vim/vim-sources.inc new file mode 100644 index 0000000000..8a12485c39 --- /dev/null +++ b/meta/recipes-support/vim/vim-sources.inc @@ -0,0 +1,16 @@ +LICENSE = "Vim" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d1a651ab770b45d41c0f8cb5a8ca930e" + +SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} \ + file://disable_acl_header_check.patch \ + file://0001-src-Makefile-improve-reproducibility.patch \ + file://no-path-adjust.patch \ + " + +PV .= ".0340" +SRCREV = "6addd6c101117706bc9b3609d3a418e26e92618f" + +# Do not consider .z in x.y.z, as that is updated with every commit +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.\d+)\.0" +# Ignore that the upstream version .z in x.y.z is always newer +UPSTREAM_VERSION_UNKNOWN = "1" diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index d6fdf45706..74777864e7 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc @@ -9,22 +9,7 @@ DEPENDS = "ncurses gettext-native" # vimdiff doesn't like busybox diff RSUGGESTS:${PN} = "diffutils" -LICENSE = "Vim" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d1a651ab770b45d41c0f8cb5a8ca930e" - -SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https;tag=v${PV} \ - file://disable_acl_header_check.patch \ - file://0001-src-Makefile-improve-reproducibility.patch \ - file://no-path-adjust.patch \ - " - -PV .= ".0340" -SRCREV = "6addd6c101117706bc9b3609d3a418e26e92618f" - -# Do not consider .z in x.y.z, as that is updated with every commit -UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.\d+)\.0" -# Ignore that the upstream version .z in x.y.z is always newer -UPSTREAM_VERSION_UNKNOWN = "1" +require vim-sources.inc VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}" From patchwork Fri May 8 21:40:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joao Marcos Costa X-Patchwork-Id: 87771 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96D57CD37B5 for ; Fri, 8 May 2026 21:40:47 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.670.1778276438655926543 for ; Fri, 08 May 2026 14:40:38 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=XyulgKGU; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 2AF68C5DC71 for ; Fri, 8 May 2026 21:41:25 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D1491605D0; Fri, 8 May 2026 21:40:36 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D4F5F10819DD3; Fri, 8 May 2026 23:40:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1778276436; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=IwWjBD6MyQtJ7P5r+d1EVb9dXJPR5t3/1SG6vNzmMdg=; b=XyulgKGUjBG9mpRBL+eFv1Ie/e1SwSH5sw7rXQby6vmy5V4UkkwPgPX5by+jGxGtt2Gcli wVdNy5EZgeupB5kViNNZ+w6bOe/yGn4H2pzje0GBuDT83QLqjaHY/FVbxUzEZ88CiOi1OH idWwN2tcqTlCpPolQRVRLm8Xx2sbPpy2fvtPbc198Cac6Mpijt1SQrYEh1zoOIWOVLdYDC NRJw8X3h1mzSHkdVsVx1ZjTNjL4INuiNILkZlx+vdGTO4iDbPojIlkdB9tu8nCB0ZoS09m +oG9hJZfrjsJSrykOo2PSk0tUf4pOztszLb+s/kZDpK80OeX35zMTawkvkjzWg== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, quentin.schulz@cherry.de, paul@pbarker.dev, mathieu.dubois-briand@bootlin.com, =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= Subject: [PATCH 2/4] vim-xxd: introduce new recipe for xxd Date: Fri, 8 May 2026 23:40:18 +0200 Message-ID: <20260508214020.2488025-3-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> References: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 08 May 2026 21:40:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/236743 This new recipe's main purpose is to handle xxd in the simplest way possible, stripping it from any needless tasks and/or dependencies that come from the fact it was originally provided by the same recipe as Vim. Not only this recipe is faster to build, but it still provides the very same program for both build-time and run-time, so there should be no migration needed by the recipes depend on xxd. Signed-off-by: João Marcos Costa --- meta/conf/distro/include/maintainers.inc | 1 + meta/recipes-support/vim/vim-xxd_9.2.bb | 29 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-support/vim/vim-xxd_9.2.bb diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index f98305e930..7d45bfaf65 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -871,6 +871,7 @@ RECIPE_MAINTAINER:pn-vala = "Unassigned " RECIPE_MAINTAINER:pn-valgrind = "Mingli Yu " RECIPE_MAINTAINER:pn-vim = "Unassigned " RECIPE_MAINTAINER:pn-vim-tiny = "Unassigned " +RECIPE_MAINTAINER:pn-vim-xxd = "João Marcos Costa " RECIPE_MAINTAINER:pn-virglrenderer = "Unassigned " RECIPE_MAINTAINER:pn-volatile-binds = "Chen Qi " RECIPE_MAINTAINER:pn-vte = "Unassigned " diff --git a/meta/recipes-support/vim/vim-xxd_9.2.bb b/meta/recipes-support/vim/vim-xxd_9.2.bb new file mode 100644 index 0000000000..d876efec4e --- /dev/null +++ b/meta/recipes-support/vim/vim-xxd_9.2.bb @@ -0,0 +1,29 @@ +SUMMARY = "Hex dump and reverse utility from the Vim source tree" +DESCRIPTION = "xxd is a small utility usually distributed with Vim that creates hex dumps from binary data and can also convert hex dumps back to their original form." +SECTION = "console/utils" +HOMEPAGE = "https://www.vim.org/" +BUGTRACKER = "https://github.com/vim/vim/issues" + +require vim-sources.inc + +inherit update-alternatives + +PROVIDES += "xxd" + +do_compile() { + cd ${S}/src/xxd; + oe_runmake xxd +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 src/xxd/xxd ${D}${bindir} +} + +RPROVIDES:${PN} += "xxd" + +ALTERNATIVE:${PN} = "xxd" +ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" +ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" + +BBCLASSEXTEND = "native nativesdk" From patchwork Fri May 8 21:40:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joao Marcos Costa X-Patchwork-Id: 87769 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86C51CD342F for ; Fri, 8 May 2026 21:40:47 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.695.1778276440800992181 for ; Fri, 08 May 2026 14:40:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=OWmQy0e6; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id A0E584E42C4D; Fri, 8 May 2026 21:40:38 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 7753F605D0; Fri, 8 May 2026 21:40:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A4F3E10819DBA; Fri, 8 May 2026 23:40:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1778276437; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=1v5iBL+ggd80JTQXMSMcBOwMwwKUrVBj6u+6AT9ZYZA=; b=OWmQy0e6V1k1ejErtKKLxNhFk/UKZLw5EkpUvIs0OYHXBIhdymZN0d2O8A/kv0FKkERbTC 5i3HDkheTDnIHQWB4IB21dwRx+TYq9p35JHmWN1IktNW1KHcZgkF5S0zxqgC51nKo62b29 WelyuVSohMVoAx8bjoOzPgWFSPCub7TxNsE8O/Mc4kSbsMGCbYS8i2MlwMqaySVS4SnBz2 seZ1P9xGh7bgYQZtDGPBHMko/Ym4+4IwZZIiRXSb6znXnT3KZ3Gbo6cB9rTtxoonakWY2i ARdbBArZ28VDbRjhPkoZ47e8MG30BwrRk0xs1FUD7+DfqrSnPUIMnpbCGm8BwA== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, quentin.schulz@cherry.de, paul@pbarker.dev, mathieu.dubois-briand@bootlin.com, =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= Subject: [PATCH 3/4] vim: drop references to xxd in base recipe Date: Fri, 8 May 2026 23:40:19 +0200 Message-ID: <20260508214020.2488025-4-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> References: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 08 May 2026 21:40:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/236745 The new vim-xxd recipe provides a binary package shipping xxd, along with the update-alternative specific settings, and it also provides xxd for build-time. Remove these settings in Vim's base recipe to avoid duplication and potential conflicts. Signed-off-by: João Marcos Costa --- meta/recipes-support/vim/vim_9.2.bb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/meta/recipes-support/vim/vim_9.2.bb b/meta/recipes-support/vim/vim_9.2.bb index fee9f055e9..8341dd5af8 100644 --- a/meta/recipes-support/vim/vim_9.2.bb +++ b/meta/recipes-support/vim/vim_9.2.bb @@ -1,7 +1,5 @@ require vim.inc -PROVIDES = "xxd" - RDEPENDS:${PN} = "ncurses-terminfo-base ${PN}-xxd" # Recommend that runtime data is installed along with vim RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" @@ -9,14 +7,6 @@ RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-commo PACKAGECONFIG:class-native = "" BBCLASSEXTEND = "native nativesdk" -PACKAGES =+ "${PN}-xxd" -FILES:${PN}-xxd = "${bindir}/xxd" -RPROVIDES:${PN}-xxd = "xxd" - -ALTERNATIVE:${PN}-xxd = "xxd" -ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" -ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" - # We override the default in security_flags.inc because vim (not vim-tiny!) will abort # in many places for _FORTIFY_SOURCE=2. Security flags become part of CC. # From patchwork Fri May 8 21:40:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joao Marcos Costa X-Patchwork-Id: 87770 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7135FCD3445 for ; Fri, 8 May 2026 21:40:47 +0000 (UTC) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.696.1778276441099999891 for ; Fri, 08 May 2026 14:40:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=FIbxN6oI; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id D8CD3C5DC71 for ; Fri, 8 May 2026 21:41:27 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 8AD66605D0; Fri, 8 May 2026 21:40:39 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 45D2C10819DE2; Fri, 8 May 2026 23:40:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1778276438; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=9UONEc0Mr2FOrz3zYudm5/5edR1ivT3A/1PTEK7/LAc=; b=FIbxN6oIMKPl5HmAZG6Ghs3WbjcMw0BDLv69EiylMaenubH35x72bpS5UYcJ137P7T47MV qzN0UP8ba7CwhQSsWnhAL6DV2/EOX5cGUU0DDzROUkgnmaQagOuo9obwVFYkFEutcANtxD pL1tYZwvknHO/kmYLC5/JbQijRxOcQC9moIGFpmm8MxrcqBEN1tn/KPwjcYEMbnQdMbNLI UoQzUbeASyYi6IsB5FW+7662avqBjoQGwYls0wa6fqtfV72M7r1eifl6oPrD74uv2HGpwA LduFydMoevNZIhCSKO8THzBr2jNrl5jTneXiCDho41bi4QmmQlyrewbzNEiNlQ== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, quentin.schulz@cherry.de, paul@pbarker.dev, mathieu.dubois-briand@bootlin.com, =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= Subject: [PATCH 4/4] vim.inc: remove xxd from the destination directory Date: Fri, 8 May 2026 23:40:20 +0200 Message-ID: <20260508214020.2488025-5-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> References: <20260508214020.2488025-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 08 May 2026 21:40:47 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/236744 Since the default target depends on xxd, building vim leads to building xxd as well, and this raises (for instance) the error below: error: check_data_file_clashes: Package vim wants to install file /src/build/tmp/work/qemuriscv64-oe-linux/core-image-minimal/1.0/rootfs/usr/bin/xxd But that file is already provided by package vim-xxd This is not the ideal approach, because we are just removing something after it is compiled instead of simply not compiling it in the first place. That being said, merely compiling xxd does not add much (or any?) actual overhead. Signed-off-by: João Marcos Costa --- meta/recipes-support/vim/vim.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 74777864e7..4a7092e4a0 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc @@ -97,6 +97,10 @@ do_install() { # delete the block. sed -i '/the mouse works just fine/,+4d' ${D}/${datadir}/${BPN}/vimrc fi + + # FIXME: ideally, Vim's makefiles should be tweaked to not build xxd, + # considering xxd (vim-xxd) has its own recipe now + rm ${D}${bindir}/xxd } PARALLEL_MAKEINST = ""