diff options
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index a525112847fd..3f7b451f3955 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -7,6 +7,22 @@ src := $(obj) | |||
7 | PHONY := __build | 7 | PHONY := __build |
8 | __build: | 8 | __build: |
9 | 9 | ||
10 | # Init all relevant variables used in kbuild files so | ||
11 | # 1) they have correct type | ||
12 | # 2) they do not inherit any value from the environment | ||
13 | obj-y := | ||
14 | obj-m := | ||
15 | lib-y := | ||
16 | lib-m := | ||
17 | always := | ||
18 | targets := | ||
19 | subdir-y := | ||
20 | subdir-m := | ||
21 | EXTRA_AFLAGS := | ||
22 | EXTRA_CFLAGS := | ||
23 | EXTRA_CPPFLAGS := | ||
24 | EXTRA_LDFLAGS := | ||
25 | |||
10 | # Read .config if it exist, otherwise ignore | 26 | # Read .config if it exist, otherwise ignore |
11 | -include include/config/auto.conf | 27 | -include include/config/auto.conf |
12 | 28 | ||