mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
arm_none_eabi_gdb: fixup recipe.
This commit is contained in:
@@ -29,42 +29,50 @@ REVISION="1"
|
||||
|
||||
PATCHES="gdb-7.7.patchset"
|
||||
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
ARCHITECTURES=""
|
||||
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="
|
||||
arm_none_eabi_gdb = $portVersion
|
||||
cmd:arm_none_eabi_gdb = $portVersion
|
||||
arm_none_eabi_gdb$secondaryArchSuffix = $portVersion
|
||||
cmd:arm_none_eabi_gdb$secondaryArchSuffix
|
||||
cmd:arm_none_eabi_run$secondaryArchSuffix
|
||||
devel:libarm_none_eabi_sim$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libiconv
|
||||
lib:libintl
|
||||
lib:libncurses
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libncurses$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
gettext
|
||||
libiconv_devel
|
||||
ncurses_devel
|
||||
gettext$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoreconf
|
||||
cmd:awk
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd gdb && autoreconf; cd ..
|
||||
runConfigure ./configure --target=arm-none-eabi
|
||||
runConfigure ./configure --target=arm-none-eabi --disable-werror
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -72,7 +80,6 @@ INSTALL()
|
||||
{
|
||||
make install
|
||||
mkdir -p /packaging/gdb/develop/lib
|
||||
for i in libbfd.a libbfd.la libopcodes.a libopcodes.la; do
|
||||
mv /packaging/gdb/lib/$i /packaging/gdb/develop/lib/$i
|
||||
done
|
||||
prepareInstalledDevelLib libarm-none-eabi-sim
|
||||
rm -r $prefix/share # Locales end up there for some reason?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user