kumquat-buildroot/package/flatcc/flatcc.mk
Fabrice Fontaine e51d503bcd package/flatcc: bump to version 0.6.1
Update indentation in hash file (two spaces)

https://github.com/dvidelabs/flatcc/releases/tag/v0.6.1
https://github.com/dvidelabs/flatcc/blob/v0.6.1/CHANGELOG.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-06-25 08:43:12 +02:00

33 lines
1001 B
Makefile

################################################################################
#
# FLATCC
#
################################################################################
FLATCC_VERSION = 0.6.1
FLATCC_SITE = $(call github,dvidelabs,flatcc,v$(FLATCC_VERSION))
FLATCC_LICENSE = Apache-2.0
FLATCC_LICENSE_FILES = LICENSE
FLATCC_INSTALL_STAGING = YES
FLATCC_DEPENDENCIES = host-flatcc
FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
HOST_FLATCC_CONF_OPTS = -DFLATCC_ALLOW_WERROR=OFF
# Disable build of tests and samples
FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
HOST_FLATCC_CONF_OPTS += -DFLATCC_TEST=OFF
# Enable install targets
FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
HOST_FLATCC_CONF_OPTS += -DFLATCC_INSTALL=ON
# compiler is named flatcc or flatcc_d depending on BR2_ENABLE_DEBUG value
define FLATCC_TARGET_REMOVE_FLATCC_COMPILER
rm $(TARGET_DIR)/usr/bin/flatcc*
endef
FLATCC_POST_INSTALL_TARGET_HOOKS += FLATCC_TARGET_REMOVE_FLATCC_COMPILER
$(eval $(cmake-package))
$(eval $(host-cmake-package))