Commit 42ec5e04 authored by Daniel Nyström's avatar Daniel Nyström Committed by Thomas Petazzoni
Browse files

e2tools: new package



E2tools is a simple set of GPL'ed utilities to read, write, and
manipulate files in an ext2/ext3 filesystem.  These utilities access a
filesystem directly using the ext2fs library.

[Thomas: add toolchain dependencies as needed, use full Git hash, use
github helper, add support for host version.]

Signed-off-by: default avatarDaniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent dc4d0e2f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ source "package/cramfs/Config.in"
source "package/curlftpfs/Config.in"
source "package/dosfstools/Config.in"
source "package/e2fsprogs/Config.in"
source "package/e2tools/Config.in"
source "package/ecryptfs-utils/Config.in"
source "package/exfat/Config.in"
source "package/exfat-utils/Config.in"
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ menu "Host utilities"
source "package/dfu-util/Config.in.host"
source "package/dosfstools/Config.in.host"
source "package/e2fsprogs/Config.in.host"
source "package/e2tools/Config.in.host"
source "package/genext2fs/Config.in.host"
source "package/genimage/Config.in.host"
source "package/genpart/Config.in.host"
+17 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_E2TOOLS
	bool "e2tools"
	select BR2_PACKAGE_E2FSPROGS
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_LARGEFILE # e2fsprogs
	depends on BR2_USE_WCHAR # e2fsprogs
	depends on BR2_USE_MMU # e2fsprogs
	help
	  E2tools is a simple set of GPL'ed utilities to read, write,
	  and manipulate files in an ext2/ext3 filesystem.  These
	  utilities access a filesystem directly using the ext2fs
	  library.

	  https://github.com/ndim/e2tools

comment "e2tools needs a toolchain w/ threads, largefile and wchar"
	depends on !BR2_TOOLCHAIN_HAS_THREADS
+10 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_HOST_E2TOOLS
	bool "host-e2tools"
	select BR2_PACKAGE_HOST_E2FSPROGS
	help
	  E2tools is a simple set of GPL'ed utilities to read, write,
	  and manipulate files in an ext2/ext3 filesystem.  These
	  utilities access a filesystem directly using the ext2fs
	  library.

	  https://github.com/ndim/e2tools
+19 −0
Original line number Diff line number Diff line
################################################################################
#
# e2tools
#
################################################################################

E2TOOLS_VERSION = 3158ef18a903ca4a98b8fa220c9fc5c133d8bdf6
E2TOOLS_SITE = $(call github,ndim,e2tools,$(E2TOOLS_VERSION))

# Source coming from github, no configure included.
E2TOOLS_AUTORECONF = YES
E2TOOLS_LICENSE = GPLv2
E2TOOLS_LICENSE_FILES = COPYING
E2TOOLS_DEPENDENCIES = e2fsprogs
E2TOOLS_CONF_ENV = LIBS="-lpthread"
HOST_E2TOOLS_CONF_ENV = LIBS="-lpthread"

$(eval $(autotools-package))
$(eval $(host-autotools-package))