Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp481736rdb; Thu, 22 Feb 2024 09:27:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVxcSOsNVkFvpgTNR4gdkVcX2UPLyeR6fjzCATLgeCG00Sl1wiEWhDRrcN6sFWSQh34GCjNd7gKAw0tlhrfIQ8uf/a/Rwy8HO8ZRbL3wQ== X-Google-Smtp-Source: AGHT+IGk8/gyrAq5wmTERy0sAFs8uuQ8d3nFZAKG0MtN0BhY+Z7pKR2ResJ3vNsHMxkV26y0TbFa X-Received: by 2002:a17:906:4eca:b0:a3e:7a3e:b4b7 with SMTP id i10-20020a1709064eca00b00a3e7a3eb4b7mr7857336ejv.2.1708622822917; Thu, 22 Feb 2024 09:27:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708622822; cv=pass; d=google.com; s=arc-20160816; b=CAnHuZ5MoXU5sexlpeYGHvxsu3inquM4t9pY1hRchrcnuUMybs83rF+S8dVFT1ooq9 huQfI+tZR5VoA6Uq8x7e2u0P15zUTh/bZA4rvzIVoe4Qn3/+UJoKwJyCwvsEPLOGkSjw tZu0xEOqhF/oS7ngAU6AHiYrxC3IhKGsqqePJHQcas3zeRw+P+ArtHJ9azHg3nHhZUKU zH8i24wSeDvSDJY1KJqnlaG3tY7LBp7HDnsIhAOb56ybsu1Xumjt8G+ZwZwywdj6uMiN vCJkBvJoIVkacmfmtoH6cQdQO2/QumH2+sb2T9QwjbsjeVYxNzQpUjVMsvfhzsgohaG0 24tA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:user-agent:subject:to:from:date :content-transfer-encoding:dkim-signature:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=iAG6gQcjY6NI8qKov0SEJwX6Ilw8LqFdSdPrBgqb+Ao=; fh=lQdpeZK1lm5rU/lsCXLTOtOFrxeBAPdqXYgZ9wiRYLE=; b=05NHAQe0+59tg6W8qlRoePWt2eBMAYOzILkNJcDvdHMzZ5puwZRa6UUDbVzgztULa8 7Z2HXXkXZSmvZBk5xSAZ1+iVwoZvwHroIl1Gr0BvdPD+mzop1UngvIxGstuenXcUFr52 q61T3PFpopLcSCGQ7Ly+dfrPp6M72ypCbpf/d1qPDhEFQZCf7vZ+1lq6l00bU1IMjm6w gM9+NXpH44Zj/QKjN9lrB1NN6pYZnXQplU0/HH/SacvSSUbNf2EYwHpOw0LVK3Nhvlt9 Cx3xVR8cjIyZ6yKSEtWlxTnY11Xk02/D/NCQFvMfA4CeLwSiEuNyY/Vx708C24o+vuP5 QXLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tfwno.gf header.s=mail header.b=OsbdC2An; arc=pass (i=1 spf=pass spfdomain=tfwno.gf dkim=pass dkdomain=tfwno.gf); spf=pass (google.com: domain of linux-kernel+bounces-76956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76956-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id nc37-20020a1709071c2500b00a3eca0705c0si3649476ejc.5.2024.02.22.09.27.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 09:27:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tfwno.gf header.s=mail header.b=OsbdC2An; arc=pass (i=1 spf=pass spfdomain=tfwno.gf dkim=pass dkdomain=tfwno.gf); spf=pass (google.com: domain of linux-kernel+bounces-76956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76956-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4A5831F2C2B2 for ; Thu, 22 Feb 2024 17:17:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94180155A22; Thu, 22 Feb 2024 17:16:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tfwno.gf header.i=@tfwno.gf header.b="OsbdC2An" Received: from mail.cock.li (mail.cock.li [37.120.193.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 268EB154BE3; Thu, 22 Feb 2024 17:15:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.120.193.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708622168; cv=none; b=CMltMnE3fVlI3b8Cp0GqyoiSfo4jjPhaVm3nJHGp7nN8Y0r5Yd1+y8Bx5sLvMIKAXhpI7DgWnW0EUukmJa8mPfElIL03FrmgKqMKYUVbWtuc/roCQEuxNNoVfcRLUQW2aQ/6uFWQUse9E6n98WCIpQ5jDgwSMFlm+tfZo1Hu35k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708622168; c=relaxed/simple; bh=7EBMd3pVgEsAVmo80nV1cVmtlTC7XkSbAO9djDDzbhM=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID; b=XQEyaZpievPJrk2QgB/hl/DL9wIFUxDfMujV0lh+VLWzwp4AdW08nmZySb0TwtnmP2s4ZwSjV48jIM4D2EY+uzW80tDHFiARHIOji4aknXDI+e5AscqYolq3i5jXXyvjJglCNCbi312QHCxJ+Xb46wJoU2lShdDiseRcYjJnvRE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tfwno.gf; spf=pass smtp.mailfrom=tfwno.gf; dkim=pass (2048-bit key) header.d=tfwno.gf header.i=@tfwno.gf header.b=OsbdC2An; arc=none smtp.client-ip=37.120.193.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tfwno.gf Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tfwno.gf Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tfwno.gf; s=mail; t=1708621644; bh=7EBMd3pVgEsAVmo80nV1cVmtlTC7XkSbAO9djDDzbhM=; h=Date:From:To:Subject:From; b=OsbdC2An85JTOPyX1I5CUzDShB90oIzC1giRiqFW40crgHQWNeKbpjyq/baorPEHp oRmuVLRu946XtmfCLEkA4qhA0vOhaBUfQh3i2vrWmJuaWN+znDOuAnIX+SvclhlbXS usINoHJFF3kzvGVDsN7MnftCmcykOhmTrnddLqG4xcCiAGESrRa27HUQZyWTb4n6n5 ENC+6jo7li80PZ2TXOuSJ3XRtiR7HT1Ss5fL1z5IGyImHlUEHndbjXoNAgUOdgyzDK nkwH+OoKj66VIMhzPqK70+5UZxRrcrMqj0Onds3tJb7hwg7ErEXIZj5zRslOSyCGx0 IsRtPzlq29j6w== Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 22 Feb 2024 17:07:23 +0000 From: ns@tfwno.gf To: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: make install doesn't install proper files for some architectures User-Agent: Roundcube Webmail/1.4.15 Message-ID: <06e09da69e6c34d03a303c11088d9ffd@tfwno.gf> X-Sender: ns@tfwno.gf Greetings, The kernel's build system has an install target. Most of the time this works fine, but it is limited to only one file, which can make it busted for some arches. One example of a target where it is busted is a generic ppc32 kernel, where there are plenty of supported platforms, some of which can boot perfectly fine through Open Firmware & some which are from bad, bad times o' yore where you had to embed the DT straight into the kernel. & some more on top of that. When you run make install for ppc32, it only installs the uncompressed vmlinux. This is almost certainly not the correct decision for _any_ of the platforms in question, & it totally leaves out the properly wrapped images that many of these platforms absolutely need in order to boot (e.g. PS3 & Wii, which need an image with an embedded DT). This is not really great. By contrast, the all target built all the specific images that my config selected. I didn't have to read the arch's boot Makefile to figure out what files I have to build. Is there any target which does the same but for installing every image the all target produced? It'd be a much better experience than leaving the details of every arch & bizzare platform supported by it up to (most likely incomplete) scripts, when the Makefiles already have all that information properly written. I suppose it'd also come in handy if e.g. x86 had a saner image format [1] in the future or something of the sort. [1]: https://source.denx.de/u-boot/u-boot/-/blob/master/doc/usage/fit/x86-fit-boot.rst