mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
postgresql: enable bfin compile
- overwrite platform support with linux template - disable spinlock support [Thomas: use the --with-template=linux option unconditionally.] Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7ebbf2e5c5
commit
6f177dac73
@ -13,6 +13,11 @@ POSTGRESQL_LICENSE_FILES = COPYRIGHT
|
|||||||
POSTGRESQL_INSTALL_STAGING = YES
|
POSTGRESQL_INSTALL_STAGING = YES
|
||||||
POSTGRESQL_CONFIG_SCRIPTS = pg_config
|
POSTGRESQL_CONFIG_SCRIPTS = pg_config
|
||||||
|
|
||||||
|
# In most cases, postgresql configure script is able to guess the
|
||||||
|
# platform, except for noMMU platforms that use the 'uclinux' host
|
||||||
|
# qualifier, as is the case on Blackfin
|
||||||
|
POSTGRESQL_CONF_OPTS = --with-template=linux
|
||||||
|
|
||||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||||
# overwrite IPV6 detection
|
# overwrite IPV6 detection
|
||||||
ifeq ($(BR2_INET_IPV6),y)
|
ifeq ($(BR2_INET_IPV6),y)
|
||||||
@ -31,7 +36,7 @@ ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|||||||
POSTGRESQL_CONF_OPTS += --disable-thread-safety
|
POSTGRESQL_CONF_OPTS += --disable-thread-safety
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2)$(BR2_xtensa),y)
|
ifeq ($(BR2_bfin)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_nios2)$(BR2_xtensa),y)
|
||||||
POSTGRESQL_CONF_OPTS += --disable-spinlocks
|
POSTGRESQL_CONF_OPTS += --disable-spinlocks
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user