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
9 PKG_DESCR
:= update firmware
10 PKG_SECTION
:= base
/adk
12 PKG_URL
:= http
://www.openadk.org
14 PKG_CFLINE_FWUPDATE
:= select BUSYBOX_SHA256SUM@
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,FWUPDATE
,fwupdate
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 INSTALL_STYLE
:= manual
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