blob: f7c71dfd32f6987718985893774ed6145db5a8e8 [file] [log] [blame]
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00001################################################################################
Simon Dawsonf96a6e22012-10-26 06:32:48 +00002#
3# lcdapi
4#
Alexandre Belloni8dfd59d2013-06-05 23:53:30 +00005################################################################################
Alexandre Belloni70270402013-06-05 23:53:25 +00006
Bernd Kuhlsaa884492017-07-25 22:16:43 +02007LCDAPI_VERSION = v0.11
Simon Dawsonad0d02b2014-01-01 11:11:34 +00008LCDAPI_SITE = $(call github,spdawson,lcdapi,$(LCDAPI_VERSION))
Rahul Bedarkar30a3e8d2017-03-30 19:13:34 +05309LCDAPI_LICENSE = LGPL-2.1+
Simon Dawsonf96a6e22012-10-26 06:32:48 +000010LCDAPI_LICENSE_FILES = COPYING
Thomas Petazzoni4638e2b2014-07-19 11:00:19 +020011LCDAPI_AUTORECONF = YES
Simon Dawsonf96a6e22012-10-26 06:32:48 +000012LCDAPI_INSTALL_STAGING = YES
13
Waldemar Brodkorbd4203222017-02-14 15:08:31 +010014# Internal error, aborting at dw2gencfi.c:214 in emit_expr_encoded
15# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509
16ifeq ($(BR2_m68k_cf),y)
17LCDAPI_CONF_OPTS += CXXFLAGS="$(TARGET_CXXFLAGS) -fno-dwarf2-cfi-asm"
18endif
19
Thomas Petazzoni4638e2b2014-07-19 11:00:19 +020020define LCDAPI_CREATE_M4_DIR
21 mkdir -p $(@D)/m4
Simon Dawsonf96a6e22012-10-26 06:32:48 +000022endef
23
Thomas Petazzoni4638e2b2014-07-19 11:00:19 +020024LCDAPI_POST_PATCH_HOOKS += LCDAPI_CREATE_M4_DIR
Simon Dawsonf96a6e22012-10-26 06:32:48 +000025
Thomas Petazzoni4638e2b2014-07-19 11:00:19 +020026$(eval $(autotools-package))