libcanfestival: remove

It seems that nothing uses this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-04-07 18:22:31 -07:00
parent 9b4308dae6
commit 3639561277
No known key found for this signature in database
GPG key ID: 36D31CFA845F0E3B
5 changed files with 0 additions and 181 deletions

View file

@ -1,73 +0,0 @@
#
# Copyright (C) 2015-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=libcanfestival
PKG_RELEASE:=7
PKG_SOURCE_VERSION:=8bfe0ac00cdb
PKG_SOURCE_URL:=http://dev.automforge.net/CanFestival-3/archive/$(PKG_SOURCE_VERSION).tar.bz2?_dummyfilename=
PKG_SOURCE:=CanFestival-3-$(PKG_SOURCE_VERSION).tar.bz2
PKG_HASH:=0bee7aaef266fc579922ca159b7acbe9cdc9a936ac1f30402814844b007f7185
PKG_SOURCE_SUBDIR:=CanFestival-3-$(PKG_SOURCE_VERSION)
PKG_MAINTAINER:=Anton Glukhov <anton.a.glukhov@gmail.com>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=LICENCE
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
TAR_OPTIONS+= -m
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/libcanfestival
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Free software CANopen library
URL:=http://canfestival.org
DEPENDS:=+libpthread +librt
endef
define Package/libcanfestival/description
CanFestival library
endef
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS := \
--cc=$(TARGET_CC) \
--cxx=$(TARGET_CXX) \
--ld=$(TARGET_CC) \
--arch=$(ARCH) \
--binutils=$(TARGET_CROSS) \
--os=Linux \
--kerneldir=$(LINUX_DIR) \
--prefix=/usr \
--target=unix \
--can=socket \
--timers=unix \
--debug=ERR \
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
endef
define Package/libcanfestival/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libcanfestival_can_socket.so $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libcanfestival))

View file

@ -1,11 +0,0 @@
--- a/drivers/timers_unix/timers_unix.c
+++ b/drivers/timers_unix/timers_unix.c
@@ -33,7 +33,7 @@
}
}
-void timer_notify(sigval_t val)
+void timer_notify(void)
{
if(gettimeofday(&last_sig,NULL)) {
perror("gettimeofday()");

View file

@ -1,33 +0,0 @@
--- a/examples/TestMasterMicroMod/Makefile.in
+++ b/examples/TestMasterMicroMod/Makefile.in
@@ -56,7 +56,7 @@
$(TESTMASTERMICROMOD): $(OBJS)
- $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
+ $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
TestMaster.c: TestMaster.od
--- a/examples/TestMasterSlave/Makefile.in
+++ b/examples/TestMasterSlave/Makefile.in
@@ -65,7 +65,7 @@
$(TESTMASTERSLAVE): $(OBJS)
- $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
+ $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
TestSlave.c: TestSlave.od
$(MAKE) -C ../../objdictgen gnosis
--- a/examples/CANOpenShell/Makefile.in
+++ b/examples/CANOpenShell/Makefile.in
@@ -64,7 +64,7 @@
$(MAKE) -C ../../drivers/$(TARGET) libcanfestival_$(TARGET).a
$(CANOPENSHELL): $(OBJS)
- $(LD) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
+ $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ $(OBJS) $(EXE_CFLAGS)
mkdir -p Debug; cp $(CANOPENSHELL) Debug
CANOpenShellMasterOD.c: CANOpenShellMasterOD.od

View file

@ -1,20 +0,0 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -21,7 +21,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
-all: objdictedit canfestival examples
+all: objdictedit canfestival
examples: canfestival driver
$(MAKE) -C examples all
@@ -44,7 +44,7 @@ driver:
install: canfestival driver
$(MAKE) -C drivers $@
$(MAKE) -C src $@
- $(MAKE) -C examples $@
+ #$(MAKE) -C examples $@
$(MAKE) -C objdictgen $@
ldconfig

View file

@ -1,44 +0,0 @@
--- a/drivers/can_socket/Makefile.in
+++ b/drivers/can_socket/Makefile.in
@@ -23,7 +23,7 @@
CC = SUB_CC
OPT_CFLAGS = -O2
-CFLAGS = SUB_OPT_CFLAGS
+CFLAGS ?= SUB_OPT_CFLAGS
PROG_CFLAGS = SUB_PROG_CFLAGS
PREFIX = SUB_PREFIX
TARGET = SUB_TARGET
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -101,7 +101,7 @@ uninstall:
rm -rf $(DESTDIR)$(PREFIX)/include/canfestival
else
-CFLAGS = SUB_OPT_CFLAGS
+CFLAGS ?= SUB_OPT_CFLAGS
ifeq ($(TARGET),none)
canfestival: libcanfestival.o
--- a/drivers/unix/Makefile.in
+++ b/drivers/unix/Makefile.in
@@ -85,7 +85,7 @@ install:
else
-CFLAGS = SUB_OPT_CFLAGS
+CFLAGS ?= SUB_OPT_CFLAGS
driver: libcanfestival_$(TARGET).a
--- a/drivers/timers_unix/Makefile.in
+++ b/drivers/timers_unix/Makefile.in
@@ -23,7 +23,7 @@
CC = SUB_CC
OPT_CFLAGS = -O2
-CFLAGS = SUB_OPT_CFLAGS
+CFLAGS ?= SUB_OPT_CFLAGS
PROG_CFLAGS = SUB_PROG_CFLAGS
OS_NAME = SUB_OS_NAME
ARCH_NAME = SUB_ARCH_NAME