Compare commits
4 Commits
master
...
feature/li
Author | SHA1 | Date | |
---|---|---|---|
|
eec11b4f27 | ||
|
b4f67610be | ||
|
d742be4014 | ||
|
66da4333e9 |
49
rules/gdal/default.bash
Normal file
49
rules/gdal/default.bash
Normal file
@ -0,0 +1,49 @@
|
||||
version=\
|
||||
(
|
||||
'2.3.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://download.osgeo.org/gdal/2.3.2/gdal-2.3.2.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
'221e4bfe3e8e9443fd33f8fe46f8bf60'
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
'Tiago Sá Marques <tsmarques@lsts.pt>'
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"./configure" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--includedir="$cfg_dir_toolchain_sysroot/usr/include/gdal" \
|
||||
--with-build-sysroot="$cfg_dir_toolchain_sysroot" \
|
||||
--with-sysroot="$cfg_dir_toolchain_sysroot"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
cp -a "$cfg_dir_toolchain_sysroot/usr/lib/"libgdal*so* $cfg_dir_rootfs/lib
|
||||
for f in "$cfg_dir_rootfs/lib/"libgdal*so; do
|
||||
$cmd_target_strip "$f"
|
||||
done
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
cfg_hostname='x8-06-aux'
|
||||
cfg_eth_ext_ip='10.0.20.109'
|
||||
cfg_services1='lauv-storage-server'
|
||||
cfg_packages="$cfg_packages opencv raspicam exiv2 libav uswitch nfs-utils"
|
||||
cfg_packages="$cfg_packages opencv raspicam exiv2 libav uswitch nfs-utils gdal"
|
||||
cfg_modules="$cfg_modules ftdi_sio"
|
||||
cfg_target_linux_dtb='arch/arm/boot/dts/am335x-lauv-aux.dtb'
|
||||
cfg_ptpd_interface='eth0'
|
||||
|
Reference in New Issue
Block a user