summaryrefslogtreecommitdiffstats
path: root/package/lcdapi/lcdapi.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-19 11:00:19 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-19 11:00:19 +0200
commit4638e2b97f783346c2c9e18f233a35755e49e7dc (patch)
treeb613090db662e19c6993540cd3f5bdd7e17f2aa8 /package/lcdapi/lcdapi.mk
parent07ce78019cdf92f7d6599b1e202ceaea1c526600 (diff)
downloadbuildroot-4638e2b97f783346c2c9e18f233a35755e49e7dc.tar.gz
buildroot-4638e2b97f783346c2c9e18f233a35755e49e7dc.zip
lcdapi: bump version to fix static-only build
The upstream lcdapi has moved over from a basic Makefile to the autotools build system, which has the advantage of fixing static-only build. Therefore, this commit bumps the lcdapi version. Unfortunately, one patch is needed to fix an upstream issue. Fixes: http://autobuild.buildroot.org/results/6fd/6fd65b3fd7d6f439ed14dc38fb28ad3e8e6678b1/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lcdapi/lcdapi.mk')
-rw-r--r--package/lcdapi/lcdapi.mk20
1 files changed, 6 insertions, 14 deletions
diff --git a/package/lcdapi/lcdapi.mk b/package/lcdapi/lcdapi.mk
index d90511d29b..bcf5c4770a 100644
--- a/package/lcdapi/lcdapi.mk
+++ b/package/lcdapi/lcdapi.mk
@@ -4,25 +4,17 @@
#
################################################################################
-LCDAPI_VERSION = v0.4
+LCDAPI_VERSION = dbbdca06f271b8cf81b4817a9da3d558cfe59905
LCDAPI_SITE = $(call github,spdawson,lcdapi,$(LCDAPI_VERSION))
LCDAPI_LICENSE = LGPLv2.1+
LCDAPI_LICENSE_FILES = COPYING
-
+LCDAPI_AUTORECONF = YES
LCDAPI_INSTALL_STAGING = YES
-define LCDAPI_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
-endef
-
-define LCDAPI_INSTALL_STAGING_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
- DESTDIR="$(STAGING_DIR)" install
+define LCDAPI_CREATE_M4_DIR
+ mkdir -p $(@D)/m4
endef
-define LCDAPI_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
- DESTDIR="$(TARGET_DIR)" install
-endef
+LCDAPI_POST_PATCH_HOOKS += LCDAPI_CREATE_M4_DIR
-$(eval $(generic-package))
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud