5 # copy makefile over to not break patches
6 ext3_extra := $(wildcard @LINUX@/fs/ext3/Makefile)
8 ext3_headers := $(wildcard @LINUX@/fs/ext3/*.h)
9 linux_headers := $(wildcard @LINUX@/include/linux/ext3*.h)
11 ext3_sources := $(filter-out %.mod.c,$(wildcard @LINUX@/fs/ext3/*.c))
12 new_sources := iopen.c iopen.h extents.c mballoc.c group.h fiemap.h
13 new_headers := ext3_extents.h
14 ldiskfs_patched_sources := $(notdir $(ext3_sources) $(ext3_headers)) $(new_sources) $(new_headers)
15 ldiskfs_sources := $(ldiskfs_patched_sources)
17 ldiskfs-objs := $(filter %.o,$(ldiskfs_sources:.c=.o))
19 EXTRA_PRE_CFLAGS := -I@LINUX@/fs -I@LDISKFSDIR@