From patchwork Sat Mar 30 19:46:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 2368041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id C91023FC54 for ; Sat, 30 Mar 2013 19:50:21 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UM1jP-00037i-5x; Sat, 30 Mar 2013 19:46:27 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UM1jK-000371-Jl for linux-arm-kernel@lists.infradead.org; Sat, 30 Mar 2013 19:46:24 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3ZdVgF69RXz4KK3R; Sat, 30 Mar 2013 20:46:17 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3ZdVgF607DzbcKP; Sat, 30 Mar 2013 20:46:17 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id KdB_JW9hi4zg; Sat, 30 Mar 2013 20:46:16 +0100 (CET) X-Auth-Info: qhwUCy1ZIWmNF/AISGHdXJLflhe3LBLm0mGSHBjQYBU= Received: from igel.home (ppp-88-217-107-101.dynamic.mnet-online.de [88.217.107.101]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 30 Mar 2013 20:46:16 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 2C8FACA2B4; Sat, 30 Mar 2013 20:46:16 +0100 (CET) From: Andreas Schwab To: "Jon Medhurst \(Tixy\)" Subject: Re: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?] References: <1363949290.3528.37.camel@linaro1.home> X-Yow: Three attractive BANK ROBBERS are discussing RELIGIOUS DIFFERENCES and MAKE-UP TECHNIQUE with them!! Date: Sat, 30 Mar 2013 20:46:16 +0100 In-Reply-To: <1363949290.3528.37.camel@linaro1.home> (Jon Medhurst's message of "Fri, 22 Mar 2013 10:48:10 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130330_154622_750709_CC7FCF2F X-CRM114-Status: GOOD ( 12.15 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.18.0.9 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 T_SUBJ_BRKN_WORDNUMS Subject contains odd word breaks and numbers Cc: Michal Marek , Prabhakar Lad , linux-kernel@vger.kernel.org, LAK X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org "Jon Medhurst (Tixy)" writes: > For builds which succeed I see this order: > > WRAP arch/arm/include/generated/asm/types.h > [...] > GEN include/generated/asm-offsets.h > > and for those which fail: > > CC scripts/mod/devicetable-offsets.s > In file included from include/linux/types.h:5:0, > from include/linux/mod_devicetable.h:11, > from scripts/mod/devicetable-offsets.c:2: > include/uapi/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory > [...] > WRAP arch/arm/include/generated/asm/types.h Does that help? Andreas. Reported-by: Lad, Prabhakar Tested-by: Lad, Prabhakar diff --git a/Makefile b/Makefile index a5f3203..2a484db 100644 --- a/Makefile +++ b/Makefile @@ -512,7 +512,8 @@ ifeq ($(KBUILD_EXTMOD),) # Carefully list dependencies so we do not try to build scripts twice # in parallel PHONY += scripts -scripts: scripts_basic include/config/auto.conf include/config/tristate.conf +scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \ + asm-generic $(Q)$(MAKE) $(build)=$(@) # Objects we will link into vmlinux / subdirs we need to visit