X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/44e4c1bee33b54db7abd2d2414b6a4c0d0f37624..12f86c694670cfc185f0f847ea5a79d89beee074:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index d344702dd..71b9d8000 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -25,7 +25,7 @@ endif ifneq ($(CONFIG_USB),) FEATURES += usb endif -ifneq ($(CONFIG_PCMCIA),) +ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),) FEATURES += pcmcia endif ifneq ($(CONFIG_VIDEO_DEV),) @@ -53,6 +53,9 @@ else ) endif +STAMP_PREPARED:=$(LINUX_DIR)/.prepared +STAMP_CONFIGURED:=$(LINUX_DIR)/.configured +include $(INCLUDE_DIR)/quilt.mk include $(INCLUDE_DIR)/kernel-defaults.mk define Kernel/Prepare @@ -82,17 +85,17 @@ define BuildKernel $(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_SOURCE) $(LINUX_KERNEL_MD5SUM) $(LINUX_SITE) endif - $(LINUX_DIR)/.prepared: $(DL_DIR)/$(LINUX_SOURCE) + $(STAMP_PREPARED): $(DL_DIR)/$(LINUX_SOURCE) -rm -rf $(KERNEL_BUILD_DIR) -mkdir -p $(KERNEL_BUILD_DIR) $(call Kernel/Prepare) touch $$@ - $(LINUX_DIR)/.configured: $(LINUX_DIR)/.prepared $(LINUX_CONFIG) + $(STAMP_CONFIGURED): $(LINUX_DIR)/.prepared $(LINUX_CONFIG) $(call Kernel/Configure) touch $$@ - $(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured $(LINUX_DIR)/.config + $(LINUX_DIR)/.modules: $(LINUX_DIR)/.configured $(LINUX_DIR)/.config FORCE $(call Kernel/CompileModules) touch $$@ @@ -159,7 +162,7 @@ endef $(eval $(call shexport,Target/Description)) download: $(DL_DIR)/$(LINUX_SOURCE) -prepare: $(LINUX_DIR)/.configured $(TMP_DIR)/.kernel.mk +prepare: $(LINUX_DIR)/.configured compile: $(LINUX_DIR)/.modules menuconfig: $(LINUX_DIR)/.prepared FORCE $(call Kernel/Configure)