endif
ifneq (,$(findstring uml,$(BOARD)))
- KERNEL_CC:=$(HOSTCC)
- KERNEL_CROSS:=
+ KERNEL_CC?=$(HOSTCC)
+ KERNEL_CROSS?=
else
- KERNEL_CC:=$(TARGET_CC)
- KERNEL_CROSS:=$(TARGET_CROSS)
+ KERNEL_CC?=$(TARGET_CC)
+ KERNEL_CROSS?=$(TARGET_CROSS)
endif
PATCH_DIR ?= ./patches$(shell [ -d "./patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
chmod 0755 $(2)/CONTROL/postinst; \
fi
endef
-
+
+ifeq ($(DUMP)$(TARGET_BUILD),)
+ -include $(LINUX_DIR)/.config
+endif
define KernelPackage
NAME:=$(1)