From 3a1e3b4e0d3828abc04cc4422b16486f561a4a15 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Wed, 14 Dec 2016 15:35:16 +0100
Subject: [PATCH] package/kernel/linux: only access kernel config if DUMP is
 unset

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 package/kernel/linux/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/kernel/linux/Makefile b/package/kernel/linux/Makefile
index 21381c7296..7f38f3e6e2 100644
--- a/package/kernel/linux/Makefile
+++ b/package/kernel/linux/Makefile
@@ -23,9 +23,8 @@ export SHELL:=/bin/sh
 
 include $(INCLUDE_DIR)/package.mk
 
-STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum))
-
 ifeq ($(DUMP),)
+  STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum))
   -include $(LINUX_DIR)/.config
 endif
 
-- 
GitLab