X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0930d2e6210de18332c5fae95d4cc680dc571f3a..1f9e22fcd55e3c49fddd825487b37a3ac07e7702:/toolchain/kernel-headers/Makefile diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 63687cbf5..8241bdc5c 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -21,12 +21,14 @@ PKG_SOURCE_URL:=$(LINUX_SITE) HOST_BUILD_DIR:=$(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) PKG_MD5SUM:=$(LINUX_KERNEL_MD5SUM) LINUX_DIR := $(HOST_BUILD_DIR) +FILES_DIR := +PATCH_DIR := ./patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) include $(INCLUDE_DIR)/toolchain-build.mk include $(INCLUDE_DIR)/kernel-defaults.mk ifeq ($(strip $(BOARD)),uml) - LINUX_KARCH:=$(ARCH) + LINUX_KARCH:=$(subst x86_64,x86,$(subst i386,x86,$(ARCH))) endif ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.18)),1)