From: schwab@linux-m68k.org (Andreas Schwab)
To: linux-arm-kernel@lists.infradead.org
Subject: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?]
Date: Sat, 30 Mar 2013 20:46:16 +0100 [thread overview]
Message-ID: <m2ip48d62f.fsf@igel.home> (raw)
In-Reply-To: <1363949290.3528.37.camel@linaro1.home> (Jon Medhurst's message of "Fri, 22 Mar 2013 10:48:10 +0000")
"Jon Medhurst (Tixy)" <tixy@linaro.org> 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
Andreas.
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2013-03-30 19:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 8:01 asm/types.h Header file wont get generated while building uImage ? Prabhakar Lad
[not found] ` <1363949290.3528.37.camel@linaro1.home>
2013-03-30 19:46 ` Andreas Schwab [this message]
2013-04-02 11:19 ` [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?] Jon Medhurst (Tixy)
2013-04-02 12:45 ` Prabhakar Lad
2013-04-09 12:14 ` Prabhakar Lad
2013-04-09 17:57 ` [PATCH] kbuild: generate generic headers before recursing into scripts Andreas Schwab
2013-04-10 4:39 ` Prabhakar Lad
2013-04-10 7:56 ` Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ip48d62f.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).