Commit Graph

22 Commits

Author SHA1 Message Date
Felix Fietkau
bdbd0dce2e tools/quilt: fix build error during kernel_menuconfig on a cleaned env
When running "make kernel_menuconfig" right after "make clean", we error
out with the following message:

Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed
make[2]: [.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked]
Error 127 (ignored)

The root cause of the problem is located in the OpenWrt specific quilt
patch, which sets the quilt install directory to $STAGING_DIR/../host.
However, on a clean environment (right after running "make clean"),
$STAGING_DIR doesn't exist. The "quilt" executable doesn't find its
different commands, errors out, and creates this message.

We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR,
which is absolute. It will work even if there is no target directory
yet.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47410
2015-11-07 12:52:14 +00:00
Felix Fietkau
c7fb0f04aa tools/quilt: update to 0.64
Update quilt to version 0.64.
Changelog: http://git.savannah.gnu.org/cgit/quilt.git/tree/NEWS?id=v0.64

Refresh patches. (scripts/inspect.in has been removed upstream)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 47299
2015-10-30 22:31:21 +00:00
Jo-Philipp Wich
6a5244661f tools: quilt: fix perl interpreter line (#20802)
When using '/usr/bin/env' in a shebang it is not possible to specify
additional flags for the interpreter. Remove '-w' switches and add
'use warnings;' instead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47278
2015-10-26 15:28:05 +00:00
Jo-Philipp Wich
cb9723f09c quilt: add further relocatability fixes
Prevent quilt's build system from generating useless compat wrappers and
hardcoded absolute utility paths to binaries in staging_dir/host/.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47070
2015-09-29 11:37:27 +00:00
John Crispin
b0a1c7dc0d include/download.mk: Add download mirrors for tools from GNU Savannah (bug #15184)
I defined a new download method @SAVANNAH in include/download.mk and scripts/download.pl,
and converted quilt and qemu to use that method.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 42840
2014-10-08 08:01:39 +00:00
Luka Perkov
108c0f5319 quilt: update to 0.63
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 40744
2014-05-09 11:55:52 +00:00
Luka Perkov
cac9ed3ffd quilt: update to 0.61
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39452
2014-02-02 23:41:32 +00:00
Luka Perkov
5166bb0b1b quilt: update to 0.60
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38170
2013-09-24 20:01:03 +00:00
Felix Fietkau
1f77bfff96 build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Jo-Philipp Wich
42425cccfc quilt: some more relocatable fixes for quilt-internal scripts
SVN-Revision: 29834
2012-01-20 17:54:43 +00:00
Jo-Philipp Wich
caa9e0e0f3 quilt: make relocatable, search resources relative to STAGING_DIR
SVN-Revision: 29829
2012-01-20 17:11:37 +00:00
Felix Fietkau
fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
2011-08-01 19:22:45 +00:00
Felix Fietkau
5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
2011-07-31 17:59:35 +00:00
Jo-Philipp Wich
8324bf036c quilt: fix building with dash test x == x gives a syntax error with dash (standard in Debian). The modified patch reflects the current upstream: http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=38df0b210c3df67f3e784af92232ae1946b98ecd
SVN-Revision: 26804
2011-05-02 12:53:32 +00:00
Jo-Philipp Wich
002fde670f quilt: pass PATH and FIND to configure (FreeBSD compatibility)
SVN-Revision: 23288
2010-10-07 11:33:54 +00:00
Alexandros C. Couloumbis
d83a959719 tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
SVN-Revision: 22397
2010-07-27 17:21:30 +00:00
Alexandros C. Couloumbis
0d36c3fd37 tools: update quilt to 0.48
SVN-Revision: 21146
2010-04-24 19:54:53 +00:00
Florian Fainelli
8733456b72 fix quilt installation on all platforms
SVN-Revision: 17405
2009-08-26 07:55:31 +00:00
Florian Fainelli
d17e2ee125 make quilt installation work on cygwin
SVN-Revision: 17398
2009-08-25 14:55:18 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Felix Fietkau
58765184c6 detect quilt configure errors properly (their broken configure script does not return proper error codes)
SVN-Revision: 14181
2009-01-25 19:02:48 +00:00
Felix Fietkau
949c1386d1 build and install a current quilt version in tools/
SVN-Revision: 12398
2008-08-27 14:13:32 +00:00