From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751530AbcGRMBx (ORCPT ); Mon, 18 Jul 2016 08:01:53 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:63670 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbcGRMBv (ORCPT ); Mon, 18 Jul 2016 08:01:51 -0400 From: Arnd Bergmann To: Fengguang Wu Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Fengguang Wu , Thierry Reding , devicetree@vger.kernel.org, linux-kbuild Subject: running "make dtbs" for test builds Date: Mon, 18 Jul 2016 14:01:17 +0200 Message-ID: <8924490.SntxSU2FOC@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-28-generic; KDE/5.18.0; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:6CdRECzcU48fbOm75nJ8b+RPugK9aQNcTajs8/gu3IEuohfVOsJ whaiCDEfUjsEMthp2QwODcFOp37vDHq6gwhlEv/4PlTOLYMU8s1h0hMAoxFATCZj4Ou/5W/ qo85irifZcL+gweI8zVj3Q+DjjaBBiX2TbVIASiC98cKkv4rfTefLrnk0SCv5WUSQDvSD2c 9OmmQJouSBdImJsxLvCTg== X-UI-Out-Filterresults: notjunk:1;V01:K0:owC1NzgryOY=:V3lhjfsIDFqJ+JZiJTRdqW WhhuJM4TQuTk0TMcW5ltDuznxiW26p0ZpD81bRdLrts4WPBnZbkY3FKHQeMqFG4wgVCDVJMJX bldRxdMv+Ce5vt4zJY97fRRPKeexzA3T75e2Ox6kUBphXn25L0tM7mvHXuCCrnHsHsdW8dWfJ G76CI9nVI/G+EnX0z505oI+JcJqvHuWYeMAznwYYUyI16kuf2BPk8aEzuAec1aq7tWUKSJzbs EG5ubYUftHqltwmjn2Ej8i2/PtnL6Xm4g2gsyrv363SJwy6+6fBjpQ1IHFmxyfRAsTc03IMKW 5B84U6kDWWPrXejy/lGfiooQ7yT5qHCuxXk4my9hT2rJ+9j0HHQDioc4mztnKSYC+EKdq3TTq ungDznv9aGeqgUdk2ntNBXZ+KIA1TedfOLZrV1RQOm2jz8HiK28LSrNxGDYGOR5De0hxSTyhK iTUNcTHcL3610vUaplTYP24yVFApI/ANVxDYh3C1cX7GU7LoMsnPJ+fSt5SEfp3Yrk76U8/K6 c50Fu4zwMzVpfMJ3FtlaTQ7468xtwspZ7WgzNs4I5UQFl6B37O7p6ttdjHYAxzWlOdfQUaj/x Y7FleuRzcJyGRTuDV5L4JGjm0jooevunnsk3G35w3GwWfiSRXdJ9MKCJxJmsqp32UO/xi9u4j 8OseI7Bh0QHfZaPSYTBlvhD+LvH29HBn552NNXL3ovSR1Uq3pdwAzW1bKY+zdNjzxC1oCMarj 5PZ3KBnVwRinQsUj Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fengguang, I've recently run into a number of cases in which I pulled a branch that was building fine with "make vmlinux", but that failed for "make dtbs", and I wonder if this is something that could be checked by the kbuild test robot so we catch it earlier. There are parts of this: - running "make" without a target will build the default image file and also do the "dtbs" target on ARM and other architectures. I don't know if this is what you do, or if you always build "make vmlinux ; make modules", which doesn't include it. The dtbs makefile target is available on arc, arm, arm64, h8300, metag, mips, nios2, and xtensa but not the others, so if you call it explicitly, that has to be in an architecture specific way. - setting CONFIG_OF_ALL_DTBS will catch all files, not just the ones that are built by default for the set of configurations you have. It's possible to simply override this on the command line, using "make CONFIG_OF_ALL_DTBS=y", it doesn't actually have to be part of the configuration. The result is independent of the actual configuration, so it should be enough to do this once per architecture and source revision. Is this something you can add? Arnd