e9a5f5843d
- 0001 patch removed. It doesn't apply on this version and is also not
necessary since the AR binary is now handled correctly with AR = @AR@.
- 0002 patch removed. It's already included in this release:
a5cbe929ac
- The flex project has moved to GitHub, so modify the URLs in both
flex.mk and Config.in files.
- The sed command over Makefile.in to prevent the flex binary to be
built fails, so remove it. That logic has been moved to
src/Makefile.in, and whenever we disable the flex binary to be built
then the compilation fails when building the documentation because
some bits require "../src/flex", which is the flex binary.
We prevent building the flex binary and the documentation using a new
patch.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
782 B
Makefile
26 lines
782 B
Makefile
################################################################################
|
|
#
|
|
# flex
|
|
#
|
|
################################################################################
|
|
|
|
FLEX_VERSION = 2.6.4
|
|
FLEX_SITE = https://github.com/westes/flex/files/981163
|
|
FLEX_INSTALL_STAGING = YES
|
|
FLEX_LICENSE = FLEX
|
|
FLEX_LICENSE_FILES = COPYING
|
|
FLEX_DEPENDENCIES = \
|
|
$(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
|
|
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
|
|
# we don't have a host-gettext/libintl
|
|
HOST_FLEX_DEPENDENCIES = host-m4
|
|
|
|
# flex++ symlink is broken when flex binary is not installed
|
|
define FLEX_REMOVE_BROKEN_SYMLINK
|
|
rm -f $(TARGET_DIR)/usr/bin/flex++
|
|
endef
|
|
FLEX_POST_INSTALL_TARGET_HOOKS += FLEX_REMOVE_BROKEN_SYMLINK
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|