get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2194308/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2194308,
    "url": "http://patchwork.ozlabs.org/api/patches/2194308/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260208143604.1477756-3-ju.o@free.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260208143604.1477756-3-ju.o@free.fr>",
    "list_archive_url": null,
    "date": "2026-02-08T14:36:01",
    "name": "[RFC,2/5] Makefile: export BR2_HIDE_SECONDARY_TARGET_OPTIONS",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f713614aeb2a46635404a03408fa5fdb2057daca",
    "submitter": {
        "id": 80537,
        "url": "http://patchwork.ozlabs.org/api/people/80537/?format=api",
        "name": "Julien Olivain",
        "email": "ju.o@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260208143604.1477756-3-ju.o@free.fr/mbox/",
    "series": [
        {
            "id": 491421,
            "url": "http://patchwork.ozlabs.org/api/series/491421/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=491421",
            "date": "2026-02-08T14:35:59",
            "name": "Mark a set of target configurations as secondary",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491421/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194308/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194308/checks/",
    "tags": {},
    "related": [],
    "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=R8WA+cUw;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.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 4f89Ph5dZMz1xvc\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 09 Feb 2026 01:36:40 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 682058227F;\n\tSun,  8 Feb 2026 14:36:37 +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 FKvEwDVYmc2c; Sun,  8 Feb 2026 14:36:35 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id B6E5B8222F;\n\tSun,  8 Feb 2026 14:36:35 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 2CD0B219\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:34 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 1A9C18222F\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:34 +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 i--WkBZFjglx for <buildroot@buildroot.org>;\n Sun,  8 Feb 2026 14:36:33 +0000 (UTC)",
            "from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 133788222B\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:32 +0000 (UTC)",
            "from home.juju.sh (unknown\n [IPv6:2a01:e0a:1065:2100:52d9:65fe:2df3:c492])\n (Authenticated sender: ju.o@free.fr)\n by smtp4-g21.free.fr (Postfix) with ESMTPSA id 367A819F72F;\n Sun,  8 Feb 2026 15:36:25 +0100 (CET)"
        ],
        "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 B6E5B8222F",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 133788222B"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770561395;\n\tbh=/VU3+BUkkgIZWJYnBpAVQSsAP4P8PDOxugNlNHf7mtc=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\t List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\t From;\n\tb=R8WA+cUw/eTZ6E+GFcYEQpr8/RTTDdXfjlX9hYv1VUekF1bVI/ZJu7iQJmKgrnsmM\n\t cJGUgXl50MTOUbpxxrDx+jl2k8hgG9zJzvrzDE6QRLQ1gvCjLIT8mz2E/vgOdTwDAy\n\t 6mgpqEpTRco/RhYsNpZpTYyyJJY3qf2DyohFVt4C6T7n3ajth6l67YcEGrEFb3vfe3\n\t +mTRVEUyxRmYlo8EJC0ur9P1iA1kFj09d34dYRAh0tgcvBDw5Au9OCpiAMKOzhfu5/\n\t t/rY4MiWxUP3XMDCOBhHozERcd+bQSDJrWYt8bfnsZMJtfxsXCq5kcZfWjLeo2mx2C\n\t 5+sPdwVhAeBmA==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=212.27.42.4;\n helo=smtp4-g21.free.fr; envelope-from=ju.o@free.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 133788222B",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  8 Feb 2026 15:36:01 +0100",
        "Message-ID": "<20260208143604.1477756-3-ju.o@free.fr>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260208143604.1477756-1-ju.o@free.fr>",
        "References": "<20260208143604.1477756-1-ju.o@free.fr>",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=free.fr; s=smtp-20201208; t=1770561391;\n bh=EAKo6XJ2jCE2OMhuhEcoS0Fro9yZoqIto33ocXFLffs=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=T3ZV6rDiOHpB1U9gevNK2Djl4UFTOOWYEddswYQtlzXxJxgJyIRR2legLNJDSUFFK\n FlumYmfw5UOgoQKcjyOXS6vLiUFT6/gmhd8uKDkkXKvtwBvaZUj5JKiBeIzMFdkl0Q\n n8FqC+tbf+L+N1hNLXxkFjYAHd/9+FDf2RoXJqef/Ili8nfxcowtK7hiF70xyDxA/C\n Hv6BjyZnJOjFxtVj7nr3kB+rLvZY6UN1Q2DSzfkn73GrjQBmEOkhl/CZPmBzjcUR4K\n SHYfXzV2/oS6k1CdPJy2/lRZPW/s1zcZckdGAbshNfAOt508VZU6uMpETwFFSCF34t\n 4xpAL2jdXqQNA==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=free.fr",
            "smtp1.osuosl.org;\n dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr\n header.a=rsa-sha256 header.s=smtp-20201208 header.b=T3ZV6rDi"
        ],
        "Subject": "[Buildroot] [PATCH RFC 2/5] Makefile: export\n BR2_HIDE_SECONDARY_TARGET_OPTIONS",
        "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>",
        "From": "Julien Olivain via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Julien Olivain <ju.o@free.fr>",
        "Cc": "Julien Olivain <ju.o@free.fr>, Mark Corbin <mark@dibsco.co.uk>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "This patch is needed with the current kconfig version in Buildroot.\nIf kconfig get updated with the series proposed in:\nhttps://patchwork.ozlabs.org/project/buildroot/list/?series=490997\nthe current patch might not be needed.\n\nSuggested-by: Arnout Vandecappelle <arnout@rnout.be>\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n Makefile | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/Makefile b/Makefile\nindex 4cf8750bfb..8399190ffa 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -251,6 +251,13 @@ export LANG = C\n export LC_ALL = C\n endif\n \n+# we set a default value here to avoid a Kconfig warning about unset\n+# environment varilable. This option is passed as an environment\n+# variable to be controlled by autobuilders. The purpose is to test\n+# less frequently some uncommon configurations which tend to generate\n+# more build failures.\n+export BR2_HIDE_SECONDARY_TARGET_OPTIONS ?= n\n+\n # To put more focus on warnings, be less verbose as default\n # Use 'make V=1' to see the full commands\n ifeq (\"$(origin V)\", \"command line\")\n",
    "prefixes": [
        "RFC",
        "2/5"
    ]
}