]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
add target libflex(2.5.35) needed for unfsd
authorMarkham <markham001@gmx.de>
Sat, 28 Nov 2015 12:29:51 +0000 (13:29 +0100)
committerMarkham <markham001@gmx.de>
Sat, 28 Nov 2015 12:29:51 +0000 (13:29 +0100)
make/archives.mk
make/libraries.mk
make/versions.mk

index 92dc81686042e81d50c3f2ece88405a5181ca758..aaed46f85e9b16c758cf9dde9b5042377340b9fd 100755 (executable)
@@ -205,6 +205,10 @@ $(ARCHIVE)/ntp-$(NTP_VER).tar.gz:
 $(ARCHIVE)/portmap-$(PORTMAP_VER).tgz:
        $(WGET) http://fossies.org/linux/misc/old/portmap-$(PORTMAP_VER).tgz
 
+$(ARCHIVE)/flex-$(FLEX_VER).tar.gz:
+       $(WGET) https://uncwddas.googlecode.com/files/flex-$(FLEX_VER).tar.gz
+
+
 $(ARCHIVE)/crosstool-1.16.0-downloads.tar.bz2:
        $(WGET) http://www.fhloston-paradise.de/crosstool-ng-1.16.0.tar.bz2
        $(WGET) http://www.fhloston-paradise.de/eglibc-2_13.tar.bz2
index a0e142c2074b2c7405ac0075479ea54bfae5ef5d..2472698375da9163717fc12e6c448995ba0c3c49 100755 (executable)
@@ -730,3 +730,15 @@ $(D)/lua: $(D)/libncurses $(ARCHIVE)/lua-$(LUA_VER).tar.gz | $(TARGETPREFIX)
        rm -rf $(TARGETPREFIX)/bin/luac
        $(REMOVE)/lua-$(LUA_VER) $(TARGETPREFIX)/.remove
        touch $@
+
+$(D)/libflex: $(ARCHIVE)/flex-$(FLEX_VER).tar.gz
+       $(UNTAR)/flex-$(FLEX_VER).tar.gz
+       set -e; cd $(BUILD_TMP)/flex-$(FLEX_VER); \
+               echo "ac_cv_func_malloc_0_nonnull=yes" > config.cache; \
+               echo "ac_cv_func_realloc_0_nonnull=yes" >> config.cache; \
+               $(CONFIGURE) -C --host=$(TARGET) --target=$(TARGET) --prefix= --bindir=/.remove --mandir=/.remove --infodir=/.remove --disable-nls; \
+               $(MAKE); \
+               $(MAKE) install DESTDIR=$(TARGETPREFIX)
+       rm -fr $(TARGETPREFIX)/.remove
+       $(REMOVE)/flex-$(FLEX_VER)
+       touch $@
index e0064363079e0371bcc7ef61515c3b4df68e4e5f..599a832df8921f07da414833adf4bece8c2a3e9a 100644 (file)
@@ -11,6 +11,9 @@ E2FSPROGS_VER=1.42.13
 # C library for parsing XML
 EXPAT_VER = 2.1.0
 
+#  FLEX (the fast lexical analyser)
+FLEX_VER=2.5.35
+
 # libjpeg-turbo; a derivative of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression
 JPEG_TURBO_VER = 1.4.2