f2fs: add Makefile for f2fs
authorXiao Yang <yangx.jy@cn.fujitsu.com>
Mon, 11 Jan 2016 04:10:20 +0000 (15:10 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2016 04:10:20 +0000 (15:10 +1100)
Installation failed due to Makefile omission, so fix this.

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/f2fs/Makefile [new file with mode: 0644]

diff --git a/tests/f2fs/Makefile b/tests/f2fs/Makefile
new file mode 100644 (file)
index 0000000..4d00e9e
--- /dev/null
@@ -0,0 +1,21 @@
+#
+#  Copyright (c) 2015 Fujitsu Ltd.
+#  Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+#
+
+TOPDIR = ../..
+include $(TOPDIR)/include/builddefs
+
+F2FS_DIR = f2fs
+TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(F2FS_DIR)
+
+include $(BUILDRULES)
+
+install:
+       $(INSTALL) -m 755 -d $(TARGET_DIR)
+       $(INSTALL) -m 755 [0-9]?? $(TARGET_DIR)
+       $(INSTALL) -m 644 group $(TARGET_DIR)
+       $(INSTALL) -m 644 [0-9]??.* $(TARGET_DIR)
+
+# Nothing.
+install-dev install-lib: