From da7c57b086d893aab2ce446b99d2d22b538d67d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Wed, 15 Jun 2022 12:36:36 +0200 Subject: kernel: support setting extra CFLAGS for kernel compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They may be used e.g. to optimize kernel size or performance. Signed-off-by: Rafał Miłecki (cherry picked from commit 907d7d747243044f86588f0d82993e8c106cb02c) --- config/Config-devel.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/Config-devel.in') diff --git a/config/Config-devel.in b/config/Config-devel.in index 126462bfc3..a068f694e5 100644 --- a/config/Config-devel.in +++ b/config/Config-devel.in @@ -74,6 +74,10 @@ menuconfig DEVEL Store ccache in this directory. If not set, uses './.ccache' + config KERNEL_CFLAGS + string "Kernel extra CFLAGS" if DEVEL + default "" + config EXTERNAL_KERNEL_TREE string "Use external kernel tree" if DEVEL default "" -- cgit v1.2.3