This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/flashrom/default.bash

50 lines
723 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
2013-09-04 16:30:15 +01:00
'0.9.5.2'
2013-07-13 17:19:22 +01:00
)
url=\
(
"http://download.flashrom.org/releases/flashrom-$version.tar.bz2"
)
md5=\
(
2013-09-04 16:30:15 +01:00
'280f8b1d3ef0533d6ec913b0da857477'
2013-07-13 17:19:22 +01:00
)
maintainer=\
(
2013-09-04 16:30:15 +01:00
'Renato Caldas <rmsc@fe.up.pt>'
)
requires=\
(
'pciutils/default'
2013-07-13 17:19:22 +01:00
)
build()
{
echo $cmd_make &&
$cmd_make \
PREFIX="$cfg_dir_toolchain_sysroot/usr" \
CC="$cmd_target_cc" \
STRIP="$cmd_target_strip" \
AR="$cmd_target_ar" \
RANLIB="$cmd_target_ranlib" \
CONFIG_RAYER_SPI=no \
CONFIG_NIC3COM=no \
CONFIG_GFXNVIDIA=no \
CONFIG_SATASII=no \
CONFIG_FT2232_SPI=no \
CONFIG_DUMMY=no \
CONFIG_DRKAISER=no \
CONFIG_NICREALTEK=no
}
target_install()
{
$cmd_target_strip flashrom
cp flashrom "$cfg_dir_rootfs/usr/sbin"
}