2021-04-28 06:12:15 +02:00
|
|
|
config BR2_PACKAGE_OSM2PGSQL
|
|
|
|
bool "osm2pgsql"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # boost, fmt, libosmium, protozero
|
2021-09-05 10:40:45 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
|
2021-04-28 06:12:15 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
|
2021-08-19 15:12:44 +02:00
|
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
|
2021-04-28 06:12:15 +02:00
|
|
|
depends on BR2_USE_WCHAR # boost, fmt, libosmium
|
2021-08-10 20:22:16 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
2021-04-28 06:12:15 +02:00
|
|
|
select BR2_PACKAGE_BOOST
|
|
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
|
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|
|
|
|
select BR2_PACKAGE_BZIP2
|
|
|
|
select BR2_PACKAGE_EXPAT
|
|
|
|
select BR2_PACKAGE_FMT
|
|
|
|
select BR2_PACKAGE_LIBOSMIUM
|
|
|
|
select BR2_PACKAGE_PROTOZERO
|
|
|
|
select BR2_PACKAGE_ZLIB
|
|
|
|
help
|
|
|
|
osm2pgsql is a tool for loading OpenStreetMap data into a
|
|
|
|
PostgreSQL / PostGIS database suitable for applications like
|
|
|
|
rendering into a map, geocoding with Nominatim,
|
|
|
|
or general analysis.
|
|
|
|
|
|
|
|
https://osm2pgsql.org
|
|
|
|
|
2021-09-05 10:40:45 +02:00
|
|
|
comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
|
2021-08-19 15:12:44 +02:00
|
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
2021-04-28 06:12:15 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
2021-09-05 10:40:45 +02:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
|
2021-08-10 20:22:16 +02:00
|
|
|
|
|
|
|
comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|