From: Andreas Schwab Date: Mon, 12 Dec 2005 08:37:03 +0000 (-0800) Subject: [PATCH] KERNELRELEASE depends on CONFIG_LOCALVERSION X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6b6a462c4ab75c1a5293b22562052cdf0e8bfb22;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] KERNELRELEASE depends on CONFIG_LOCALVERSION Sam Ravnborg writes: > Author: Uwe Zeisberger > > [PATCH] kbuild: make kernelrelease in unconfigured kernel prints an error > > Do not include .config for target kernelrelease This is wrong. KERNELRELEASE depends on CONFIG_LOCALVERSION, thus you need .config. Signed-off-by: Andreas Schwab Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Makefile b/Makefile index b1c458c2522..ad457e1bd0d 100644 --- a/Makefile +++ b/Makefile @@ -408,7 +408,7 @@ outputmakefile: # of make so .config is not included in this case either (for *config). no-dot-config-targets := clean mrproper distclean \ - cscope TAGS tags help %docs check% kernelrelease + cscope TAGS tags help %docs check% config-targets := 0 mixed-targets := 0