uspd: Multiple fixes

- 69547f8 Remove DM_USE_LIBUBUS compile defines
 - 06fbaef Add openwrt makefile
 - 6ce0cad Fix invalid use of strncpy/cat functions
 - da2d3d8 uspd: Added compile time flags
This commit is contained in:
vdutta 2020-05-19 19:24:35 +05:30
parent 0bea0f9635
commit 3ef6f4b04c

View file

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=uspd
PKG_VERSION:=1.0.15
PKG_VERSION:=1.0.16
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=b63969805304ed668295ffd43c33c2a294ea6834
PKG_SOURCE_VERSION:=69547f86dd663b9429821acf73a459b29e319f1d
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/uspd.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
endif
@ -35,13 +35,7 @@ endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-D_GNU_SOURCE \
-fstrict-aliasing \
-Wall -Wextra -Werror \
-DDM_USE_LIBUBUS \
-Wformat \
-Wformat-signedness \
-Wsign-conversion
-D_GNU_SOURCE
ifeq ($(LOCAL_DEV),1)