summaryrefslogtreecommitdiffhomepage
path: root/e2fsprogs/lsattr.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-18 22:40:23 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-18 22:40:23 +0200
commit000eda41c084bae95d9e40a570cbdaa5ffd3d22e (patch)
tree848b2b10ddd0277664e27c777ea36a7f5b317929 /e2fsprogs/lsattr.c
parentd34f300db6d7a726759f4d820a61f19eacf11288 (diff)
e2fsprogs/*: convert to new-style "one file" applets
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs/lsattr.c')
-rw-r--r--e2fsprogs/lsattr.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/e2fsprogs/lsattr.c b/e2fsprogs/lsattr.c
index 1312fe754..3a7dd6b56 100644
--- a/e2fsprogs/lsattr.c
+++ b/e2fsprogs/lsattr.c
@@ -9,14 +9,16 @@
* This file can be redistributed under the terms of the GNU General
* Public License
*/
+//config:config LSATTR
+//config: bool "lsattr"
+//config: default y
+//config: select PLATFORM_LINUX
+//config: help
+//config: lsattr lists the file attributes on a second extended file system.
-/*
- * History:
- * 93/10/30 - Creation
- * 93/11/13 - Replace stat() calls by lstat() to avoid loops
- * 94/02/27 - Integrated in Ted's distribution
- * 98/12/29 - Display version info only when -V specified (G M Sipe)
- */
+//applet:IF_LSATTR(APPLET(lsattr, BB_DIR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_LSATTR) += lsattr.o e2fs_lib.o
//usage:#define lsattr_trivial_usage
//usage: "[-Radlv] [FILE]..."