Commit Graph

57 Commits (34bbbbf9c3b39e7b2d81df590aad5cdbd00280d6)

Author SHA1 Message Date
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
8 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Imre Kaloz df23709f16 tools/mtd-utils: upgrade to latest git
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45760
9 years ago
Jo-Philipp Wich f7e56763e1 tools: remove static linking support
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44285
9 years ago
Felix Fietkau a6d9d70aa0 tools/mtd-utils: add mirror md5sum
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43760
10 years ago
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
10 years ago
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
10 years ago
Gabor Juhos ca4c33abb9 tools/mtd-utils: add EOF marker support to libubigen/ubinize
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38682
11 years ago
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
11 years ago
Jo-Philipp Wich cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
12 years ago
Jo-Philipp Wich 614351940e mtd-utils: link statically
SVN-Revision: 33098
12 years ago
Gabor Juhos 2803206c50 tools/mtd-utils: remove empty patches
SVN-Revision: 31705
12 years ago
Gabor Juhos 7a7d39cef3 tools/mtd-utils: fix build error
SVN-Revision: 30797
12 years ago
Gabor Juhos 087747cd43 tools/mtd-utils: update mkfs.ubifs XZ support
SVN-Revision: 30796
12 years ago
Gabor Juhos c503f44f9c tools/mtd-utils: add XZ compression support to mkfs.ubifs
SVN-Revision: 30795
12 years ago
Gabor Juhos 8e0af8361d tools/mtd-utils: cleanup mkubifs lzo patch
SVN-Revision: 30770
12 years ago
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
12 years ago
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
13 years ago
Alexandros C. Couloumbis 8a5b26afd1 tools/mtd-utils: update to mtd-utils-20101124
SVN-Revision: 24129
14 years ago
Alexandros C. Couloumbis 585850eafb tools/mtd-utils: add two upstream patches
SVN-Revision: 23453
14 years ago
Jo-Philipp Wich 3d44120515 mtd-utils: refresh patches again
SVN-Revision: 23194
14 years ago
Alexandros C. Couloumbis 3c67143588 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
SVN-Revision: 23193
14 years ago
Alexandros C. Couloumbis e70493a812 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
SVN-Revision: 23192
14 years ago
Jo-Philipp Wich 4e8f4e1d39 mtd-utils: refresh patches
SVN-Revision: 23179
14 years ago
Jo-Philipp Wich f70671c153 tools/mtd-utils: fix compilation on OS X
SVN-Revision: 23176
14 years ago
Alexandros C. Couloumbis 930031c5d1 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
14 years ago
Jo-Philipp Wich 78222ff9dc mtd-utils: revert r23075
SVN-Revision: 23076
14 years ago
Jo-Philipp Wich 297f110b2c mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
SVN-Revision: 23075
14 years ago
Jo-Philipp Wich 97a286cb62 revert r23048 for now until Darwin compile issues have been sorted out (#7934)
SVN-Revision: 23057
14 years ago
Alexandros C. Couloumbis 432cb15bd1 tools/mtd-utils: update to version git-20100912
SVN-Revision: 23048
14 years ago
Felix Fietkau 01ca56639c mtd-utils: remove bogus include statement to make it more portable
SVN-Revision: 20853
14 years ago
Alexandros C. Couloumbis c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
14 years ago
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
14 years ago
Felix Fietkau 393835a5d9 mtd-utils: refresh the cygwin_fixes patch
SVN-Revision: 19159
15 years ago
Felix Fietkau 5c8bfc0c17 mtd-utils: fix compile on mac os x
SVN-Revision: 19158
15 years ago
Lars-Peter Clausen 5cc66964c1 Fix libuuid header location and reenable building of mkfs.ubifs
SVN-Revision: 19113
15 years ago
Lars-Peter Clausen 46efcd60eb mtd-utils: Don't include lzo headers aswell...
SVN-Revision: 19107
15 years ago
Florian Fainelli bcdfe67a13 do not build nor install mkfs.ubifs until we have it fixed (#6483)
SVN-Revision: 19106
15 years ago
Lars-Peter Clausen f26aa5f82a mtd-utils: Disable lzo for mkfs.ubifs
SVN-Revision: 19104
15 years ago
Lars-Peter Clausen 5ec88a4a15 mtd-utils: Build mkfs.ubifs
SVN-Revision: 19096
15 years ago
Florian Fainelli 1c50561480 make mtd-utils compile correctly on cygwin
SVN-Revision: 19039
15 years ago