set maxdepth appropriately for package scanning
[openwrt.git] / toolchain / kernel-headers / Makefile
index 6a60b56..fadde33 100644 (file)
@@ -15,11 +15,13 @@ PKG_SOURCE_URL=$(LINUX_SITE)
 
 PKG_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)/linux-$(PKG_VERSION)
 
-LINUX_DIR:=$(PKG_BUILD_DIR)/linux-$(LINUX_VERSION)
-KERNEL_BUILD_DIR:=$(PKG_BUILD_DIR)
-include $(INCLUDE_DIR)/kernel-defaults.mk
+LINUX_DIR:=$(PKG_BUILD_DIR)
+KERNEL_BUILD_DIR:=$(TOOLCHAIN_BUILD_DIR)
+override QUILT:=
 
 include $(INCLUDE_DIR)/host-build.mk
+include $(INCLUDE_DIR)/kernel-defaults.mk
+
 
 define Build/Prepare/cris
        mkdir -p $(TOOLCHAIN_BUILD_DIR)
@@ -39,6 +41,8 @@ endef
 else
 define Build/Prepare
        $(call Kernel/Prepare/Default)
+       $(SED) 's/@expr length/@-expr length/' $(PKG_BUILD_DIR)/Makefile
+       ln -sf $(PKG_BUILD_DIR) $(LINUX_HEADERS_DIR)
 endef
 endif
 
This page took 0.023271 seconds and 4 git commands to generate.