diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-08 20:39:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-08 20:39:54 +0000 |
commit | 5cf97a5ec22dac780fa87252053d2d79c1027a13 (patch) | |
tree | 13d703c33a2de61e757863fb8886b31242cf4e6b | |
parent | 81b122cf7eaaf6a3b708e7f367c4c803d133ba48 (diff) | |
download | master-187ad058-5cf97a5ec22dac780fa87252053d2d79c1027a13.tar.gz master-187ad058-5cf97a5ec22dac780fa87252053d2d79c1027a13.tar.bz2 master-187ad058-5cf97a5ec22dac780fa87252053d2d79c1027a13.zip |
e2fsprogs: add packages for "chattr" and "lsattr"
Signed-off-by: Richard Kunze <richard.kunze@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47425 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/utils/e2fsprogs/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/utils/e2fsprogs/Makefile b/package/utils/e2fsprogs/Makefile index 6c835e6522..bc1e5ed5ca 100644 --- a/package/utils/e2fsprogs/Makefile +++ b/package/utils/e2fsprogs/Makefile @@ -93,6 +93,18 @@ $(call Package/e2fsprogs) DEPENDS:= +e2fsprogs endef +define Package/chattr +$(call Package/e2fsprogs) + TITLE:=Ext2 Filesystem chattr utility + DEPENDS:= +e2fsprogs +endef + +define Package/lsattr +$(call Package/e2fsprogs) + TITLE:=Ext2 Filesystem lsattr utility + DEPENDS:= +e2fsprogs +endef + TARGET_CFLAGS += $(FPIC) -ffunction-sections -fdata-sections CONFIGURE_VARS += \ @@ -219,6 +231,16 @@ define Package/debugfs/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libss.so.* $(1)/usr/lib/ endef +define Package/chattr/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/chattr $(1)/usr/bin/ +endef + +define Package/lsattr/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsattr $(1)/usr/bin/ +endef + $(eval $(call BuildPackage,e2fsprogs)) $(eval $(call BuildPackage,libext2fs)) $(eval $(call BuildPackage,tune2fs)) @@ -228,3 +250,5 @@ $(eval $(call BuildPackage,dumpe2fs)) $(eval $(call BuildPackage,e2freefrag)) $(eval $(call BuildPackage,filefrag)) $(eval $(call BuildPackage,debugfs)) +$(eval $(call BuildPackage,chattr)) +$(eval $(call BuildPackage,lsattr)) |