From 5f9a918c4fe8d3e6e3a29f653204683881ae6f07 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 4 Jul 2020 14:50:23 -0700 Subject: [PATCH] canutils: switch to CMake Allows simplifying the Makefile. Faster compilation as well. Revert b70cb0ef5ed196247bd4bcce3cb84167420eeb4d That commit was misleading and ended up bloating the Utilities section. Signed-off-by: Rosen Penev --- utils/canutils/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/canutils/Makefile b/utils/canutils/Makefile index 8e40399e0..acc282d20 100644 --- a/utils/canutils/Makefile +++ b/utils/canutils/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=canutils PKG_VERSION:=2020.02.04 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/linux-can/can-utils/tar.gz/v$(PKG_VERSION)? @@ -18,12 +18,12 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/can-utils-$(PKG_VERSION) PKG_MAINTAINER:=Anton Glukhov PKG_LICENSE:=GPL-2.0-or-later +PKG_LICENSE_FILES:=COPYING -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/cmake.mk define Package/canutils/Default SECTION:=utils @@ -41,6 +41,7 @@ define GenPlugin define Package/$(addprefix canutils-,$(1)) $(call Package/canutils/Default) TITLE:=Utility $(1) from the CAN utilities + DEPENDS:=canutils endef define Package/$(addprefix canutils-,$(1))/description