Commit graph

60 commits

Author SHA1 Message Date
Felix Fietkau
56ae9f9b0b mtd-utils: add back macOS compatibility code that was dropped during the update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2018-04-30 10:12:55 +02:00
Hauke Mehrtens
c7cd166479 tools/mtd-utils: update to version 2.0.2
This version now uses autotools to configure the build system. They are
also using the newly added zlib package.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2018-04-28 15:29:13 +02:00
Hauke Mehrtens
bf167f8a9a tools/mtd-utils: Mark some lzma functions as static
These functions are not declared in any header file and only used in
same compile unit, mark them as static to remove one gcc warning and
make it easier for the compiler to optimize them out.

This also fixes some style problems to make this patch match the version
in the packages folder.

This is copied from this commit to the mtd-utils we pack into the image:
56d0dd56e9 ("mtd-utils: Mark some lzma functions as static")

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
2018-04-28 15:29:08 +02:00
Alex Maclean
855d210f65 tools/mtd-utils: include sysmacros.h explicitly
glibc is moving to remove the include of sys/sysmacros.h from
sys/types.h, and some distros have done this early. Other libcs may
already lack this include. Include sysmacros.h explicitly.

Fixes: FS#1015

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
[refresh patches]
Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-10-27 11:19:38 +02:00
Alexander Couzens
b5aaafe9a3
mtd-utils/mkfs.jffs2: honor env SOURCE_DATE_EPOCH
Use the timestamp from the enviroment SOURCE_DATE_EPOCH
if set instead of the build time.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-06-19 14:35:07 +02:00
Rosen Penev
74f9c9c159 tools: host/include/getline.h: Remove
Seems to be useful only for old and unsupported operating systems. Removed and adjusted the mtd-utils Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2017-04-26 10:29:39 +02:00
Felix Fietkau
018d80007e kernel: remove ubifs xz decompression support
It has been unused, and less useful than squashfs for cases where flash
space usage matters.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-09 14:07:06 +01:00
Felix Fietkau
c7c1cf5618 treewide: clean up and unify PKG_VERSION for git based downloads
Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-22 16:42:21 +01:00
Felix Fietkau
720b99215d treewide: clean up download hashes
Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-16 22:39:22 +01:00
Daniel Engberg
9edfe7dd13 source: Switch to xz for packages and tools where possible
* Change git packages to xz
* Update mirror checksums in packages where they are used
* Change a few source tarballs to xz if available upstream
* Remove unused lines in packages we're touching, requested by jow- and blogic
* We're relying more on xz-utils so add official mirror as primary source, master site as secondary.
* Add SHA256 checksums to multiple git tarball packages

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-06 12:16:56 +02:00
Hauke Mehrtens
e27c8bb156 update mtd-utils to 1.5.2
- update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73)
 - remove patches that went upstream
 - fixes build from scratch as of broken patches

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
[use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47790
2015-12-05 15:44:58 +00:00
Felix Fietkau
17ae95bb20 tools/mtd-utils: fix PKG_MIRROR_MD5SUM
The checksum doesn't match the file on mirror2.openwrt.org.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47010
2015-09-21 17:18:52 +00:00
Jo-Philipp Wich
1ca571b6c2 tools/mtd-utils: avoid linking libm statically
Rework static linker flags to not link libm statically, this should fix the
build on CentOS where libm.a is not provided by the libc devel package.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46989
2015-09-17 13:07:48 +00:00
Jo-Philipp Wich
cf77766e64 tools/mtd-utils: prefer static linking
- Add patch for optional static linking preference
 - Prefer static linking on Linux systems
 - Enable verbose compiler messages when building with V=c

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46908
2015-09-14 14:51:07 +00:00
Imre Kaloz
df23709f16 tools/mtd-utils: upgrade to latest git
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45760
2015-05-26 09:25:30 +00:00
Jo-Philipp Wich
f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
2015-02-06 00:00:43 +00:00
Felix Fietkau
a6d9d70aa0 tools/mtd-utils: add mirror md5sum
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43760
2014-12-22 13:52:58 +00:00
Felix Fietkau
dd86bc73fb tools: Fix compilation on x32 host
Compiling the host tools on the new x32 architecture (which is
an ILP32 ELF32 system on an amd64 CPU) fails for various reasons.

 gmp: pull same fix I applied to OpenADK, which was inspired
  by the fix in the Debian source package

 mtd-utils: write a workaround myself; only affects x32, but
  the use of llseek is dangerous according to the manpage, so
  the guard ifdef should probably go away

 findutils: pull fix straight from the Debian source packae

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>

SVN-Revision: 43060
2014-10-25 16:57:16 +00:00
Felix Fietkau
b6be477299 tools/mtd-utils: fix a segfault in parsing the device table
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42875
2014-10-12 15:00:15 +00:00
Gabor Juhos
ca4c33abb9 tools/mtd-utils: add EOF marker support to libubigen/ubinize
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38682
2013-11-07 19:53:01 +00:00
Felix Fietkau
5825d9b40d mtd-utils: get rid of extern inline to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38565
2013-10-28 15:15:28 +00:00
Jo-Philipp Wich
cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich
614351940e mtd-utils: link statically
SVN-Revision: 33098
2012-08-10 19:26:40 +00:00
Gabor Juhos
2803206c50 tools/mtd-utils: remove empty patches
SVN-Revision: 31705
2012-05-13 12:32:22 +00:00
Gabor Juhos
7a7d39cef3 tools/mtd-utils: fix build error
SVN-Revision: 30797
2012-03-03 11:12:06 +00:00
Gabor Juhos
087747cd43 tools/mtd-utils: update mkfs.ubifs XZ support
SVN-Revision: 30796
2012-03-03 10:08:31 +00:00
Gabor Juhos
c503f44f9c tools/mtd-utils: add XZ compression support to mkfs.ubifs
SVN-Revision: 30795
2012-03-02 23:09:01 +00:00
Gabor Juhos
8e0af8361d tools/mtd-utils: cleanup mkubifs lzo patch
SVN-Revision: 30770
2012-03-01 19:55:49 +00:00
Gabor Juhos
3698c6a391 tools/mtd-utils: update to 1.4.5
This updates mtd-utils in tools:
100-optional_lzo.patch and 101-ubifs-optional_lzo.patch
are now uneeded as a WITHOUT_LZO flag is provided by the
upstream sources. All remaining patches are refreshed
for the new version.
135-mkubifs_optional_lzo.patch was created to respect
WITHOUT_LZO also in mkubifs.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 30769
2012-03-01 19:55:48 +00:00
Felix Fietkau
11c08a39bc tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
SVN-Revision: 25598
2011-02-20 03:25:56 +00:00
Alexandros C. Couloumbis
8a5b26afd1 tools/mtd-utils: update to mtd-utils-20101124
SVN-Revision: 24129
2010-11-24 12:05:06 +00:00
Alexandros C. Couloumbis
585850eafb tools/mtd-utils: add two upstream patches
SVN-Revision: 23453
2010-10-15 07:52:37 +00:00
Jo-Philipp Wich
3d44120515 mtd-utils: refresh patches again
SVN-Revision: 23194
2010-10-03 12:15:04 +00:00
Alexandros C. Couloumbis
3c67143588 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
SVN-Revision: 23193
2010-10-03 12:03:21 +00:00
Alexandros C. Couloumbis
e70493a812 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
SVN-Revision: 23192
2010-10-03 11:12:36 +00:00
Jo-Philipp Wich
4e8f4e1d39 mtd-utils: refresh patches
SVN-Revision: 23179
2010-10-02 16:42:57 +00:00
Jo-Philipp Wich
f70671c153 tools/mtd-utils: fix compilation on OS X
SVN-Revision: 23176
2010-10-02 10:18:34 +00:00
Alexandros C. Couloumbis
930031c5d1 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
2010-10-01 16:39:08 +00:00
Jo-Philipp Wich
78222ff9dc mtd-utils: revert r23075
SVN-Revision: 23076
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich
297f110b2c mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
SVN-Revision: 23075
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich
97a286cb62 revert r23048 for now until Darwin compile issues have been sorted out (#7934)
SVN-Revision: 23057
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis
432cb15bd1 tools/mtd-utils: update to version git-20100912
SVN-Revision: 23048
2010-09-13 07:39:44 +00:00
Felix Fietkau
01ca56639c mtd-utils: remove bogus include statement to make it more portable
SVN-Revision: 20853
2010-04-14 10:50:33 +00:00
Alexandros C. Couloumbis
c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Felix Fietkau
9156e19ac0 mtd-utils: do not try to compile in support for ubifs ioctls and extended flags - some linux distros do not support this
SVN-Revision: 19846
2010-02-24 23:02:38 +00:00
Felix Fietkau
393835a5d9 mtd-utils: refresh the cygwin_fixes patch
SVN-Revision: 19159
2010-01-16 00:11:47 +00:00
Felix Fietkau
5c8bfc0c17 mtd-utils: fix compile on mac os x
SVN-Revision: 19158
2010-01-16 00:11:43 +00:00
Lars-Peter Clausen
5cc66964c1 Fix libuuid header location and reenable building of mkfs.ubifs
SVN-Revision: 19113
2010-01-13 05:21:50 +00:00
Lars-Peter Clausen
46efcd60eb mtd-utils: Don't include lzo headers aswell...
SVN-Revision: 19107
2010-01-11 16:15:52 +00:00
Florian Fainelli
bcdfe67a13 do not build nor install mkfs.ubifs until we have it fixed (#6483)
SVN-Revision: 19106
2010-01-11 15:40:45 +00:00