Makefile: prefix the include config directive with '-' to fail gracefully if reqd

This commit is contained in:
Kaiwan N Billimoria
2024-11-26 10:13:15 +05:30
parent b7bb3eabba
commit 1eea58479e
28 changed files with 28 additions and 28 deletions

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -110,7 +110,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
-include $(KDIR)/.config
--include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -109,7 +109,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -101,7 +101,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
--include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -109,7 +109,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs (the '-' says 'continue on error')
-include $(KDIR)/.config
--include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly

View File

@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
KMODDIR ?= /lib/modules/$(shell uname -r)
# Gain access to kernel configs
include $(KDIR)/.config
-include $(KDIR)/.config
# Strip the module? Note:
# a) Only strip debug symbols else it won't load correctly