update buildroot to 2017.02.11
This commit is contained in:
11
bsp/buildroot-2017.02.11/package/flex/0001-prog-ar.patch
Normal file
11
bsp/buildroot-2017.02.11/package/flex/0001-prog-ar.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -rup flex-2.5.33.orig/Makefile.in flex-2.5.33/Makefile.in
|
||||
--- flex-2.5.33.orig/Makefile.in 2007-01-18 17:29:25.000000000 +0100
|
||||
+++ flex-2.5.33/Makefile.in 2007-01-18 18:28:22.000000000 +0100
|
||||
@@ -105,7 +105,6 @@ am__installdirs = "$(DESTDIR)$(libdir)"
|
||||
"$(DESTDIR)$(includedir)"
|
||||
libLIBRARIES_INSTALL = $(INSTALL_DATA)
|
||||
LIBRARIES = $(lib_LIBRARIES)
|
||||
-AR = ar
|
||||
ARFLAGS = cru
|
||||
libfl_a_AR = $(AR) $(ARFLAGS)
|
||||
libfl_a_LIBADD =
|
||||
@@ -0,0 +1,25 @@
|
||||
From a5cbe929ac3255d371e698f62dc256afe7006466 Mon Sep 17 00:00:00 2001
|
||||
From: Will Estes <westes575@gmail.com>
|
||||
Date: Sat, 27 Feb 2016 11:56:05 -0500
|
||||
Subject: [PATCH] Fixed incorrect integer type
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
Status: upstream
|
||||
|
||||
flex.skl | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/flex.skl b/src/flex.skl
|
||||
index 36a526a..64f853d 100644
|
||||
--- a/flex.skl
|
||||
+++ b/flex.skl
|
||||
@@ -1703,7 +1703,7 @@ int yyFlexLexer::yy_get_next_buffer()
|
||||
|
||||
else
|
||||
{
|
||||
- yy_size_t num_to_read =
|
||||
+ int num_to_read =
|
||||
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
|
||||
|
||||
while ( num_to_read <= 0 )
|
||||
8
bsp/buildroot-2017.02.11/package/flex/Config.in
Normal file
8
bsp/buildroot-2017.02.11/package/flex/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_FLEX
|
||||
bool "flex"
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
A fast lexical analyser generator. A tool for generating
|
||||
programs that perform pattern-matching on text.
|
||||
|
||||
http://flex.sourceforge.net/
|
||||
2
bsp/buildroot-2017.02.11/package/flex/flex.hash
Normal file
2
bsp/buildroot-2017.02.11/package/flex/flex.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 bf693433a3effe6b1f42e44abd787491e4e213984b1859545b92267a86088dd3 flex-2.5.37.tar.gz
|
||||
30
bsp/buildroot-2017.02.11/package/flex/flex.mk
Normal file
30
bsp/buildroot-2017.02.11/package/flex/flex.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# flex
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FLEX_VERSION = 2.5.37
|
||||
FLEX_SITE = http://download.sourceforge.net/project/flex
|
||||
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
|
||||
|
||||
define FLEX_DISABLE_PROGRAM
|
||||
$(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
|
||||
endef
|
||||
FLEX_POST_PATCH_HOOKS += FLEX_DISABLE_PROGRAM
|
||||
|
||||
# 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))
|
||||
Reference in New Issue
Block a user