Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] [OT]: Need help with a Makefile
Date: Fri, 09 Mar 2012 19:52:20
Message-Id: 20120309195048.GD3083@solfire
1 Hi,
2
3 I am trying to compile a linux-kernel for an embedded system.
4 There is an (older) build environment.
5 The kernel is based on a 2.4er linux kernel.
6 When doing a
7 make menuconfig
8 I get:
9
10 make menuconfig
11 Makefile:441: *** mixed implicit and normal rules. Stop.
12 [1] 8814 exit 2 make menuconfig
13
14 The according part of the makefile is:
15
16 include $(srctree)/arch/$(ARCH)/Makefile
17 export KBUILD_DEFCONFIG
18
19 441 config %config: scripts_basic outputmakefile FORCE
20 $(Q)mkdir -p include/linux
21 $(Q)$(MAKE) $(build)=scripts/kconfig $@
22 $(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
23
24
25
26 I marked the according line with its number.
27
28 Unfortunately I am not familiar with makefiles...
29
30 I am using the make of the gentoo system, which is
31 GNU make 3.82...
32
33 What is wrong here?
34
35 Thank you very much in advance for any help!
36 Best regards,
37 mcc

Replies

Subject Author
Re: [gentoo-user] [OT]: Need help with a Makefile Todd Goodman <tsg@×××××××××.net>