mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
* Not sure what I was trying to do here but it removes the default cflags and as a result libusb is not found.
59 lines
1.4 KiB
Plaintext
59 lines
1.4 KiB
Plaintext
SUMMARY="Some tools which enable multi-platform development on the TI Stellaris Launchpad boards."
|
|
DESCRIPTION="
|
|
Some tools which enable multi-platform development on the TI Stellaris
|
|
Launchpad boards. The Stellaris Launchpad is a low cost development board
|
|
created by Texas Instruments that comes with an ARM Cortex-M4F processor.
|
|
"
|
|
HOMEPAGE="https://github.com/utzig/lm4tools"
|
|
LICENSE="
|
|
GNU GPL v2
|
|
"
|
|
COPYRIGHT="
|
|
2012 Fabio Utzig <fabio@utzig.net>
|
|
2012 Peter Stuge <peter@stuge.se>
|
|
"
|
|
SRC_URI="
|
|
git+https://github.com/utzig/lm4tools.git#1cfd813779b9eb717b15b0a1814bde8338899ff9
|
|
"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86 x86_64"
|
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
# for a different secondary architecture.
|
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
fi
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
lm4tools = $portVersion
|
|
cmd:lm4flash$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libusb_1.0$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
devel:libusb_1.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd lm4flash
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd lm4flash
|
|
mkdir -p $binDir
|
|
cp lm4flash $binDir
|
|
}
|