29d084073b
Version 0.3 of the lcdapi package does not correctly handle CXXFLAGS passed in from the environment/command line. In particular, the passing in of CXXFLAGS clobbers the -fPIC flag which is set in the top-level lcdapi makefile. The following autobuild logs highlight the problem. http://autobuild.buildroot.net/results/9a47b4a70d29308f668d65d983ba6146c0c56365/build-end.log http://autobuild.buildroot.net/results/4a4f6e2e7f80d5a23c9d26069094e9dafb1468e7/build-end.log http://autobuild.buildroot.net/results/0d96c207a9db44cf2791a66cad5162a739e7053a/build-end.log This has been fixed upstream in version 0.4; this patch simply bumps the version number in the Buildroot lcdapi package. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
#############################################################
|
|
#
|
|
# lcdapi
|
|
#
|
|
#############################################################
|
|
LCDAPI_VERSION = v0.4
|
|
LCDAPI_SITE = http://github.com/spdawson/lcdapi/tarball/$(LCDAPI_VERSION)
|
|
LCDAPI_LICENSE = LGPLv2.1+
|
|
LCDAPI_LICENSE_FILES = COPYING
|
|
|
|
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
|
|
endef
|
|
|
|
define LCDAPI_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
DESTDIR="$(TARGET_DIR)" install
|
|
endef
|
|
|
|
define LCDAPI_UNINSTALL_STAGING_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
DESTDIR="$(STAGING_DIR)" uninstall
|
|
endef
|
|
|
|
define LCDAPI_UNINSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
DESTDIR="$(TARGET_DIR)" uninstall
|
|
endef
|
|
|
|
define LCDAPI_CLEAN_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) clean
|
|
endef
|
|
|
|
$(eval $(generic-package))
|