mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
package/qt5base: install arch-specific configuration
For some architectures, it is necessary to link with additional libraries, such as -latomic for sparc. Add a bit of support to make that easy; actual use will be introduced in the following patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Julien Corjon <corjon.j@ecagroup.com> Cc: Peter Seiderer <ps.report@gmx.net> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c59a2b69e2
commit
a3fd13804f
@ -21,5 +21,8 @@ CONFIG += nostrip
|
|||||||
QMAKE_LIBS += -lrt -lpthread -ldl
|
QMAKE_LIBS += -lrt -lpthread -ldl
|
||||||
QMAKE_CFLAGS_ISYSTEM =
|
QMAKE_CFLAGS_ISYSTEM =
|
||||||
|
|
||||||
|
# Architecturespecific configuration
|
||||||
|
include(arch.conf)
|
||||||
|
|
||||||
include(../common/linux_device_post.conf)
|
include(../common/linux_device_post.conf)
|
||||||
load(qt_config)
|
load(qt_config)
|
||||||
|
@ -214,12 +214,15 @@ define QT5BASE_CONFIGURE_CONFIG_FILE
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf
|
||||||
define QT5BASE_CONFIGURE_CMDS
|
define QT5BASE_CONFIGURE_CMDS
|
||||||
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
|
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qmake.conf \
|
||||||
$(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
|
$(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf
|
||||||
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \
|
$(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \
|
||||||
$(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h
|
$(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h
|
||||||
$(QT5BASE_CONFIGURE_CONFIG_FILE)
|
$(QT5BASE_CONFIGURE_CONFIG_FILE)
|
||||||
|
touch $(QT5BASE_ARCH_CONFIG_FILE)
|
||||||
|
$(QT5BASE_CONFIGURE_ARCH_CONFIG)
|
||||||
(cd $(@D); \
|
(cd $(@D); \
|
||||||
$(TARGET_MAKE_ENV) \
|
$(TARGET_MAKE_ENV) \
|
||||||
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user