diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:52:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-07 12:52:14 +0000 |
commit | bdbd0dce2ee27887c8fcba950090c664b828d703 (patch) | |
tree | 613038f2d9ceed0779be5c61c0097f0930b86ad5 /tools/ccache | |
parent | 279c8bee8d6584b68b182f509927f27477ec0a4c (diff) | |
download | master-31e0f0ae-bdbd0dce2ee27887c8fcba950090c664b828d703.tar.gz master-31e0f0ae-bdbd0dce2ee27887c8fcba950090c664b828d703.tar.bz2 master-31e0f0ae-bdbd0dce2ee27887c8fcba950090c664b828d703.zip |
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
Diffstat (limited to 'tools/ccache')
0 files changed, 0 insertions, 0 deletions