{"id":2222747,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2222747/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20260413151148.42226-3-maxime@leroys.fr/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.1/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20260413151148.42226-3-maxime@leroys.fr>","date":"2026-04-13T15:11:47","name":"[2/3] package/dpdk: add option to disable target installation","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"0521c6781c571bf47900a1a5cd9b05595e5f3867","submitter":{"id":90563,"url":"http://patchwork.ozlabs.org/api/1.1/people/90563/?format=json","name":"Maxime Leroy","email":"maxime@leroys.fr"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20260413151148.42226-3-maxime@leroys.fr/mbox/","series":[{"id":499720,"url":"http://patchwork.ozlabs.org/api/1.1/series/499720/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=499720","date":"2026-04-13T15:11:45","name":"Bump libecoli and grout; DPDK packaging improvement","version":1,"mbox":"http://patchwork.ozlabs.org/series/499720/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2222747/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2222747/checks/","tags":{},"headers":{"Return-Path":"<buildroot-bounces@buildroot.org>","X-Original-To":["incoming-buildroot@patchwork.ozlabs.org","buildroot@buildroot.org"],"Delivered-To":["patchwork-incoming-buildroot@legolas.ozlabs.org","buildroot@buildroot.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=fDtgZnfF;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvWB14Kcmz1xtJ\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 14 Apr 2026 01:12:57 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 0EB4C844C1;\n\tMon, 13 Apr 2026 15:12:51 +0000 (UTC)","from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id 4V1BotD55DOL; Mon, 13 Apr 2026 15:12:50 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 44606844DD;\n\tMon, 13 Apr 2026 15:12:50 +0000 (UTC)","from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists1.osuosl.org (Postfix) with ESMTP id 452DC283\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 15:12:49 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 42A1B6178F\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 15:12:49 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id iXrfwTpA-5J3 for <buildroot@buildroot.org>;\n Mon, 13 Apr 2026 15:12:48 +0000 (UTC)","from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com\n [IPv6:2a00:1450:4864:20::32c])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 5EA56607F2\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 15:12:48 +0000 (UTC)","by mail-wm1-x32c.google.com with SMTP id\n 5b1f17b1804b1-4887ca8e529so29550315e9.0\n for <buildroot@buildroot.org>; Mon, 13 Apr 2026 08:12:48 -0700 (PDT)","from freepad.. ([2a01:e0a:6f:bdf0:e29d:2bc5:1d06:3359])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488cd10b1dbsm244379245e9.2.2026.04.13.08.12.45\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Apr 2026 08:12:45 -0700 (PDT)"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp1.osuosl.org 44606844DD","OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5EA56607F2"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1776093170;\n\tbh=yZc9KGVCml/lKWjOnF5mt4ymNYD8J96XLpxuDucDfYA=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=fDtgZnfFYIGRByDFkDvaah7zRfLJinINBGK92CkB7xTE5N0Fl9UMLUDkG5A6Ya+4z\n\t zI8wS33HXQQnt/+qPM0B4/O/FDItzLufcjnLVgXJNdCqnVlYBkTip9P9I4VjuLqggY\n\t Lwx18PH4t40ZfAmiGUrgMkqxd8VbCoo5vOLGB4D61eFgy/5e9aaD6DBfc03hWexAe7\n\t stfyPlcVZBmZHb5POC2LvuKe8cvMSbU0BqpDA8gNuBEpDwd9DyJaMnYKun1/xKKb9V\n\t 1P3I398TZdfpAkAsZMad5T4heJyfmiE6185debUG2sKRsM3Wy0zysGlLB3+gZ35bdg\n\t 1u0YkLG9cXo7w==","Received-SPF":"Pass (mailfrom) identity=mailfrom;\n client-ip=2a00:1450:4864:20::32c; helo=mail-wm1-x32c.google.com;\n envelope-from=maxime.leroys@gmail.com; receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp3.osuosl.org 5EA56607F2","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776093166; x=1776697966;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:sender:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=2ZJTEujh9VqjWm/Xtg1JDKnfQADPyKE3lies8tjOp0Q=;\n b=a/eg2QWiYDu7P2MDBxw/hpSazHW1NNqWNMbORc3BKUqtWC+/54HYg22y2H6IYhrwId\n Rfbny6tkCfWACFADBD/W36AgF5hJnRMjDRrx172qqGsnycPw4V/5qc3XylEXh05E9X06\n e/drNVGpGlEcMh4xDXIF1cX3zxf1o65LtE+a0pKDumNKlV66bpuzoSQmumRWlTzeQ2tU\n yOFGpAiAwhftfNMmDvwAgIq52xPX25XILTyjiT6RdsANExkylqwZu+A3d6eVjBeHSiK2\n yxuKhosklYjZ4Fap5kFckyLVoTrv/BjM7BbW0AJDYJpr2mjZ9AFt+9riM5eY35ZwDlj9\n kjJw==","X-Gm-Message-State":"AOJu0Yx8hX+hPcSQ9Uqk0CSKqxNc+sVh2SS35JVb3xrc5Do+oO029/zE\n fRrYLfyOvhWHsLuQLUUTY4NtTBg85HBPb5CL+NJ9QMHW4QIARITGLZUt7/nX8w==","X-Gm-Gg":"AeBDietmhZj07UkLQDJKG0yxseubwhjy1EkPizaBjkVHeSoix9Ib/+ERcJrmDmhPlRz\n kaC2jYVV1IKzqC8k0Sm5q9u4o4xeskyASGhjPmXEAh+FEr7vZ9e/Fus8mys2jamSXAYViSvOx6j\n DNiC4e1MhyDMH4XP6suorJ6cmDM005AVdiWmIEilDbDu/pMv7dHQ2Cus9Ssk3y32ilaQxuunsBu\n poxu7LalIOqI7wTiY7+f5oHqX5NNbKl8tIQGBQObt6fPe7SlRdoLnb9udZ0Sa/hNicGcZeUwgrC\n InVzHO6kZtKjc3Mx2GzebpBqDNQh+TC5G07samXEHTHmx/AFMW0iQ6xgbOh1Z5OvyhzgjXRqkjj\n w62VE1wAvOWRoii9P30zuw42RfUbpVwZjW91c72asvBxR+mf6bmfZTsqfWBH+2LoBk+RgJWEivp\n kXgrh+QGsvy8oD/jJs","X-Received":"by 2002:a05:600c:444b:b0:488:9c3b:ff40 with SMTP id\n 5b1f17b1804b1-488d6acd9fbmr151420075e9.15.1776093165699;\n Mon, 13 Apr 2026 08:12:45 -0700 (PDT)","From":"Maxime Leroy <maxime@leroys.fr>","To":"buildroot@buildroot.org","Cc":"Julien Olivain <ju.o@free.fr>, Vincent Jardin <vjardin@free.fr>,\n Maxime Leroy <maxime@leroys.fr>","Date":"Mon, 13 Apr 2026 17:11:47 +0200","Message-ID":"<20260413151148.42226-3-maxime@leroys.fr>","X-Mailer":"git-send-email 2.43.0","In-Reply-To":"<20260413151148.42226-1-maxime@leroys.fr>","References":"<20260413151148.42226-1-maxime@leroys.fr>","MIME-Version":"1.0","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776093166; x=1776697966; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date\n :message-id:reply-to;\n bh=2ZJTEujh9VqjWm/Xtg1JDKnfQADPyKE3lies8tjOp0Q=;\n b=mzkSPqekuK9iKzoGlIzPhbYreEWT2DUjxSJvcHUsJhSZuFQGK0m25X7dAbAiFsVlUL\n HJ50OcO8JIyxD9u0HEPA3SV9okW3ygl6GkCj0dDzITdq7AnjYEAQAaBL5Tr9/ljcaArW\n MG/FTIVoD+oyX85kulWJ7gm+Xu6n9/losPkyB1fTSTF7aR8sVy9HS1RRUD54rFwC8Ed7\n LeavkcgvqUSaCjx3vtW/B5+Dolx12k25SaFE+Lq+7aKWBJj/+F/RuY+Cuza3bzgILzKb\n BQ8TBHo1fjWmpsTy/HjpMGpnUlWbEvdHM02y0IO3tiYhl9xhbQwKdi8HEV9+gHprs1dY\n d+hg==","X-Mailman-Original-Authentication-Results":["smtp3.osuosl.org;\n dmarc=none (p=none dis=none)\n header.from=leroys.fr","smtp3.osuosl.org;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.a=rsa-sha256 header.s=20251104 header.b=mzkSPqek"],"Subject":"[Buildroot] [PATCH 2/3] package/dpdk: add option to disable target\n installation","X-BeenThere":"buildroot@buildroot.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.buildroot.org>","List-Unsubscribe":"<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>","List-Archive":"<http://lists.buildroot.org/pipermail/buildroot/>","List-Post":"<mailto:buildroot@buildroot.org>","List-Help":"<mailto:buildroot-request@buildroot.org?subject=help>","List-Subscribe":"<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@buildroot.org","Sender":"\"buildroot\" <buildroot-bounces@buildroot.org>"},"content":"Introduce BR2_PACKAGE_DPDK_INSTALL_TARGET (default y) to control\nwhether DPDK is installed on the target. When disabled, DPDK is\nkept in staging only for build-time use.\n\nThis is useful when DPDK is only needed to build applications and\nis not required at runtime on the target, e.g. when an application\nis linked statically against the DPDK libraries (such as grout).\n\nSigned-off-by: Maxime Leroy <maxime@leroys.fr>\n---\n package/dpdk/Config.in | 13 +++++++++++++\n package/dpdk/dpdk.mk   |  6 ++++++\n 2 files changed, 19 insertions(+)","diff":"diff --git a/package/dpdk/Config.in b/package/dpdk/Config.in\nindex b658145e5b..69c5edf634 100644\n--- a/package/dpdk/Config.in\n+++ b/package/dpdk/Config.in\n@@ -37,11 +37,24 @@ config BR2_PACKAGE_DPDK\n \n if BR2_PACKAGE_DPDK\n \n+config BR2_PACKAGE_DPDK_INSTALL_TARGET\n+\tbool \"install DPDK on target\"\n+\tdefault y\n+\thelp\n+\t  Say y if you want DPDK libraries and tools installed on the\n+\t  target root filesystem (e.g. /usr/lib, /usr/bin).\n+\n+\t  Say n if DPDK is only used as a build-time dependency from\n+\t  the staging directory (e.g. for static linking), and you do\n+\t  not want any DPDK files on the final image.\n+\n config BR2_PACKAGE_DPDK_EXAMPLES\n \tbool \"Install examples\"\n+\tdepends on BR2_PACKAGE_DPDK_INSTALL_TARGET\n \n config BR2_PACKAGE_DPDK_TESTS\n \tbool \"Install tests\"\n+\tdepends on BR2_PACKAGE_DPDK_INSTALL_TARGET\n \n config BR2_PACKAGE_DPDK_DRIVERS_LIST\n \tstring \"List of enabled drivers\"\ndiff --git a/package/dpdk/dpdk.mk b/package/dpdk/dpdk.mk\nindex 080f924329..2f744e519f 100644\n--- a/package/dpdk/dpdk.mk\n+++ b/package/dpdk/dpdk.mk\n@@ -74,6 +74,12 @@ ifneq ($(DPDK_APPS),)\n   endif\n endif\n \n+ifeq ($(BR2_PACKAGE_DPDK_INSTALL_TARGET),y)\n+DPDK_INSTALL_TARGET = YES\n+else\n+DPDK_INSTALL_TARGET = NO\n+endif\n+\n ifeq ($(BR2_PACKAGE_DPDK_TESTS),y)\n DPDK_CONF_OPTS += -Dtests=true\n else\n","prefixes":["2/3"]}