From: "Guido Günther" <agx@sigxcpu.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] genksyms: Include scripts/Makefile.lib
Date: Fri, 23 May 2014 15:15:22 +0200 [thread overview]
Message-ID: <20140523131522.GA25950@bogon.m.sigxcpu.org> (raw)
Otherwise when building out of tree like
make V=1 O=/var/scratch/kernel/
it fails like
make -f /home/agx/linux/scripts/Makefile.build obj=scripts
make -f /home/agx/linux/scripts/Makefile.build obj=scripts/genksyms
(cat /dev/null; ) > scripts/genksyms/modules.order
gcc -Wp,-MD,scripts/genksyms/.lex.lex.o.d -Iscripts/genksyms -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -I/home/agx/linux/scripts/genksyms -Iscripts/genksyms -c -o scripts/genksyms/lex.lex.o scripts/genksyms/lex.lex.c
scripts/genksyms/lex.lex.c_shipped:567:23: fatal error: parse.tab.h: No such file or directory
compilation terminated.
scripts/Makefile.host:134: recipe for target 'scripts/genksyms/lex.lex.o' failed
make[3]: *** [scripts/genksyms/lex.lex.o] Error 1
/home/agx/linux/scripts/Makefile.build:465: recipe for target 'scripts/genksyms' failed
make[2]: *** [scripts/genksyms] Error 2
/home/agx/linux/Makefile:542: recipe for target 'scripts' failed
Signed-off-by: Guido Günther <agx@sigxcpu.org>
---
I'm not sure wether this is the root cause and would be happy any
input on where to dig. GNU make is version 4.0.
scripts/genksyms/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/genksyms/Makefile b/scripts/genksyms/Makefile
index aca33b9..1d86d14 100644
--- a/scripts/genksyms/Makefile
+++ b/scripts/genksyms/Makefile
@@ -1,3 +1,4 @@
+include scripts/Makefile.lib
hostprogs-y := genksyms
always := $(hostprogs-y)
--
2.0.0.rc0
next reply other threads:[~2014-05-23 13:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-23 13:15 Guido Günther [this message]
2014-06-09 21:21 ` Michal Marek
2014-06-22 12:16 ` Guido Günther
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=20140523131522.GA25950@bogon.m.sigxcpu.org \
--to=agx@sigxcpu.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®