Browse Source

Merge pull request #12715 from neheb/can2

canutils: switch to CMake
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
e30fdaf0a9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      utils/canutils/Makefile

+ 4
- 3
utils/canutils/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=canutils PKG_NAME:=canutils
PKG_VERSION:=2020.02.04 PKG_VERSION:=2020.02.04
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/linux-can/can-utils/tar.gz/v$(PKG_VERSION)? 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 <anton.a.glukhov@gmail.com> PKG_MAINTAINER:=Anton Glukhov <anton.a.glukhov@gmail.com>
PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/canutils/Default define Package/canutils/Default
SECTION:=utils SECTION:=utils
@ -41,6 +41,7 @@ define GenPlugin
define Package/$(addprefix canutils-,$(1)) define Package/$(addprefix canutils-,$(1))
$(call Package/canutils/Default) $(call Package/canutils/Default)
TITLE:=Utility $(1) from the CAN utilities TITLE:=Utility $(1) from the CAN utilities
DEPENDS:=canutils
endef endef
define Package/$(addprefix canutils-,$(1))/description define Package/$(addprefix canutils-,$(1))/description


Loading…
Cancel
Save