get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194310,
    "url": "http://patchwork.ozlabs.org/api/patches/2194310/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260208143604.1477756-5-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-5-ju.o@free.fr>",
    "list_archive_url": null,
    "date": "2026-02-08T14:36:03",
    "name": "[RFC,4/5] arch/Config.in: add BR2_SHOW_SECONDARY_TARGET_OPTIONS",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ee882d77d47c8c3b5e7822588caf1252d553bb07",
    "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-5-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/2194310/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194310/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=C9FKVbp1;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\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 4f89Pw0vncz1xvc\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 09 Feb 2026 01:36:52 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 97FDA60806;\n\tSun,  8 Feb 2026 14:36: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 9mPCd57wvOUk; Sun,  8 Feb 2026 14:36:47 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id CF7B1607E4;\n\tSun,  8 Feb 2026 14:36:47 +0000 (UTC)",
            "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists1.osuosl.org (Postfix) with ESMTP id 13F9A219\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:46 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 059BA607E4\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:46 +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 cn7yZlTSku_t for <buildroot@buildroot.org>;\n Sun,  8 Feb 2026 14:36:45 +0000 (UTC)",
            "from smtp4-g21.free.fr (smtp4-g21.free.fr\n [IPv6:2a01:e0c:1:1599::13])\n by smtp3.osuosl.org (Postfix) with ESMTPS id E54FD607D5\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:44 +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 DC7E619F733;\n Sun,  8 Feb 2026 15:36:36 +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 smtp3.osuosl.org CF7B1607E4",
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org E54FD607D5"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770561407;\n\tbh=OCb73S9Fj29YJrSWV92vOHZf/emKRT1pie+hkujuFEQ=;\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=C9FKVbp19lUiRm/K4+u45tuHk+sQv9QyJXVAf8LC+z4qF95YpPfE64mzDh204MEDj\n\t fpQ7f82jvOD9rrDOu+1JsM38nJe+aMpOOEnls6uriaHycX/OWHSnIFh40WR2f5GEjf\n\t CN6lIiAq71TxfgfWfmx3znFYBN5WANNj/EYQmCp35dELrICJy1wIev8BFNEn921351\n\t s5XJWztFTQs8/t68sE1oRRAp3ha5Jx8JHtFhofYXV6aAgHeY7Ok+9/y/kxcUTx5OV3\n\t yvfENoZ4qow+bbGr+jWtdd2mw4Hhhw6FDc4UABgsmqY7EdRfSSvoGycHvmrmjcwVzp\n\t 4O/jyBc1ggsoA==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2a01:e0c:1:1599::13;\n helo=smtp4-g21.free.fr; envelope-from=ju.o@free.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org E54FD607D5",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  8 Feb 2026 15:36:03 +0100",
        "Message-ID": "<20260208143604.1477756-5-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=1770561403;\n bh=FR3V6Xv7vhEBKh00jLfKmnBhFN7xIXwlFsVAeyjYajc=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=J4WDIrbUXowlTsvZ3N5K+e4RNNPn2WcHXnlL+3MoqRS7WzqPpY4fZqb4lPZSRKsOf\n ps2fyz5jkp2YEU1++WewWkQEy7E1XmgBu4KBYHWLuER/T0xylDzDgkt3FhGTzoScwC\n zjVxEVbnnHCeV1feNfhJ+kBKos+1IW6E1yaJL2jU+9df+q9L/QS+hgPTl8RuJhfCQ1\n ShZ1jHG/hHEnyOuSH4kAqQw/X1QgxhXF2OBk19zxSeF0w8MK9VoVCqEUKltKdEBclF\n vo8A4MdMReiScXG2VQ8nFrhcyF1oqwoIV1J4hlty22JP3woCiOpvQ+75wwv0q/17YO\n btInimubXCDfg==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp3.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=free.fr",
            "smtp3.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=J4WDIrbU"
        ],
        "Subject": "[Buildroot] [PATCH RFC 4/5] arch/Config.in: add\n BR2_SHOW_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": "Suggested-by: Arnout Vandecappelle <arnout@rnout.be>\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n arch/Config.in | 21 +++++++++++++++++++++\n 1 file changed, 21 insertions(+)",
    "diff": "diff --git a/arch/Config.in b/arch/Config.in\nindex bdfc2b092c..e6b4fd040e 100644\n--- a/arch/Config.in\n+++ b/arch/Config.in\n@@ -15,6 +15,27 @@ config BR2_USE_MMU\n config BR2_ARCH_HAS_FDPIC_SUPPORT\n \tbool\n \n+config BR2_SHOW_SECONDARY_TARGET_OPTIONS\n+\tbool \"Show secondary target options\"\n+\tdefault y\n+\tdepends on BR2_HIDE_SECONDARY_TARGET_OPTIONS != \"y\"\n+\thelp\n+\t  Show secondary target options.\n+\n+\t  When selected, this option shows all target options\n+\t  available in Buildroot.\n+\n+\t  Unselecting this option hides less common target CPU\n+\t  architectures, architecture variants, CPUs or CPU options.\n+\n+\t  This is primarily intended for random configuration\n+\t  generation used in autobuilders. Using the command:\n+\n+\t  BR2_HIDE_SECONDARY_TARGET_OPTIONS=y make randconfig\n+\n+\t  generates a random configuration only using primary target\n+\t  options.\n+\n choice\n \tprompt \"Target Architecture\"\n \tdefault BR2_i386\n",
    "prefixes": [
        "RFC",
        "4/5"
    ]
}