#23 — 2.6.32-zen7 Missing "endif" in Makefile_32.cpu
| State | Resolved |
|---|---|
| Version: | 2.6.32-zen |
| Area | Zen-Stable Releases/GIT |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | spooky_mulder |
| Submitted on | Mar 09, 2010 |
| Responsible |
—
|
| Target release: |
—
|
After patching linux-2.6.32.9 with 2.6.32-zen7 "Gongoozled" I get an error running make.
[root@acer01 linux-2.6.32.9]# make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTCC scripts/kconfig/zen.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
/usr/src/linux-2.6.32.9/arch/x86/Makefile_32.cpu:65: *** missing `endif'. Stop.
I looked at the file, but not shure where to add the endif. At the end of the file or before the last if block?
ifneq ($(CONFIG_X86_P6_NOP),y)
cflags-y += $(call cc-option,-Wa$(comma)-mtune=generic32,)
endif
make version: GNU Make 3.81
gcc version: gcc (GCC) 4.4.3
[root@acer01 linux-2.6.32.9]# make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTCC scripts/kconfig/zen.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
/usr/src/linux-2.6.32.9/arch/x86/Makefile_32.cpu:65: *** missing `endif'. Stop.
I looked at the file, but not shure where to add the endif. At the end of the file or before the last if block?
ifneq ($(CONFIG_X86_P6_NOP),y)
cflags-y += $(call cc-option,-Wa$(comma)-mtune=generic32,)
endif
make version: GNU Make 3.81
gcc version: gcc (GCC) 4.4.3
- Steps to reproduce:
- download linux-2.6.32.9
download 2.6.32-zen7 "Gongoozled"
apply the patch
configure kernel
run make
Added by
Brandon Berhent
on
Mar 13, 2010 12:11 AM
The zen patches are not intended to be applied on top of mainstream sub releases, they need to be applied over the base version.
Issue state:
Unconfirmed
→
Resolved
So, in this case you need to apply it on top of 2.6.32, not 2.6.32.9, everything should patch cleanly with no junk, otherwise something is wrong.
The zen patches include the latest sub releases, so no need to patch them again :D
No responses can be added.
If you can, please log in before submitting a reaction.








