dnsmasq: fix inverse logic for lua activation

Since dnsmasq was updated in 1967b3f3b441e5f05e52fd75e900b9a13c4b5492,
it doesn't build any more:

make[2]: Entering directory '.../platform-arm-hf/build-target/dnsmasq-2.70/src'
arm-v7a-linux-gnueabihf-gcc -Wall -W -O2 -DHAVE_LUASCRIPT  -DVERSION='"2.70"' -c helper.c
helper.c:38:19: fatal error: lua.h: No such file or directory
 #include <lua.h>
                   ^
compilation terminated.

The logic of the lua activation flag was inverted: instead of activating
-DHAVE_LUASCRIPT if PTXCONF_DNSMASQ_SCRIPT_LUA was set, it was vice versa.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
vo-aacenc: fix compilation on arm

The vo-aacenc package contains ARM assembly code that cannot be compiled
in Thumb2 mode, so we must force the traditional ARM mode. Additionally,
-mfpu=neon has to be set for builds with NEON capabile cpus.

This patch was inspired by a similar patch by Thomas Petazzoni from the
buildroot project (dc4d0e2f5cc783a826b3bfe4d31c00840407a8e2 in buildroot
git).

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
canfestival: add patch to fix suffix rules

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
haserl: add patch to fix whitespace in Makefile.am

The Makefile.am contains spaces instad of tabs. Fix it.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
mesa: explicitly specify dri-driverdir

dri-driverdir is used in dri.pc. The default is relative to libdir and
pkgconfig produces a path relative to sysroot. However, dri-driverdir is
only needed  install-/runtime so it must be defined without sysroot. This
is accomplished by explicitly setting the full path during configure.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
image_tgz: fix quoting

Otherwise creating root.tgz if IMAGE_TGZ_LABEL contains spaces.

Suggested-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
gnutls: version bump: 3.2.12.1 -> 3.2.15

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
jamvm: fix compilation on arm

The jamvm package contains ARM assembly code that cannot be compiled in
Thumb2 mode, so we must force the traditional ARM mode. Additionally,
-mfpu=neon has to be set for builds with NEON capabile cpus.

This patch was inspired by a similar patch by Thomas Petazzoni for
vo-aacenc from the buildroot project (dc4d0e2f5cc783a826b3bfe4d31c00840407a8e2
in buildroot git).

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
openssl: version bump 1.0.1g -> 1.0.1h

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
introduce <PKG>_{CPPFLAGS,CFLAGS,CXXFLAGS,LDFLAGS}

The toolchain wrapper adds these package specific flags when appropriate.
They are added right before PTXCONF_TARGET_EXTRA_*

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
wrapper: add '-mfpu=neon' for PTXCONF_ARCH_ARM_NEON

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
vo-aacenc: add cflags via VO_AACENC_CFLAGS

Adding CFLAGS= to the configure environment is problematic because many
configure scrips (including the one from vo-aacenc) drop the default cflags
"-g -O2" in that case.
Use the newly introduced <PKG>_CFLAGS instead.
Also, -mfpu=neon is now set for all packages when PTXCONF_ARCH_ARM_NEON is
enabled.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
jamvm: add cflags via JAMVM_CFLAGS

Adding CFLAGS= to the configure environment is problematic because many
configure scrips (including the one from vo-aacenc) drop the default cflags
"-g -O2" in that case.
Use the newly introduced <PKG>_CFLAGS instead.
Also, -mfpu=neon is now set for all packages when PTXCONF_ARCH_ARM_NEON is
enabled.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
libtremor: use <PKG>_CFLAGS

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
host-lndir: use the xorg mirror

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
barebox_mlo: use images/barebox-*-mlo.img as images

New barebox versions may create multiple MLO images.
Adapted barebox_mlo rule to handle this.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
pureftpd: fix startup with systemd and no upload script

With no upload script "ConditionPathExists=@SCRIPT@" expands to
"ConditionPathExists=". This clears the previous condition and systemd
tries to start /usr/sbin/pure-uploadscript which does not exist.

This removes the runtime logic and only adds the dependency on
pure-uploadscript.service if the upload script is enabled.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
wrapper: don't use target flags for the host compiler

When building target packages, the host compiler may be used to build
something. Don't add the packages specific flags here. They may be
architecture specific.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
qt4: don't generate thumb code when WebKit and NEON is enabled

WebKit has some NEON assembler code that fails to build in thumb mode.
Enforce arm mode when WebKit is enabled.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
calibrator: Update homepage

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>