2019-02-04 10:51:12 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# kf5-kcoreaddons
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
KF5_KCOREADDONS_VERSION = $(KF5_VERSION)
|
|
|
|
KF5_KCOREADDONS_SITE = $(KF5_SITE)
|
|
|
|
KF5_KCOREADDONS_SOURCE = kcoreaddons-$(KF5_KCOREADDONS_VERSION).tar.xz
|
|
|
|
KF5_KCOREADDONS_LICENSE = LGPL-2.1
|
|
|
|
KF5_KCOREADDONS_LICENSE_FILES = COPYING.LIB
|
|
|
|
|
|
|
|
KF5_KCOREADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5tools
|
|
|
|
KF5_KCOREADDONS_INSTALL_STAGING = YES
|
|
|
|
|
2019-05-02 18:45:08 +02:00
|
|
|
KF5_KCOREADDONS_CXXFLAGS = $(TARGET_CXXFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
|
|
|
KF5_KCOREADDONS_CXXFLAGS += -latomic
|
|
|
|
endif
|
|
|
|
|
2019-10-01 11:08:32 +02:00
|
|
|
KF5_KCOREADDONS_CONF_OPTS = -DCMAKE_CXX_FLAGS="$(KF5_KCOREADDONS_CXXFLAGS)"
|
|
|
|
|
2019-12-18 17:19:57 +01:00
|
|
|
ifeq ($(BR2_microblaze),y)
|
|
|
|
# Microblaze ld emits warnings, make warnings not to be treated as errors
|
2019-12-22 10:51:19 +01:00
|
|
|
KF5_KCOREADDONS_CONF_OPTS += -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-fatal-warnings"
|
2019-12-18 17:19:57 +01:00
|
|
|
endif
|
|
|
|
|
2019-02-04 10:51:12 +01:00
|
|
|
$(eval $(cmake-package))
|