Compare commits
30 Commits
2014.02-rc
...
2014.02
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6cfaea44e | ||
|
|
132cf723ec | ||
|
|
929f371cb0 | ||
|
|
020047730b | ||
|
|
1ddf44a3ab | ||
|
|
1f5f26be95 | ||
|
|
66a70b62b0 | ||
|
|
5f623e4696 | ||
|
|
e7bc24338a | ||
|
|
a957e1b265 | ||
|
|
de62a1ab61 | ||
|
|
40089283e9 | ||
|
|
d1284c5022 | ||
|
|
29e583388f | ||
|
|
5bdc76ee23 | ||
|
|
179266d292 | ||
|
|
0127a1cc5a | ||
|
|
666addf1bc | ||
|
|
a2842c7136 | ||
|
|
6e048ce0c7 | ||
|
|
e33019aaa0 | ||
|
|
5263aa681a | ||
|
|
bd7b402fb1 | ||
|
|
78c3a32c75 | ||
|
|
88b76e2649 | ||
|
|
3324f4e8b6 | ||
|
|
3b38a1e6bb | ||
|
|
8c5156cce0 | ||
|
|
7e50574965 | ||
|
|
e722f7cc23 |
13
CHANGES
13
CHANGES
@@ -1,3 +1,16 @@
|
||||
2014.02, Released February 27th, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
Updated/fixed packages: cegui06, cppdb, e2fsprogs, gcc, gdb,
|
||||
gst1-plugins-bad, gstreamer, gstreamer1, haserl, imagemagick,
|
||||
libpng, libxml2, lua, luajit, luarock, ncftp, openswan,
|
||||
pcsc-lite, qt5connectivity, ramsmp, strongswan, vlc
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#6938: mkuser script generates wrong password for new user in..
|
||||
|
||||
2014.02-rc3, Released February 25th, 2014
|
||||
|
||||
Minor fixes.
|
||||
|
||||
2
Makefile
2
Makefile
@@ -25,7 +25,7 @@
|
||||
#--------------------------------------------------------------
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION:=2014.02-rc3
|
||||
export BR2_VERSION:=2014.02
|
||||
|
||||
# Check for minimal make version (note: this check will break at make 10.x)
|
||||
MIN_MAKE_VERSION=3.81
|
||||
|
||||
@@ -6,17 +6,17 @@
|
||||
|
||||
<p>
|
||||
|
||||
The latest stable release is <b>2013.11</b>, which can be downloaded
|
||||
The latest stable release is <b>2014.02</b>, which can be downloaded
|
||||
here:<p>
|
||||
|
||||
<a href="/downloads/buildroot-2013.11.tar.gz">buildroot-2013.11.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2013.11.tar.gz.sign">PGP signature</a>)
|
||||
<a href="/downloads/buildroot-2014.02.tar.gz">buildroot-2014.02.tar.gz</a>
|
||||
(<a href="/downloads/buildroot-2014.02.tar.gz.sign">PGP signature</a>)
|
||||
or
|
||||
<a href="/downloads/buildroot-2013.11.tar.bz2">buildroot-2013.11.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2013.11.tar.bz2.sign">PGP signature</a>).
|
||||
<a href="/downloads/buildroot-2014.02.tar.bz2">buildroot-2014.02.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2014.02.tar.bz2.sign">PGP signature</a>).
|
||||
|
||||
<p>
|
||||
|
||||
<!--
|
||||
The latest release candidate is <b>2014.02-rc3</b>, which can be
|
||||
downloaded here:<p>
|
||||
|
||||
@@ -26,7 +26,7 @@ or
|
||||
<a href="/downloads/buildroot-2014.02-rc3.tar.bz2">buildroot-2014.02-rc3.tar.bz2</a>
|
||||
(<a href="/downloads/buildroot-2014.02-rc3.tar.bz2.sign">PGP signature</a>).
|
||||
<p>
|
||||
|
||||
-->
|
||||
This and earlier releases (and their PGP signatures) can always be downloaded from
|
||||
<a href="/downloads/">http://buildroot.net/downloads/</a>.
|
||||
|
||||
|
||||
@@ -5,6 +5,15 @@
|
||||
<p>
|
||||
|
||||
<ul>
|
||||
<li><b>27 February 2014 -- 2014.02 released</b>
|
||||
|
||||
<p>The stable 2014.02 release is out - Thanks to everyone
|
||||
contributing and testing the release candidates. See the
|
||||
<a href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2014.02">CHANGES</a>
|
||||
file for more details,
|
||||
and go to the <a href="/downloads/">downloads page</a> to pick up the
|
||||
<a href="/downloads/buildroot-2014.02.tar.bz2">2014.02 release</a>.</p>
|
||||
|
||||
<li><b>25 February 2014 -- 2014.02-rc3 released</b>
|
||||
|
||||
<p>Release candidate 3 is out with more cleanups and build fixes. See the <a
|
||||
|
||||
@@ -362,7 +362,8 @@ source "package/jimtcl/Config.in"
|
||||
source "package/lua/Config.in"
|
||||
source "package/luainterpreter/Config.in"
|
||||
source "package/luajit/Config.in"
|
||||
if BR2_PACKAGE_HAS_LUA_INTERPRETER
|
||||
if BR2_PACKAGE_HAS_LUA_INTERPRETER && !BR2_PREFER_STATIC_LIB
|
||||
# lua modules are dynamically loaded, so not available on static builds
|
||||
menu "Lua libraries/modules"
|
||||
source "package/cgilua/Config.in"
|
||||
source "package/copas/Config.in"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
comment "cegui06 needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
||||
comment "cegui06 needs a toolchain w/ C++, threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB
|
||||
|
||||
config BR2_PACKAGE_CEGUI06
|
||||
bool "cegui06"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_PCRE
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
config BR2_PACKAGE_CPPDB
|
||||
bool "cppdb"
|
||||
# dlfcn.h
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# Can be built without them but it's useless
|
||||
@@ -11,6 +13,7 @@ config BR2_PACKAGE_CPPDB
|
||||
|
||||
http://cppcms.com/sql/cppdb/
|
||||
|
||||
comment "cppdb needs a toolchain w/ C++, threads"
|
||||
comment "cppdb needs a toolchain w/ C++, threads, dynamic library"
|
||||
depends on BR2_PACKAGE_MYSQL || BR2_PACKAGE_SQLITE
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_PREFER_STATIC_LIB
|
||||
|
||||
@@ -50,7 +50,7 @@ config BR2_PACKAGE_E2FSPROGS_E2UNDO
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
|
||||
bool "e4defrag"
|
||||
depends on !BR2_avr32 # fallocate not implemented
|
||||
depends on !BR2_avr32 && !BR2_nios2 # fallocate not implemented
|
||||
|
||||
config BR2_PACKAGE_E2FSPROGS_FILEFRAG
|
||||
bool "filefrag"
|
||||
|
||||
@@ -25,6 +25,10 @@ E2FSPROGS_CONF_OPT = \
|
||||
--disable-e2initrd-helper \
|
||||
--disable-testio-debug
|
||||
|
||||
ifeq ($(BR2_nios2),y)
|
||||
E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no
|
||||
endif
|
||||
|
||||
E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux
|
||||
|
||||
E2FSPROGS_MAKE_OPT = \
|
||||
|
||||
@@ -15,7 +15,7 @@ HOST_GCC_FINAL_DEPENDENCIES = \
|
||||
HOST_GCC_FINAL_EXTRACT_CMDS = $(HOST_GCC_EXTRACT_CMDS)
|
||||
|
||||
ifneq ($(call qstrip, $(BR2_XTENSA_CORE_NAME)),)
|
||||
HOST_GCC_FINAL_POST_EXTRACT_CMDS += HOST_GCC_FINAL_XTENSA_OVERLAY_EXTRACT
|
||||
HOST_GCC_FINAL_POST_EXTRACT_HOOKS += HOST_GCC_XTENSA_OVERLAY_EXTRACT
|
||||
endif
|
||||
|
||||
HOST_GCC_FINAL_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES
|
||||
|
||||
@@ -13,7 +13,7 @@ HOST_GCC_INITIAL_DEPENDENCIES = $(HOST_GCC_COMMON_DEPENDENCIES)
|
||||
HOST_GCC_INITIAL_EXTRACT_CMDS = $(HOST_GCC_EXTRACT_CMDS)
|
||||
|
||||
ifneq ($(call qstrip, $(BR2_XTENSA_CORE_NAME)),)
|
||||
HOST_GCC_INITIAL_POST_EXTRACT_CMDS += HOST_GCC_XTENSA_OVERLAY_EXTRACT
|
||||
HOST_GCC_INITIAL_POST_EXTRACT_HOOKS += HOST_GCC_XTENSA_OVERLAY_EXTRACT
|
||||
endif
|
||||
|
||||
HOST_GCC_INITIAL_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES
|
||||
|
||||
@@ -15,7 +15,7 @@ HOST_GCC_INTERMEDIATE_DEPENDENCIES = \
|
||||
HOST_GCC_INTERMEDIATE_EXTRACT_CMDS = $(HOST_GCC_EXTRACT_CMDS)
|
||||
|
||||
ifneq ($(call qstrip, $(BR2_XTENSA_CORE_NAME)),)
|
||||
HOST_GCC_INTERMEDIATE_POST_EXTRACT_CMDS += HOST_GCC_XTENSA_OVERLAY_EXTRACT
|
||||
HOST_GCC_INTERMEDIATE_POST_EXTRACT_HOOKS += HOST_GCC_XTENSA_OVERLAY_EXTRACT
|
||||
endif
|
||||
|
||||
HOST_GCC_INTERMEDIATE_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES
|
||||
|
||||
@@ -51,7 +51,7 @@ config BR2_GDB_VERSION
|
||||
(!BR2_PACKAGE_HOST_GDB && BR2_bfin)
|
||||
default "6.7.1-avr32-2.1.5" if BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 || \
|
||||
(!BR2_PACKAGE_HOST_GDB && BR2_avr32)
|
||||
default "7.4.1" if BR2_GDB_VERSION_7_4
|
||||
default "7.5.1" if BR2_GDB_VERSION_7_5 || !BR2_PACKAGE_HOST_GDB
|
||||
default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc
|
||||
default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
|
||||
default "7.4.1" if BR2_GDB_VERSION_7_4
|
||||
default "7.5.1" if BR2_GDB_VERSION_7_5 || !BR2_PACKAGE_HOST_GDB
|
||||
|
||||
@@ -12,7 +12,7 @@ GSTREAMER_INSTALL_STAGING = YES
|
||||
# Checking if unaligned memory access works correctly cannot be done when cross
|
||||
# compiling. For the following architectures there is no information available
|
||||
# in the configure script.
|
||||
ifeq ($(BR2_avr32)$(BR2_xtensa),y)
|
||||
ifeq ($(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze),y)
|
||||
GSTREAMER_CONF_ENV = as_cv_unaligned_access=no
|
||||
endif
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
|
||||
@@ -418,6 +418,16 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
|
||||
bool "opencv"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
select BR2_PACKAGE_OPENCV
|
||||
# Remove the following opencv modules when gstreamer fixes the
|
||||
# problem of including the old "cv.h" header
|
||||
# bug: https://bugzilla.gnome.org/show_bug.cgi?id=725163
|
||||
select BR2_PACKAGE_OPENCV_LIB_CALIB3D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FEATURES2D
|
||||
select BR2_PACKAGE_OPENCV_LIB_FLANN
|
||||
select BR2_PACKAGE_OPENCV_LIB_IMGPROC
|
||||
select BR2_PACKAGE_OPENCV_LIB_LEGACY
|
||||
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT
|
||||
select BR2_PACKAGE_OPENCV_LIB_VIDEO
|
||||
help
|
||||
GStreamer OpenCV Plugins
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ GSTREAMER1_LICENSE = LGPLv2+ LGPLv2.1+
|
||||
# Checking if unaligned memory access works correctly cannot be done when cross
|
||||
# compiling. For the following architectures there is no information available
|
||||
# in the configure script.
|
||||
ifeq ($(BR2_avr32)$(BR2_xtensa),y)
|
||||
ifeq ($(BR2_avr32)$(BR2_xtensa)$(BR2_microblaze),y)
|
||||
GSTREAMER1_CONF_ENV = as_cv_unaligned_access=no
|
||||
endif
|
||||
ifeq ($(BR2_aarch64),y)
|
||||
|
||||
@@ -25,6 +25,7 @@ choice
|
||||
|
||||
config BR2_PACKAGE_HASERL_VERSION_0_8_X
|
||||
bool "v 0.8.x"
|
||||
depends on BR2_DEPRECATED_SINCE_2014_02
|
||||
help
|
||||
stable version
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
IMAGEMAGICK_CONF_OPT += --with-bzlib
|
||||
IMAGEMAGICK_DEPENDENCIES += bzip2
|
||||
else
|
||||
IMAGEMAGICK_CONF_OPT += --without-bzip2
|
||||
IMAGEMAGICK_CONF_OPT += --without-bzlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
LIBPNG_VERSION = 1.6.8
|
||||
LIBPNG_SERIES = 16
|
||||
LIBPNG_SOURCE = libpng-$(LIBPNG_VERSION).tar.xz
|
||||
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/$(LIBPNG_VERSION)
|
||||
LIBPNG_SITE = http://downloads.sourceforge.net/project/libpng/libpng${LIBPNG_SERIES}/older-releases/$(LIBPNG_VERSION)
|
||||
LIBPNG_LICENSE = libpng license
|
||||
LIBPNG_LICENSE_FILES = LICENSE
|
||||
LIBPNG_INSTALL_STAGING = YES
|
||||
|
||||
@@ -16,15 +16,17 @@ ifneq ($(BR2_LARGEFILE),y)
|
||||
LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
|
||||
endif
|
||||
|
||||
LIBXML2_CONF_OPT = --with-gnu-ld --without-python --without-debug
|
||||
LIBXML2_CONF_OPT = --with-gnu-ld --without-python --without-debug --without-lzma
|
||||
|
||||
HOST_LIBXML2_DEPENDENCIES = host-pkgconf
|
||||
|
||||
HOST_LIBXML2_CONF_OPT = --without-zlib --without-lzma
|
||||
|
||||
# mesa3d uses functions that are only available with debug
|
||||
ifeq ($(BR2_PACKAGE_MESA3D),y)
|
||||
HOST_LIBXML2_CONF_OPT = --with-debug
|
||||
HOST_LIBXML2_CONF_OPT += --with-debug
|
||||
else
|
||||
HOST_LIBXML2_CONF_OPT = --without-debug
|
||||
HOST_LIBXML2_CONF_OPT += --without-debug
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_LIBXML2_PYTHON),y)
|
||||
|
||||
@@ -1,8 +1,31 @@
|
||||
Add the compilation of a shared library.
|
||||
Compile the lua binary with the shared library.
|
||||
And install the shared library.
|
||||
The variable BUILDMODE allows to switch between static and dynamic mode.
|
||||
|
||||
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -44,6 +44,7 @@
|
||||
TO_BIN= lua luac
|
||||
TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
|
||||
TO_LIB= liblua.a
|
||||
+TO_SOLIB = liblua.so.$(R)
|
||||
TO_MAN= lua.1 luac.1
|
||||
|
||||
# Lua version and release.
|
||||
@@ -61,6 +62,8 @@
|
||||
install: dummy
|
||||
cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
|
||||
cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
|
||||
+ test -f src/$(TO_SOLIB) && cd src && $(INSTALL_EXEC) $(TO_SOLIB) $(INSTALL_LIB) || :
|
||||
+ test -f src/$(TO_SOLIB) && ln -sf $(TO_SOLIB) $(INSTALL_LIB)/liblua.so || :
|
||||
cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
|
||||
cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
|
||||
cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
|
||||
Index: b/src/Makefile
|
||||
===================================================================
|
||||
--- a/src/Makefile
|
||||
@@ -15,18 +38,21 @@ Index: b/src/Makefile
|
||||
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
|
||||
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
|
||||
lundump.o lvm.o lzio.o
|
||||
@@ -36,8 +37,9 @@
|
||||
@@ -36,8 +37,13 @@
|
||||
LUAC_O= luac.o print.o
|
||||
|
||||
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ifneq (dynamic,$(BUILDMODE))
|
||||
ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+else
|
||||
+ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T)
|
||||
+endif
|
||||
ALL_A= $(LUA_A)
|
||||
+ALL_SO= $(LUA_SO)
|
||||
|
||||
default: $(PLAT)
|
||||
|
||||
@@ -47,12 +49,18 @@
|
||||
@@ -47,12 +53,23 @@
|
||||
|
||||
a: $(ALL_A)
|
||||
|
||||
@@ -36,14 +62,17 @@ Index: b/src/Makefile
|
||||
$(AR) $@ $(CORE_O) $(LIB_O) # DLL needs all object files
|
||||
$(RANLIB) $@
|
||||
|
||||
-$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
- $(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
|
||||
+ ln -fs $@.$(PKG_VERSION) $@
|
||||
+
|
||||
+ifneq (dynamic,$(BUILDMODE))
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
+else
|
||||
+$(LUA_T): $(LUA_O) $(LUA_SO)
|
||||
+ $(CC) -o $@ -L. $(MYLDFLAGS) $(LUA_O) -llua $(LIBS)
|
||||
+endif
|
||||
|
||||
$(LUAC_T): $(LUAC_O) $(LUA_A)
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
|
||||
|
||||
@@ -1,8 +1,31 @@
|
||||
Add the compilation of a shared library.
|
||||
Compile the lua binary with the shared library.
|
||||
And install the shared library.
|
||||
The variable BUILDMODE allows to switch between static and dynamic mode.
|
||||
|
||||
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
||||
|
||||
Index: b/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -42,6 +42,7 @@
|
||||
TO_BIN= lua luac
|
||||
TO_INC= lua.h luaconf.h lualib.h lauxlib.h lua.hpp
|
||||
TO_LIB= liblua.a
|
||||
+TO_SOLIB = liblua.so.$(R)
|
||||
TO_MAN= lua.1 luac.1
|
||||
|
||||
# Lua version and release.
|
||||
@@ -60,6 +61,8 @@
|
||||
install: dummy
|
||||
cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD)
|
||||
cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
|
||||
+ test -f src/$(TO_SOLIB) && cd src && $(INSTALL_EXEC) $(TO_SOLIB) $(INSTALL_LIB) || :
|
||||
+ test -f src/$(TO_SOLIB) && ln -sf $(TO_SOLIB) $(INSTALL_LIB)/liblua.so || :
|
||||
cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
|
||||
cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
|
||||
cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
|
||||
Index: b/src/Makefile
|
||||
===================================================================
|
||||
--- a/src/Makefile
|
||||
@@ -15,18 +38,21 @@ Index: b/src/Makefile
|
||||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
||||
lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \
|
||||
ltm.o lundump.o lvm.o lzio.o
|
||||
@@ -43,8 +44,9 @@
|
||||
@@ -43,8 +44,13 @@
|
||||
LUAC_O= luac.o
|
||||
|
||||
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ifneq (dynamic,$(BUILDMODE))
|
||||
ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+else
|
||||
+ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T)
|
||||
+endif
|
||||
ALL_A= $(LUA_A)
|
||||
+ALL_SO= $(LUA_SO)
|
||||
|
||||
# Targets start here.
|
||||
default: $(PLAT)
|
||||
@@ -55,12 +57,18 @@
|
||||
@@ -55,12 +61,23 @@
|
||||
|
||||
a: $(ALL_A)
|
||||
|
||||
@@ -36,14 +62,17 @@ Index: b/src/Makefile
|
||||
$(AR) $@ $(BASE_O)
|
||||
$(RANLIB) $@
|
||||
|
||||
-$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
- $(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -o $@.$(PKG_VERSION) -shared -Wl,-soname="$@.$(PKG_VERSION)" $?
|
||||
+ ln -fs $@.$(PKG_VERSION) $@
|
||||
+
|
||||
+ifneq (dynamic,$(BUILDMODE))
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
+else
|
||||
+$(LUA_T): $(LUA_O) $(LUA_SO)
|
||||
+ $(CC) -o $@ -L. $(LDFLAGS) $(LUA_O) -llua $(LIBS)
|
||||
+endif
|
||||
|
||||
$(LUAC_T): $(LUAC_O) $(LUA_A)
|
||||
$(CC) -o $@ $(LDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS)
|
||||
|
||||
@@ -14,8 +14,7 @@ LUA_INSTALL_STAGING = YES
|
||||
LUA_LICENSE = MIT
|
||||
LUA_LICENSE_FILES = COPYRIGHT
|
||||
|
||||
LUA_CFLAGS = -Wall -fPIC
|
||||
LUA_MYLIBS += -ldl
|
||||
LUA_CFLAGS = -Wall -fPIC -DLUA_USE_POSIX
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_5_2),y)
|
||||
LUA_CFLAGS += -DLUA_COMPAT_ALL
|
||||
@@ -24,17 +23,23 @@ LUA_CFLAGS += -D_FILE_OFFSET_BITS=32
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
||||
LUA_BUILDMODE = static
|
||||
else
|
||||
LUA_BUILDMODE = dynamic
|
||||
LUA_CFLAGS += -DLUA_USE_DLOPEN
|
||||
LUA_MYLIBS += -ldl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)
|
||||
LUA_DEPENDENCIES = readline ncurses
|
||||
LUA_MYLIBS += -lreadline -lhistory -lncurses
|
||||
LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE
|
||||
LUA_CFLAGS += -DLUA_USE_READLINE
|
||||
else
|
||||
ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_LINENOISE),y)
|
||||
LUA_DEPENDENCIES = linenoise
|
||||
LUA_MYLIBS += -llinenoise
|
||||
LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_LINENOISE
|
||||
else
|
||||
LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN
|
||||
LUA_CFLAGS += -DLUA_USE_LINENOISE
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -53,6 +58,7 @@ define LUA_BUILD_CMDS
|
||||
CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \
|
||||
MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \
|
||||
BUILDMODE=$(LUA_BUILDMODE) \
|
||||
PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
|
||||
endef
|
||||
|
||||
@@ -61,59 +67,25 @@ define HOST_LUA_BUILD_CMDS
|
||||
CFLAGS="$(HOST_LUA_CFLAGS)" \
|
||||
MYLDFLAGS="$(HOST_LDFLAGS)" \
|
||||
MYLIBS="$(HOST_LUA_MYLIBS)" \
|
||||
BUILDMODE=static \
|
||||
PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all
|
||||
endef
|
||||
|
||||
define LUA_INSTALL_STAGING_CMDS
|
||||
$(MAKE) INSTALL_TOP="$(STAGING_DIR)/usr" -C $(@D) install
|
||||
$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
|
||||
$(STAGING_DIR)/usr/lib/pkgconfig/lua.pc
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/lua $(STAGING_DIR)/usr/bin/lua
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/luac $(STAGING_DIR)/usr/bin/luac
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/liblua.so.$(LUA_VERSION) \
|
||||
$(STAGING_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
|
||||
ln -sf liblua.so.$(LUA_VERSION) $(STAGING_DIR)/usr/lib/liblua.so
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/liblua.a $(STAGING_DIR)/usr/lib/liblua.a
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/lua.h $(STAGING_DIR)/usr/include/lua.h
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/luaconf.h $(STAGING_DIR)/usr/include/luaconf.h
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/lualib.h $(STAGING_DIR)/usr/include/lualib.h
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/lauxlib.h $(STAGING_DIR)/usr/include/lauxlib.h
|
||||
endef
|
||||
|
||||
define LUA_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/lua $(TARGET_DIR)/usr/bin/lua
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/luac $(TARGET_DIR)/usr/bin/luac
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/liblua.so.$(LUA_VERSION) \
|
||||
$(TARGET_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
|
||||
ln -sf liblua.so.$(LUA_VERSION) $(TARGET_DIR)/usr/lib/liblua.so
|
||||
mkdir -p $(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)
|
||||
mkdir -p $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)
|
||||
$(MAKE) INSTALL_TOP="$(TARGET_DIR)/usr" -C $(@D) install
|
||||
endef
|
||||
|
||||
define HOST_LUA_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/lua $(HOST_DIR)/usr/bin/lua
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/luac $(HOST_DIR)/usr/bin/luac
|
||||
$(INSTALL) -m 0755 -D $(@D)/src/liblua.so.$(LUA_VERSION) \
|
||||
$(HOST_DIR)/usr/lib/liblua.so.$(LUA_VERSION)
|
||||
ln -sf liblua.so.$(LUA_VERSION) $(HOST_DIR)/usr/lib/liblua.so
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/liblua.a $(HOST_DIR)/usr/lib/liblua.a
|
||||
$(MAKE) INSTALL_TOP="$(HOST_DIR)/usr" -C $(@D) install
|
||||
$(INSTALL) -m 0644 -D $(@D)/etc/lua.pc \
|
||||
$(HOST_DIR)/usr/lib/pkgconfig/lua.pc
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/lua.h $(HOST_DIR)/usr/include/lua.h
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/luaconf.h $(HOST_DIR)/usr/include/luaconf.h
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/lualib.h $(HOST_DIR)/usr/include/lualib.h
|
||||
$(INSTALL) -m 0644 -D $(@D)/src/lauxlib.h $(HOST_DIR)/usr/include/lauxlib.h
|
||||
endef
|
||||
|
||||
LUA_INSTALLED_FILES = \
|
||||
/usr/include/lua.h \
|
||||
/usr/include/luaconf.h \
|
||||
/usr/include/lualib.h \
|
||||
/usr/include/lauxlib.h \
|
||||
/usr/lib/pkgconfig/lua.pc \
|
||||
/usr/bin/lua \
|
||||
/usr/bin/luac \
|
||||
/usr/lib/liblua.a \
|
||||
/usr/lib/liblua.so*
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
|
||||
@@ -48,11 +48,11 @@ define LUAJIT_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define LUAJIT_INSTALL_STAGING_CMDS
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" -C $(@D) install
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" LDCONFIG=true -C $(@D) install
|
||||
endef
|
||||
|
||||
define LUAJIT_INSTALL_TARGET_CMDS
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" -C $(@D) install
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
@@ -37,6 +37,7 @@ define HOST_LUAROCKS_INSTALL_CMDS
|
||||
echo "external_deps_dirs = { [[$(STAGING_DIR)/usr]] }" >> $(LUAROCKS_CONFIG_FILE)
|
||||
echo "gcc_rpath = false" >> $(LUAROCKS_CONFIG_FILE)
|
||||
echo "rocks_trees = { [[$(TARGET_DIR)/usr]] }" >> $(LUAROCKS_CONFIG_FILE)
|
||||
echo "wrap_bin_scripts = false" >> $(LUAROCKS_CONFIG_FILE)
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
|
||||
@@ -13,10 +13,13 @@ NCFTP_LICENSE_FILES = doc/LICENSE.txt
|
||||
|
||||
NCFTP_DEPENDENCIES = host-autoconf
|
||||
|
||||
# The bundled configure script is generated by autoconf 2.13 and doesn't
|
||||
# detect cross-compilation correctly. Therefore, we have to regenerate it.
|
||||
# We need to pass -I because of the non-standard m4 directory name, and
|
||||
# none of the other autotools are used, so the below is the easiest.
|
||||
define NCFTP_RUN_AUTOCONF
|
||||
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf -I$(@D)/autoconf_local/)
|
||||
endef
|
||||
|
||||
NCFTP_PRE_CONFIGURE_HOOKS += NCFTP_RUN_AUTOCONF
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCFTP_GET),y)
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
Kill -Wno-error=cpp, old(ish) gcc versions (< 4.4) don't like it and we still
|
||||
got 4.3.x available for internal toolchains.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura openswan-2.6.39.orig/lib/libopenswan/Makefile openswan-2.6.39/lib/libopenswan/Makefile
|
||||
--- openswan-2.6.39.orig/lib/libopenswan/Makefile 2013-06-11 07:22:50.228520267 -0300
|
||||
+++ openswan-2.6.39/lib/libopenswan/Makefile 2013-06-11 07:27:40.087849447 -0300
|
||||
@@ -86,7 +86,7 @@
|
||||
CFLAGS+= -Wno-error=cast-qual
|
||||
|
||||
# some junk left in alg_info.c
|
||||
-CFLAGS+= -Wno-error=cpp
|
||||
+#CFLAGS+= -Wno-error=cpp
|
||||
|
||||
#CFLAGS+= -Wmissing-declarations
|
||||
CFLAGS+= -Wstrict-prototypes
|
||||
diff -Nura openswan-2.6.39.orig/programs/pluto/Makefile openswan-2.6.39/programs/pluto/Makefile
|
||||
--- openswan-2.6.39.orig/programs/pluto/Makefile 2013-06-11 07:22:49.753504978 -0300
|
||||
+++ openswan-2.6.39/programs/pluto/Makefile 2013-06-11 07:27:53.020265681 -0300
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
# must turn this off due to myid.c
|
||||
CFLAGS+= -Wno-error=cast-qual
|
||||
-CFLAGS+= -Wno-error=cpp
|
||||
+#CFLAGS+= -Wno-error=cpp
|
||||
|
||||
ifeq ($(HAVE_BROKEN_POPEN),true)
|
||||
CFLAGS+=-DHAVE_BROKEN_POPEN
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENSWAN_VERSION = 2.6.39
|
||||
OPENSWAN_VERSION = 2.6.40
|
||||
OPENSWAN_SITE = http://download.openswan.org/openswan
|
||||
OPENSWAN_LICENSE = GPLv2+, BSD-3c
|
||||
OPENSWAN_LICENSE_FILES = COPYING LICENSE
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
configure.ac: explicitly add pthread cflags/libs in the libusb test
|
||||
|
||||
If libusb-config does not exist, LIBUSB_CFLAGS and PTHREAD_CFLAGS will be
|
||||
empty, and the test for libusb will be performed without additional flags.
|
||||
However, when libusb needs threads, some extra flags are needed (depending
|
||||
on the platform), like -pthreads, -lpthread, etc. Without these flags, the
|
||||
test for libusb_init() will fail to link correctly, and pcsc-lite will fail
|
||||
detecting libusb.
|
||||
|
||||
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
|
||||
|
||||
Upstream-status: will be submitted
|
||||
|
||||
---
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -254,8 +254,8 @@ if test "x$use_libusb" != xno ; then
|
||||
saved_CPPFLAGS="$CPPFLAGS"
|
||||
saved_LIBS="$LIBS"
|
||||
|
||||
- CPPFLAGS="$CPPFLAGS $LIBUSB_CFLAGS"
|
||||
- LIBS="$LDFLAGS $LIBUSB_LIBS"
|
||||
+ CPPFLAGS="$CPPFLAGS $LIBUSB_CFLAGS $PTHREAD_CFLAGS"
|
||||
+ LIBS="$LDFLAGS $LIBUSB_LIBS $PTHREAD_LIBS"
|
||||
|
||||
AC_CHECK_HEADERS(libusb.h, [],
|
||||
[ AC_MSG_ERROR([libusb.h not found, use ./configure LIBUSB_CFLAGS=...]) ])
|
||||
@@ -11,6 +11,7 @@ PCSC_LITE_INSTALL_STAGING = YES
|
||||
PCSC_LITE_DEPENDENCIES = host-pkgconf
|
||||
PCSC_LITE_LICENSE = BSD-3c
|
||||
PCSC_LITE_LICENSE_FILES = COPYING
|
||||
PCSC_LITE_AUTORECONF = YES
|
||||
|
||||
# - libudev and libusb are optional
|
||||
# - libudev and libusb can't be used together
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
qt5connectivity: Don't build scanner example without QtQuick
|
||||
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
||||
|
||||
From 1454664752505f5870e4173d15362bfdfe4148e7 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Blasche <alexander.blasche@digia.com>
|
||||
Date: Wed, 15 Jan 2014 12:11:31 +0100
|
||||
Subject: [PATCH] Don't build scanner example without QtQuick
|
||||
|
||||
Task-number: QTBUG-35711
|
||||
Change-Id: I0406fb5edd8fb2a90046308853485eaaa4311a26
|
||||
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|
||||
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
|
||||
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
||||
---
|
||||
examples/bluetooth/bluetooth.pro | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/examples/bluetooth/bluetooth.pro b/examples/bluetooth/bluetooth.pro
|
||||
index e3ef769..549bb7c 100644
|
||||
--- a/examples/bluetooth/bluetooth.pro
|
||||
+++ b/examples/bluetooth/bluetooth.pro
|
||||
@@ -6,4 +6,4 @@ qtHaveModule(widgets) {
|
||||
bttennis
|
||||
}
|
||||
|
||||
-SUBDIRS += scanner
|
||||
+qtHaveModule(quick): SUBDIRS += scanner
|
||||
--
|
||||
1.7.1
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
config BR2_PACKAGE_RAMSMP
|
||||
bool "ramspeed/smp"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
RAMspeed/SMP is a free open source command line utility
|
||||
to measure cache and memory performance of multiprocessor machines.
|
||||
|
||||
@@ -50,11 +50,15 @@ comment "client needs a toolchain w/ threads, C++"
|
||||
config BR2_PACKAGE_SPICE_GUI
|
||||
bool "Enable GUI"
|
||||
depends on BR2_PACKAGE_SPICE_CLIENT
|
||||
depends on !BR2_PREFER_STATIC_LIB
|
||||
select BR2_PACKAGE_CEGUI06
|
||||
help
|
||||
Say 'y' here to enable the Graphical User Interface (GUI)
|
||||
start dialog.
|
||||
|
||||
comment "gui needs a toolchain w/ dynamic library"
|
||||
depends on BR2_PREFER_STATIC_LIB
|
||||
|
||||
config BR2_PACKAGE_SPICE_TUNNEL
|
||||
bool "Enable network redirection"
|
||||
select BR2_PACKAGE_SLIRP
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
comment "strongswan needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
menuconfig BR2_PACKAGE_STRONGSWAN
|
||||
bool "strongswan"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
strongSwan is an OpenSource IPsec implementation for the
|
||||
Linux operating system. It is based on the discontinued
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
if BR2_PACKAGE_VLC
|
||||
comment "vlc is known not to work in all configurations"
|
||||
comment "If you can fix it, please inform buildroot@buildroot.net"
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_VLC
|
||||
bool "vlc"
|
||||
depends on (BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC) # spawn.h
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_LARGEFILE
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -11,5 +17,5 @@ config BR2_PACKAGE_VLC
|
||||
|
||||
http://www.videolan.org/vlc/
|
||||
|
||||
comment "vlc needs a uclibc snapshot or (e)glibc toolchain w/ largefile, wchar, threads"
|
||||
depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC) || !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
comment "vlc needs a uclibc snapshot or (e)glibc toolchain w/ C++, largefile, wchar, threads"
|
||||
depends on !(BR2_UCLIBC_VERSION_SNAPSHOT || BR2_TOOLCHAIN_USES_GLIBC) || !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
automake: add subdir-objects option
|
||||
|
||||
Our version of automake warns if this option is enabled and source files
|
||||
in subdirectories are used.
|
||||
|
||||
It doesn't really seems to have a noticable effect on the build, but it
|
||||
does remove a lot of annoying warnings.
|
||||
|
||||
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
|
||||
|
||||
diff -Nrup vlc-2.1.2.orig/configure.ac vlc-2.1.2/configure.ac
|
||||
--- vlc-2.1.2.orig/configure.ac 2014-02-27 00:22:19.512944952 +0100
|
||||
+++ vlc-2.1.2/configure.ac 2014-02-27 00:24:21.360940651 +0100
|
||||
@@ -24,7 +24,7 @@ AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
AC_PRESERVE_HELP_ORDER
|
||||
|
||||
-AM_INIT_AUTOMAKE(tar-ustar color-tests foreign)
|
||||
+AM_INIT_AUTOMAKE(tar-ustar color-tests foreign subdir-objects)
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
# Disable with "./configure --disable-silent-rules" or "make V=1"
|
||||
@@ -14,25 +14,30 @@ VLC_AUTORECONF = YES
|
||||
|
||||
VLC_CONF_OPT += \
|
||||
--disable-a52 \
|
||||
--disable-shout \
|
||||
--disable-twolame \
|
||||
--disable-dca \
|
||||
--disable-dirac \
|
||||
--disable-schroedinger \
|
||||
--disable-quicksync \
|
||||
--disable-fluidsynth \
|
||||
--without-shout \
|
||||
--without-twolame \
|
||||
--without-dca \
|
||||
--without-dirac \
|
||||
--without-schroedinger \
|
||||
--without-quicksync \
|
||||
--without-fluidsynth \
|
||||
--disable-zvbi \
|
||||
--disable-kate \
|
||||
--disable-caca \
|
||||
--without-kate \
|
||||
--without-caca \
|
||||
--disable-jack \
|
||||
--disable-samplerate \
|
||||
--disable-chromaprint \
|
||||
--disable-goom \
|
||||
--without-samplerate \
|
||||
--without-chromaprint \
|
||||
--without-goom \
|
||||
--disable-projectm \
|
||||
--disable-vsxu \
|
||||
--disable-mtp \
|
||||
--without-mtp \
|
||||
--without-opencv
|
||||
|
||||
# Building static and shared doesn't work, so force static off.
|
||||
ifeq ($(BR2_PREFER_STATIC_LIB),)
|
||||
VLC_CONF_OPT += --disable-static
|
||||
endif
|
||||
|
||||
# Set powerpc altivec appropriately
|
||||
ifeq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),y)
|
||||
VCL_CONF_OPT += --enable-altivec
|
||||
@@ -49,10 +54,10 @@ endif
|
||||
|
||||
# bonjour support needs avahi-client, which needs avahi-daemon and dbus
|
||||
ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy)
|
||||
VLC_CONF_OPT += --enable-bonjour
|
||||
VLC_CONF_OPT += --with-bonjour
|
||||
VLC_DEPENDENCIES += avahi dbus
|
||||
else
|
||||
VLC_CONF_OPT += --disable-bonjour
|
||||
VLC_CONF_OPT += --without-bonjour
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
@@ -96,10 +101,10 @@ VLC_CONF_OPT += --disable-swscale
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FLAC),y)
|
||||
VLC_CONF_OPT += --enable-flac
|
||||
VLC_CONF_OPT += --with-flac
|
||||
VLC_DEPENDENCIES += flac
|
||||
else
|
||||
VLC_CONF_OPT += --disable-flac
|
||||
VLC_CONF_OPT += --without-flac
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MESA3D),y)
|
||||
@@ -110,10 +115,10 @@ VLC_CONF_OPT += --disable-glx
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||
VLC_CONF_OPT += --enable-opus
|
||||
VLC_CONF_OPT += --with-opus
|
||||
VLC_DEPENDENCIES += opus
|
||||
else
|
||||
VLC_CONF_OPT += --disable-opus
|
||||
VLC_CONF_OPT += --without-opus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBASS),y)
|
||||
@@ -147,10 +152,10 @@ VLC_CONF_OPT += --disable-mod
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMPEG2),y)
|
||||
VLC_CONF_OPT += --enable-libmpeg2
|
||||
VLC_CONF_OPT += --with-libmpeg2
|
||||
VLC_DEPENDENCIES += libmpeg2
|
||||
else
|
||||
VLC_CONF_OPT += --disable-libmpeg2
|
||||
VLC_CONF_OPT += --without-libmpeg2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
@@ -161,31 +166,31 @@ VLC_CONF_OPT += --disable-png
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBRSVG),y)
|
||||
VLC_CONF_OPT += --enable-svg
|
||||
VLC_CONF_OPT += --with-svg
|
||||
VLC_DEPENDENCIES += librsvg
|
||||
else
|
||||
VLC_CONF_OPT += --disable-svg
|
||||
VLC_CONF_OPT += --without-svg
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTHEORA),y)
|
||||
VLC_CONF_OPT += --enable-theora
|
||||
VLC_CONF_OPT += --with-theora
|
||||
VLC_DEPENDENCIES += libtheora
|
||||
else
|
||||
VLC_CONF_OPT += --disable-theora
|
||||
VLC_CONF_OPT += --without-theora
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBUPNP),y)
|
||||
VLC_CONF_OPT += --enable-upnp
|
||||
VLC_CONF_OPT += --with-upnp
|
||||
VLC_DEPENDENCIES += libupnp
|
||||
else
|
||||
VLC_CONF_OPT += --disable-upnp
|
||||
VLC_CONF_OPT += --without-upnp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
||||
VLC_CONF_OPT += --enable-vorbis
|
||||
VLC_CONF_OPT += --with-vorbis
|
||||
VLC_DEPENDENCIES += libvorbis
|
||||
else
|
||||
VLC_CONF_OPT += --disable-vorbis
|
||||
VLC_CONF_OPT += --without-vorbis
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBV4L),y)
|
||||
@@ -203,13 +208,15 @@ VLC_CONF_OPT += --disable-xcb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXML2),y)
|
||||
VLC_CONF_OPT += --enable-libxml2
|
||||
VLC_CONF_OPT += --with-libxml2
|
||||
VLC_DEPENDENCIES += libxml2
|
||||
else
|
||||
VLC_CONF_OPT += --disable-libxml2
|
||||
VLC_CONF_OPT += --without-libxml2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIVE555),y)
|
||||
# live555 installs a static library only, and vlc tries to link it into a
|
||||
# shared library - which doesn't work. So only enable live555 if static.
|
||||
ifeq ($(BR2_PACKAGE_LIVE555)$(BR2_PREFER_STATIC_LIB),yy)
|
||||
VLC_CONF_OPT += --enable-live555
|
||||
VLC_DEPENDENCIES += live555
|
||||
VLC_CONF_ENV += \
|
||||
@@ -254,10 +261,10 @@ VLC_CONF_OPT += --disable-sdl-image
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SPEEX),y)
|
||||
VLC_CONF_OPT += --enable-speex
|
||||
VLC_CONF_OPT += --with-speex
|
||||
VLC_DEPENDENCIES += speex
|
||||
else
|
||||
VLC_CONF_OPT += --disable-speex
|
||||
VLC_CONF_OPT += --without-speex
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TREMOR),y)
|
||||
@@ -268,10 +275,10 @@ VLC_CONF_OPT += --disable-tremor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UDEV),y)
|
||||
VLC_CONF_OPT += --enable-udev
|
||||
VLC_CONF_OPT += --with-udev
|
||||
VLC_DEPENDENCIES += udev
|
||||
else
|
||||
VLC_CONF_OPT += --disable-udev
|
||||
VLC_CONF_OPT += --without-udev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
||||
|
||||
Reference in New Issue
Block a user