Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760584Ab3DBMpc (ORCPT ); Tue, 2 Apr 2013 08:45:32 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:42265 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760452Ab3DBMpa (ORCPT ); Tue, 2 Apr 2013 08:45:30 -0400 MIME-Version: 1.0 In-Reply-To: References: <1363949290.3528.37.camel@linaro1.home> From: Prabhakar Lad Date: Tue, 2 Apr 2013 18:15:09 +0530 Message-ID: Subject: Re: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?] To: Andreas Schwab Cc: "Jon Medhurst (Tixy)" , LAK , linux-kernel@vger.kernel.org, Michal Marek Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1883 Lines: 57 Hi Andreas, On Sun, Mar 31, 2013 at 1:16 AM, Andreas Schwab wrote: > "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? > > 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 > This works thanks for the patch! Reported-by: Lad, Prabhakar Tested-by: Lad, Prabhakar Regards, --Prabhakar > Andreas. > > -- > Andreas Schwab, schwab@linux-m68k.org > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 > "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/