1 diff -Nur mini_fo-0-6-2-pre1/Makefile mini_fo-0-6-2-pre1.patched/Makefile
2 --- mini_fo-0-6-2-pre1/Makefile 2005-10-15 12:49:43.000000000 +0200
3 +++ mini_fo-0-6-2-pre1.patched/Makefile 2005-12-25 14:03:36.864205250 +0100
5 # allow custom override of TOPINC for fistgen developers
9 +mini_fo-objs := meta.o dentry.o file.o inode.o main.o super.o state.o aux.o
11 ifeq ($(KERNELVERSION),2.4)
12 -CFLAGS = -D__KERNEL__ -DMODULE -DFISTGEN -I. ${TOPINC} -O2 -Wall -Wno-unused -g -fno-common -fno-schedule-insns -fno-schedule-insns2 -fno-strict-aliasing -msoft-float -Werror
14 -CFLAGS += $(shell cd $(KERNEL_SRC) ; make script 'SCRIPT=@echo $$(CFLAGS)' ARCH=um)
16 -UCFLAGS = -DFISTGEN -I. ${TOPINC} -g -O2 -Wall -Wno-unused -Werror
19 -CC = $(CROSS_COMPILE)gcc
20 -LD = $(CROSS_COMPILE)ld
22 +obj-y := $(mini_fo-objs)
25 -mini_fo-objs := meta.o dentry.o file.o inode.o main.o super.o state.o aux.o
26 +-include $(TOPDIR)/Rules.make
30 all: mini_fo$(KERNELVERSION)
34 + $(MAKE) -C ${KERNEL_SRC} TOPDIR="${KERNEL_SRC}" SUBDIRS=$(shell pwd) modules
37 - make -C ${KERNEL_SRC} SUBDIRS=$(PWD) modules
39 -${obj-m}: ${mini_fo-objs}
40 - $(LD) -o ${obj-m} -r ${mini_fo-objs}
44 + $(MAKE) -C ${KERNEL_SRC} SUBDIRS=$(shell pwd) modules
47 ifeq ($(KERNELVERSION),2.6)
48 - -make -C ${KERNEL_SRC} SUBDIRS=$(PWD) clean
49 + -$(MAKE) -C ${KERNEL_SRC} SUBDIRS=$(shell pwd) clean
51 rm -f ${obj-m} ${mini_fo-objs} ${obj-m:.o=.ko} *.d .*.flags *~