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_HASH
:= e1f8d95881f5a4365dfe58776ce821dfcee0f138f75d0f44f8a3cd032d9ea42b
10 PKG_DESCR
:= utility for identifying
, reading
, writing
, verifying and erasing flash chips.
12 PKG_DEPENDS
:= pciutils libusb zlib
13 PKG_BUILDDEP
:= pciutils libusb zlib
14 PKG_URL
:= https
://www.flashrom.org
/Flashrom
15 PKG_SITES
:= https
://download.flashrom.org
/releases
/
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.bz2
19 include $(ADK_TOPDIR
)/mk
/package.mk
21 $(eval
$(call PKG_template
,FLASHROM
,flashrom
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_CFLAGS
+= -I
$(STAGING_TARGET_DIR
)/usr
/include/libusb-1.0
27 ${INSTALL_DIR} ${IDIR_FLASHROM}/usr
/sbin
28 ${INSTALL_BIN} ${WRKINST}/usr
/local
/sbin
/flashrom
${IDIR_FLASHROM}/usr
/sbin
/
30 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk