GNU M4 is a prerequisite to run autoconf and automake.
This patch packages the macro processor.
This is a prerequisite for packaging autoconf and automake.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[Fixed commit summary according to our best-practise]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
OpenWRT provides gcc but lacks make. So building foreign software is
difficult.
This patch provides GNU Make 4.1.
Built on Debian Jessie amd64.
Tested on TP-Link MR3020 (ar71xx/generic).
version 4:
remove gnumake.h from the package
We could package it in a separate make-dev package if really needed.
version 3:
use Build/InstallDev to provide build time dependency
version 2:
superfluous lines removed as suggested by Yousong Zhou
CC: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Compile with `-std=gnu99` instead of `-std=c99` to avoid redefining
`__attribute__` in `src/system.h`.
Fixes the following error spotted by the buildbot:
In file included from ../lib/stdio.h:43:0,
from cmp.c:22:
.../staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_musl-1.1.10_eabi/include/fortify/stdio.h: In function 'snprintf':
.../staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-4.8-linaro_musl-1.1.10_eabi/include/fortify/stdio.h:99:2: error: invalid use of '__builtin_va_arg_pack ()'
return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack());
^
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Bump GNU patch from 2.7.4 to 2.7.5.
Changelog: http://git.savannah.gnu.org/cgit/patch.git/tree/NEWS
Changes in version 2.7.5:
* There are users which expect patch to follow symbolic links in the working
directory, so patch now again follows symbolic links as long as they do not
leave the working directory.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Right now these are arm, hppa, microblaze, powerpc, sh and xtensa.
So we just try to grep for it to figure out if it is needed.
Signed-off-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Christian Beier <dontmind@freeshell.org>
The build system somehow detects /usr/include/sys/sdt.h, which is part of systemtap-sdt-devel
package in the host environment but not present in the SDK.
This patch simply disables the check for sys/sdt.h, enabling building of this package when
systemtap-sdt-devel is installed in the host environment.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Use the same GCC version as the Attitude Adjustment toolchain.
* Use REAL_GNU_TARGET_NAME that contains the _uclibc suffix.
Otherwise the linker on the target is not found.
* Revamped install section to install only needed binaries and omit
static .a libs.
Signed-off-by: Christian Beier <dontmind@freeshell.org>