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
..
2015-03-24 13:13:01 +00:00
2015-06-06 13:48:57 +00:00
2015-11-03 12:00:04 +00:00
2013-12-15 21:07:32 +00:00
2015-10-31 09:31:06 +00:00
2015-02-06 00:00:43 +00:00
2015-02-06 00:00:43 +00:00
2015-02-06 00:00:43 +00:00
2015-11-03 11:59:35 +00:00
2015-11-03 11:59:49 +00:00
2015-10-11 16:23:11 +00:00
2015-09-26 21:10:37 +00:00
2013-12-15 21:07:34 +00:00
2015-02-06 00:00:43 +00:00
2015-11-06 10:53:01 +00:00
2015-09-21 21:08:08 +00:00
2015-05-04 13:22:17 +00:00
2015-02-06 00:00:43 +00:00
2015-10-30 22:31:09 +00:00
2015-09-21 21:08:08 +00:00