Added f3 flash fraud detection tool
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
EGIT_REPO_URI="https://github.com/matrix-io/xc3sprog.git"
|
||||
inherit git-r3 cmake-utils toolchain-funcs
|
||||
inherit git-r3 cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="A suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs"
|
||||
HOMEPAGE="http://xc3sprog.sourceforge.net/"
|
||||
@@ -27,7 +27,7 @@ src_prepare() {
|
||||
CMakeLists.txt || die
|
||||
sed -i -e 's#usr/lib#opt/lib64#' FindlibFTD2XX.cmake || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
@@ -37,11 +37,11 @@ src_configure() {
|
||||
-DLIBFTDI_LIBRARIES=/usr/$(get_libdir)/libftdi1.so
|
||||
-DUSE_FTD2XX="$(usex ftd2xx)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
insinto /usr/share/${PF}/
|
||||
doins -r bscan_spi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user