)]}'
{
  "commit": "b08fc4d0ec2466558f6d5511434efdfabbddf2a6",
  "tree": "e7060ea5f99ee4509770119f10a521f44e64a710",
  "parents": [
    "07fe35b766a6fcd4ec8214e5066b7b0056b6ec6a"
  ],
  "author": {
    "name": "Thomas De Schampheleire",
    "email": "thomas.de_schampheleire@nokia.com",
    "time": "Wed Nov 26 11:00:16 2025 +0100"
  },
  "committer": {
    "name": "Nicolas Schier",
    "email": "nsc@kernel.org",
    "time": "Sat Dec 27 20:48:01 2025 +0100"
  },
  "message": "kbuild: fix compilation of dtb specified on command-line without make rule\n\nSince commit e7e2941300d2 (\"kbuild: split device tree build rules into\nscripts/Makefile.dtbs\"), it is no longer possible to compile a device tree\nblob that is not specified in a make rule\nlike:\n    dtb-$(CONFIG_FOO) +\u003d foo.dtb\n\nBefore the mentioned commit, one could copy a dts file to e.g.\narch/arm64/boot/dts/ (or a new subdirectory) and then convert it to a dtb\nfile using:\n    make ARCH\u003darm64 foo.dtb\n\nIn this scenario, both \u0027dtb-y\u0027 and \u0027dtb-\u0027 are empty, and the inclusion of\nscripts/Makefile.dtbs relies on \u0027targets\u0027 to contain the MAKECMDGOALS. The\nvalue of \u0027targets\u0027, however, is only final later in the code.\n\nMove the conditional include of scripts/Makefile.dtbs down to where the\nvalue of \u0027targets\u0027 is final. Since Makefile.dtbs updates \u0027always-y\u0027 which is\nused as a prerequisite in the build rule, the build rule also needs to move\ndown.\n\nFixes: e7e2941300d2 (\"kbuild: split device tree build rules into scripts/Makefile.dtbs\")\nSigned-off-by: Thomas De Schampheleire \u003cthomas.de_schampheleire@nokia.com\u003e\nReviewed-by: Nathan Chancellor \u003cnathan@kernel.org\u003e\nTested-by: Nathan Chancellor \u003cnathan@kernel.org\u003e\nAcked-by: Rob Herring (Arm) \u003crobh@kernel.org\u003e\nLink: https://patch.msgid.link/20251126100017.1162330-1-thomas.de_schampheleire@nokia.com\nSigned-off-by: Nicolas Schier \u003cnsc@kernel.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52c08c4eb0b9af0af0e9d9853997357be7997f3a",
      "old_mode": 33188,
      "old_path": "scripts/Makefile.build",
      "new_id": "5037f4715d7491761b75d086441367c6c08c099e",
      "new_mode": 33188,
      "new_path": "scripts/Makefile.build"
    }
  ]
}
