URL:
<http://savannah.gnu.org/bugs/?33034>
Summary: "Makefile:23: *** mixed implicit and normal rules.
Stop." for Linux kernel out of source builds
Project: make
Submitted by: None
Submitted on: Sa 09 Apr 2011 10:42:24 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.82
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
A build of Linux kernel out of source got this error, if target name was give
on command line. It gots this error:
Makefile:23: *** mixed implicit and normal rules. Stop.
The relevant lines in Makefile:
16: all := $(filter-out all Makefile,$(MAKECMDGOALS))
23: $(all) %/: all
Full example:
cd /tmp
wget
http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.33/linux-2.6.33.9.tar.bz2
tar xjf linux-2.6.33.9.tar.bz2
mkdir linux-2.6.33.9-build
cd linux-2.6.33.9
make O=../linux-2.6.33.9-build defconfig
cd ../linux-2.6.33.9-build
make vmlinux
If replacing the command "make vmlinux" with "make", then it works. But it is
no workaround, because I need to call "make modules_install" later.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sa 09 Apr 2011 10:42:25 UTC Name: Makefile Size: 523B By: None
Linux kernel Makefile from make defconfig in build directory
<http://savannah.gnu.org/bugs/download.php?file_id=23155>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33034>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make