python3: update to 3.11.10
[openadk.git] / package / fwupdate / Makefile
blob738185fd99bda4453d847edfae06402ff362284c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= fwupdate
7 PKG_VERSION:= 1.0
8 PKG_RELEASE:= 2
9 PKG_DESCR:= update firmware
10 PKG_SECTION:= base/adk
11 PKG_DEPENDS:= mke2fs
12 PKG_URL:= http://www.openadk.org
14 PKG_CFLINE_FWUPDATE:= select BUSYBOX_SHA256SUM@
16 NO_DISTFILES:= 1
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,FWUPDATE,fwupdate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 CONFIG_STYLE:= manual
23 BUILD_STYLE:= manual
24 INSTALL_STYLE:= manual
26 fwupdate-install:
27 $(INSTALL_DIR) $(IDIR_FWUPDATE)/usr/sbin
28 $(INSTALL_BIN) $(WRKBUILD)/fwupdate $(IDIR_FWUPDATE)/usr/sbin
29 $(INSTALL_BIN) $(WRKBUILD)/fwvalidate $(IDIR_FWUPDATE)/usr/sbin
30 $(SED) "s/@@DISK@@/$(ADK_TARGET_ROOTDEV)/g" \
31 $(IDIR_FWUPDATE)/usr/sbin/fwupdate
32 $(SED) "s/@@DISK@@/$(ADK_TARGET_ROOTDEV)/g" \
33 $(IDIR_FWUPDATE)/usr/sbin/fwvalidate
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk