2020-04-25 21:15:03 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kf5-kconfig
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
KF5_KCONFIG_VERSION = $(KF5_VERSION)
|
|
|
|
KF5_KCONFIG_SITE = $(KF5_SITE)
|
|
|
|
KF5_KCONFIG_SOURCE = kconfig-$(KF5_KCONFIG_VERSION).tar.xz
|
|
|
|
|
2022-05-12 10:46:41 +02:00
|
|
|
KF5_KCONFIG_DEPENDENCIES = \
|
|
|
|
kf5-extra-cmake-modules \
|
|
|
|
qt5tools \
|
|
|
|
$(if $(BR2_PACKAGE_PYTHON3),python3)
|
2020-04-25 21:15:03 +02:00
|
|
|
KF5_KCONFIG_INSTALL_STAGING = YES
|
2022-05-12 10:46:41 +02:00
|
|
|
#KF5_KCONFIG_SUPPORTS_IN_SOURCE_BUILD = NO
|
2020-04-25 21:15:03 +02:00
|
|
|
|
2020-04-29 08:42:42 +02:00
|
|
|
KF5_KCONFIG_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
2022-05-12 10:46:41 +02:00
|
|
|
KF5_KCONFIG_CXXFLAGS += -latomic
|
2020-04-29 08:42:42 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
KF5_KCONFIG_CONF_OPTS = -DCMAKE_CXX_FLAGS="$(KF5_KCONFIG_CXXFLAGS)"
|
|
|
|
|
2020-04-25 21:15:03 +02:00
|
|
|
$(eval $(cmake-package))
|