mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-28 01:47:19 +01:00
-------------------------------------------------------------------------------
* 485a38b Merge branch 'agnau-print-to-stderr' into 'master'
* bedf694 Print errors to stderr instead of stdout
-------------------------------------------------------------------------------
commit 485a38bc4eaf2a54d080b8529d5130b2955626d1
Author: Jonas Höglund <jonas.hoglund@iopsys.eu>
Date: 2021-05-05 15:06:22 +0000
Merge branch 'agnau-print-to-stderr' into 'master'
Print errors to stderr instead of stdout
See merge request iopsys/fdtextract!1
Base directory -> /
fdtextract.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
commit bedf694df0eee164f3b21f3bbffaf4dc379fa002
Author: Andreas Gnau <andreas.gnau@iopsys.eu>
Date: 2021-05-05 10:16:41 +0200
Print errors to stderr instead of stdout
Base directory -> /
fdtextract.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
-------------------------------------------------------------------------------
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2021 IOPSYS Software Solutions AB
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fdtextract
|
|
PKG_RELEASE:=1
|
|
PKG_VERSION:=1.0
|
|
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/fdtextract.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=485a38bc4eaf2a54d080b8529d5130b2955626d1
|
|
PKG_MIRROR_HASH:=skip
|
|
|
|
PKG_LICENSE:=GPLv2
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
RSTRIP:=true
|
|
export BUILD_DIR
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
CATEGORY:=Utilities
|
|
TITLE:=fdtextract
|
|
DEPENDS:= +libfdt
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
Command to extract sub images from FIT images.
|
|
endef
|
|
|
|
MAKE_FLAGS += \
|
|
CFLAGS+="-Wall"
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fdtextract $(1)/usr/sbin/
|
|
$(STRIP) $(1)/usr/sbin/fdtextract
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|