From 951ffbc2f60b49a71a9303fc31e9963f3dce4c95 Mon Sep 17 00:00:00 2001 From: vdutta Date: Fri, 11 Mar 2022 13:06:30 +0530 Subject: [PATCH] bulkdata: 1.0.4 --- bulkdata/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/bulkdata/Makefile b/bulkdata/Makefile index 48146200c..9ef39e7da 100755 --- a/bulkdata/Makefile +++ b/bulkdata/Makefile @@ -8,17 +8,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bulkdata -PKG_VERSION:=1.0.3 +PKG_VERSION:=1.0.4 -PKG_SOURCE_VERSION:=b35e7862bc17fc11dc1f757c7b93900995a28633 +LOCAL_DEV:=0 +ifneq ($(LOCAL_DEV),1) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/bulkdata.git - +PKG_SOURCE_VERSION:=b35e7862bc17fc11dc1f757c7b93900995a28633 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MIRROR_HASH:=skip +endif + PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) - PKG_LICENSE:=GPL-2.0-only PKG_LICENSE_FILES:=LICENSE @@ -37,7 +39,14 @@ define Package/$(PKG_NAME)/description endef TARGET_CFLAGS += \ - -D_GNU_SOURCE + -D_GNU_SOURCE \ + -Wall -Werror + +ifeq ($(LOCAL_DEV),1) +define Build/Prepare + $(CP) -rf ~/git/bulkdata/* $(PKG_BUILD_DIR)/ +endef +endif define Package/$(PKG_NAME)/install $(INSTALL_DIR) $(1)/usr/sbin