Commit Graph

22 Commits (05d73a2a73794f8a978300eac75e25deae6d0626)

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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
10 years ago
Luka Perkov 108c0f5319 quilt: update to 0.63
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 40744
10 years ago
Luka Perkov cac9ed3ffd quilt: update to 0.61
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39452
10 years ago
Luka Perkov 5166bb0b1b quilt: update to 0.60
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38170
11 years ago
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
11 years ago
Jo-Philipp Wich 42425cccfc quilt: some more relocatable fixes for quilt-internal scripts
SVN-Revision: 29834
13 years ago
Jo-Philipp Wich caa9e0e0f3 quilt: make relocatable, search resources relative to STAGING_DIR
SVN-Revision: 29829
13 years ago
Felix Fietkau fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
13 years ago
Felix Fietkau 5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
13 years ago
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
13 years ago
Jo-Philipp Wich 002fde670f quilt: pass PATH and FIND to configure (FreeBSD compatibility)
SVN-Revision: 23288
14 years ago
Alexandros C. Couloumbis d83a959719 tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
SVN-Revision: 22397
14 years ago
Alexandros C. Couloumbis 0d36c3fd37 tools: update quilt to 0.48
SVN-Revision: 21146
14 years ago
Florian Fainelli 8733456b72 fix quilt installation on all platforms
SVN-Revision: 17405
15 years ago
Florian Fainelli d17e2ee125 make quilt installation work on cygwin
SVN-Revision: 17398
15 years ago
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
15 years ago
Felix Fietkau 58765184c6 detect quilt configure errors properly (their broken configure script does not return proper error codes)
SVN-Revision: 14181
16 years ago
Felix Fietkau 949c1386d1 build and install a current quilt version in tools/
SVN-Revision: 12398
16 years ago