Remove LTO. It causes an increase in size.
Remove fsck.btrfs. It's just a script that says to run btrfs check.
Replace INSTALL_BIN with CP to avoid copying what should be a symlink.
Install libbtrfsutil. This is needed by a few of the tools.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Supersedes #5173 and bumps the version to latest. Tested on ramips (mt7621).
Signed-off-by: Eugene Chekanskiy <echekanskiy@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Build depends refer to source package names, not binary package names.
In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.
Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
TARGET_CPPFLAGS were not propagated correctly leading to these kinds of
build failure:
btrfstune.c:26:23: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
^
compilation terminated.
btrfs-find-root.c:24:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
mkfs/common.c:18:23: fatal error: uuid/uuid.h: No such file or directory
#include <uuid/uuid.h>
Fix that by passing TARGET_CPPFLAGS via EXTRA_CFLAGS
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
I got following error while compiling btrfs-progs for ar71xx:
make[4]: Entering directory `/home/stefan/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/btrfs-progs-v3.17.3'
[LN] libbtrfs.so.0
[LN] libbtrfs.so
[CC] btrfs-convert.o
[LD] libbtrfs.so.0.1
/home/stefan/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libblkid.so: warning: This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case.
[LD] mkfs.btrfs
[LD] btrfs
[LD] btrfs-debug-tree
[LD] btrfs-image
[LD] btrfs-map-logical
[LD] btrfs-zero-log
[LD] btrfs-find-root
btrfs-convert.c:30:21: fatal error: sys/acl.h: No such file or directory
#include <sys/acl.h>
^
compilation terminated.
make[4]: *** [btrfs-convert.o] Error 1
fix it by adding libacl as compile time dependency, as btrfs-convert is not
linked to libacl.
Signed-off-by: Stefan Hellermann <stefan@the2masters.de>