board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / linux / linux-ext-aufs.mk
blobfb2f3560a787beb1d830611b9876c46fe067e40a
1 ################################################################################
2 # Linux Aufs extensions
4 # Patch the linux kernel with aufs extension
5 ################################################################################
7 LINUX_EXTENSIONS += aufs
9 define AUFS_PREPARE_KERNEL
10 if test -d $(@D)/fs/aufs/; then \
11 echo "Your kernel already supports AUFS."; \
12 exit 1; \
14 $(APPLY_PATCHES) $(@D) $(AUFS_DIR) \
15 aufs$(BR2_PACKAGE_AUFS_SERIES)-kbuild.patch \
16 aufs$(BR2_PACKAGE_AUFS_SERIES)-base.patch \
17 aufs$(BR2_PACKAGE_AUFS_SERIES)-mmap.patch \
18 aufs$(BR2_PACKAGE_AUFS_SERIES)-standalone.patch
19 cp -r $(AUFS_DIR)/fs/aufs/ $(@D)/fs/
20 cp $(AUFS_DIR)/include/uapi/linux/aufs_type.h $(@D)/include/uapi/linux/
21 endef