From d3fd6bf6a6ac5a7a05a7cfcd557be2535a8db3fe Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Mon, 16 Jul 2018 13:10:42 +0200 Subject: [PATCH] btrfs-progs: Update to 4.17 Update to 4.17 Add LTO and ffunction-sections -fdata-sections to reduce binary size Signed-off-by: Daniel Engberg --- utils/btrfs-progs/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/btrfs-progs/Makefile b/utils/btrfs-progs/Makefile index 20f925818..1a821dffd 100644 --- a/utils/btrfs-progs/Makefile +++ b/utils/btrfs-progs/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=btrfs-progs -PKG_VERSION:=4.16.1 +PKG_VERSION:=4.17 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/kdave/btrfs-progs/ -PKG_HASH:=013403fb67b17975b21408fa9eb7523b0ecf94f84f8a4397cf972e8e254d2246 +PKG_HASH:=82ca0ecf76350a1e3c6543fe220c0910e240511e663d51fc79c32bd0052c117c PKG_MAINTAINER:=Rosen Penev PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION) @@ -54,6 +54,9 @@ CONFIGURE_ARGS += \ --disable-python \ --disable-zstd +TARGET_CFLAGS += -ffunction-sections -fdata-sections -flto +TARGET_LDFLAGS += -Wl,--gc-sections -flto + EXTRA_CFLAGS=$(TARGET_CPPFLAGS) define Build/InstallDev