From 238d6e1f9010cf009ead3797cba2042cb8ce425e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 18 Oct 2019 15:28:43 -0700 Subject: [PATCH] sispmctl: Reduce ipk size Do not install static libraries or symlinks as actual files. Signed-off-by: Rosen Penev --- utils/sispmctl/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/utils/sispmctl/Makefile b/utils/sispmctl/Makefile index 2d8fb3478..bc9adaccd 100644 --- a/utils/sispmctl/Makefile +++ b/utils/sispmctl/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=sispmctl PKG_VERSION:=4.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/$(PKG_NAME) @@ -51,14 +51,13 @@ define Package/sispmctl/description multiple SIS-PM devices, too. endef -TARGET_CFLAGS += -D_GNU_SOURCE CONFIGURE_ARGS += \ --enable-webless \ --disable-dependency-tracking define Package/libsispmctl/install $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libsispmctl* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsispmctl.so* $(1)/usr/lib/ endef define Package/sispmctl/install