Makefile: prefix the include config directive with '-' to fail gracefully if reqd
This commit is contained in:
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
-include $(KDIR)/.config
|
--include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
--include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs (the '-' says 'continue on error')
|
# Gain access to kernel configs (the '-' says 'continue on error')
|
||||||
-include $(KDIR)/.config
|
--include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ ccflags-y += -DDYNAMIC_DEBUG_MODULE
|
|||||||
KMODDIR ?= /lib/modules/$(shell uname -r)
|
KMODDIR ?= /lib/modules/$(shell uname -r)
|
||||||
|
|
||||||
# Gain access to kernel configs
|
# Gain access to kernel configs
|
||||||
include $(KDIR)/.config
|
-include $(KDIR)/.config
|
||||||
|
|
||||||
# Strip the module? Note:
|
# Strip the module? Note:
|
||||||
# a) Only strip debug symbols else it won't load correctly
|
# a) Only strip debug symbols else it won't load correctly
|
||||||
|
|||||||
Reference in New Issue
Block a user