mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-06 01:12:10 +01:00
-------------------------------------------------------------------------------
* 9b5ed4b cfe: Add support for minimum version.
-------------------------------------------------------------------------------
commit 9b5ed4bc9f7ac5064414cf5feb510ffd95df6ec4
Author: Kenneth Johansson <kenneth@southpole.se>
Date: 2019-01-17 21:16:56 +0100
cfe: Add support for minimum version.
If the new version is not larger than the one given programming of CFE is
turned off.
Base directory -> /
src/cfe.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 60 insertions(+), 1 deletion(-)
-------------------------------------------------------------------------------
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=iopupgrade
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_VERSION:=9b5ed4bc9f7ac5064414cf5feb510ffd95df6ec4
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/iopupgrade
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
# support parallel build
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
#re create configure scripts if not present.
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
# run install target when cross compiling. basically, make install DESTDIR=$(PKG_INSTALL_DIR)
|
|
# this way we don't need to pick out the resulting files from the build dir.
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/iopupgrade
|
|
CATEGORY:=Utilities
|
|
TITLE:=Iopsys system upgrade utility
|
|
URL:=
|
|
# DEPENDS:=
|
|
endef
|
|
|
|
define Package/iopupgrade/description
|
|
Application handling peripheral
|
|
endef
|
|
|
|
define Package/iopupgrade/install
|
|
$(CP) ./files/* $(1)/
|
|
$(INSTALL_DIR) $(1)/etc/
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/iopupgrade $(1)/sbin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,iopupgrade))
|
|
|