|
@@ -7,6 +7,22 @@ src := $(obj)
|
|
PHONY := __build
|
|
PHONY := __build
|
|
__build:
|
|
__build:
|
|
|
|
|
|
|
|
+# Init all relevant variables used in kbuild files so
|
|
|
|
+# 1) they have correct type
|
|
|
|
+# 2) they do not inherit any value from the environment
|
|
|
|
+obj-y :=
|
|
|
|
+obj-m :=
|
|
|
|
+lib-y :=
|
|
|
|
+lib-m :=
|
|
|
|
+always :=
|
|
|
|
+targets :=
|
|
|
|
+subdir-y :=
|
|
|
|
+subdir-m :=
|
|
|
|
+EXTRA_AFLAGS :=
|
|
|
|
+EXTRA_CFLAGS :=
|
|
|
|
+EXTRA_CPPFLAGS :=
|
|
|
|
+EXTRA_LDFLAGS :=
|
|
|
|
+
|
|
# Read .config if it exist, otherwise ignore
|
|
# Read .config if it exist, otherwise ignore
|
|
-include include/config/auto.conf
|
|
-include include/config/auto.conf
|
|
|
|
|