From f38e08a904be0fbe06c9aee5781ad3212f98d1f0 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 26 Nov 2017 22:23:11 +0100 Subject: [PATCH] librem: clean up Makefile Remove unneeded variables, whitespaces, depends and trailing slashes. Signed-off-by: Sebastian Kemper --- libs/rem/Makefile | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/libs/rem/Makefile b/libs/rem/Makefile index 132a587..ab4f503 100644 --- a/libs/rem/Makefile +++ b/libs/rem/Makefile @@ -28,9 +28,9 @@ define Package/librem SUBMENU:=Telephony SECTION:=libs CATEGORY:=Libraries - DEPENDS:=+libre +libpthread + DEPENDS:=+libre TITLE:=Audio and video processing media library - URL:=http://www.creytiv.com/ + URL:=http://www.creytiv.com endef MAKE_FLAGS+= \ @@ -40,21 +40,18 @@ MAKE_FLAGS+= \ LIBRE_SO="$(STAGING_DIR)/usr/lib" \ SYSROOT="$(shell $(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s|/include/pthread.h||p')" \ SYSROOT_ALT="$(STAGING_DIR)/usr" \ - RELEASE=1 \ - OS=linux + RELEASE=1 define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/rem $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/rem $(1)/usr/include $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/librem.{a,so} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/librem.{a,so} $(1)/usr/lib endef define Package/librem/install - rm -f $(BUILD_DIR)/$(PKG_NAME) - ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME) $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/librem.so $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/librem.so $(1)/usr/lib endef $(eval $(call BuildPackage,librem))