[Pkg-mol-devel] Bug#590937: Was able to compile for 2.6.32-5 with the below patch
Jeffrey B. Green
jeff at kikisoso.org
Fri Aug 13 20:31:33 UTC 2010
Hi,
(Sorry if anyone received this twice, the first send was from a
(preferably) non-public address.)
I was able to get m-a to build mol-sources with this patch (forcing gcc
may not be nec.):
diff -aur -S Makefile modules-old/mol/kmod/Makefile
modules-new/mol/kmod/Makefile
--- modules-old/mol/kmod/Makefile 2008-08-08 12:44:47.000000000 -0400
+++ modules-new/mol/kmod/Makefile 2010-08-12 16:13:22.000000000 -0400
@@ -1,5 +1,7 @@
# -*- makefile -*-
+CC = gcc
+
PERFOBJS_ := _fault.o _dev.o _misc.o _mmu.o _hostirq.o init.o
hash.o \
emu.o mmu.o mmu_fb.o mmu_io.o mmu_tracker.o
skiplist.o \
mtable.o fault.o context.o ptaccess.o misc.o moldbg.o \
@@ -10,7 +12,9 @@
PERFOBJS = $(addprefix $(obj)/, $(PERFOBJS_))
K_FLAGS = -Iinclude -include include/linux/autoconf.h
-Iarch/ppc -Iarch/ppc/include \
- -I$(src) -I$(src)/../../../include $(INCLUDES)
-D__KERNEL__
+ -I$(src) -I$(src)/../../../include $(INCLUDES)
-D__KERNEL__ \
+ -I /usr/src/linux-source-2.6.32/include -I
/usr/src/linux-headers-2.6.32-5-powerpc \
+ -I /usr/src/linux-headers-2.6.32-5-powerpc/include -I
/usr/src/linux-headers-2.6.32-5-common/arch/powerpc/include
MOL_ASMFLAGS = $(CPPFLAGS) $(ASMFLAGS) $(K_FLAGS) -D__ASSEMBLY__
LDFLAGS_MODULE = $(LDFLAGS_BUILD_ID)
-jeff
More information about the Pkg-mol-devel
mailing list