# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers openmaintainer {gmail.com:ranauei @ranauei}
description Flash program for the STM32 bootloader
long_description Open source flash program for the STM32 ARM processors \
using the ST serial bootloader over UART or I2C
homepage http://sourceforge.net/p/stm32flash/wiki/Home/
checksums rmd160 6642a57e8f6d56feb209c59ddc13912b3a47a81f \
sha256 97aa9422ef02e82f7da9039329e21a437decf972cb3919ad817f70ac9a49e306
destroot.args PREFIX=${prefix}
reinplace "s|\$\(AR\) rc|\$\(AR\) rcs|g" ${worksrcpath}/parsers/Makefile
build.env-append "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
"LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"
build.args-append CC=${configure.cc}
build.env-append MAKE=${build.cmd} \
INSTALL=${configure.install}