summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-22 17:50:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-11-22 17:50:01 +0000
commitc0915e59830967bca6a69a2e185481344c76b9e8 (patch)
tree1df20e8674d30c20465483c23318b98fe071b01b /toolchain/uClibc/Makefile
parentff46ed446da26e5e6089704b92e709f86c0fdeba (diff)
downloadmtk-20170518-c0915e59830967bca6a69a2e185481344c76b9e8.zip
mtk-20170518-c0915e59830967bca6a69a2e185481344c76b9e8.tar.gz
mtk-20170518-c0915e59830967bca6a69a2e185481344c76b9e8.tar.bz2
uClibc: fix headers install on prepare with QUILT=1
SVN-Revision: 24100
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 0b6f205..0df26d0 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -68,6 +68,12 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
define Host/Prepare
$(call Host/SetToolchainInfo)
$(call Host/Prepare/Default)
+ $(if $(strip $(QUILT)), \
+ cd $(HOST_BUILD_DIR); \
+ if $(QUILT_CMD) next >/dev/null 2>&1; then \
+ $(QUILT_CMD) push -a; \
+ fi
+ )
ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
$(GEN_CONFIG) > $(HOST_BUILD_DIR)/.config
$(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(BUILD_DIR_TOOLCHAIN)/linux-dev/include\",g' \