sispmctl: Reduce ipk size
authorRosen Penev <rosenp@gmail.com>
Fri, 18 Oct 2019 22:28:43 +0000 (15:28 -0700)
committerRosen Penev <rosenp@gmail.com>
Fri, 18 Oct 2019 22:28:43 +0000 (15:28 -0700)
Do not install static libraries or symlinks as actual files.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/sispmctl/Makefile

index 2d8fb34787efd36ad25dc1a2240be66c3bdd8bd6..bc9adaccdd5cabb532fd38168621d48040e8a44d 100644 (file)
@@ -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