mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
canutils: Switch to autotools instead of regular Makefile
The regular Makefile is totally broken and does not pass CFLAGS. This breaks compilation with PKG_ASLR_PIE and also does not pass -Os. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=canutils
|
PKG_NAME:=canutils
|
||||||
PKG_VERSION:=2018.02.0
|
PKG_VERSION:=2018.02.0
|
||||||
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)?
|
||||||
@@ -19,6 +19,7 @@ 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_FIXUP:=autoreconf
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
@@ -59,13 +60,6 @@ FILES:=canbusload can-calc-bit-timing candump \
|
|||||||
|
|
||||||
$(foreach a,$(FILES),$(eval $(call GenPlugin,$(a))))
|
$(foreach a,$(FILES),$(eval $(call GenPlugin,$(a))))
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
|
||||||
PREFIX="$(CONFIGURE_PREFIX)"
|
|
||||||
|
|
||||||
define Package/canutils/install
|
|
||||||
true
|
|
||||||
endef
|
|
||||||
|
|
||||||
define PartInstall
|
define PartInstall
|
||||||
define Package/canutils-$(1)/install
|
define Package/canutils-$(1)/install
|
||||||
$(INSTALL_DIR) $$(1)/usr/bin
|
$(INSTALL_DIR) $$(1)/usr/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user