aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile88
-rw-r--r--arch/arm/Makefile2
-rw-r--r--arch/arm/mach-at91/Makefile3
-rw-r--r--arch/arm/mach-ebsa110/Makefile3
-rw-r--r--arch/arm/mach-ep93xx/Makefile3
-rw-r--r--arch/arm/mach-exynos/Makefile5
-rw-r--r--arch/arm/mach-footbridge/Makefile3
-rw-r--r--arch/arm/mach-iop13xx/Makefile5
-rw-r--r--arch/arm/mach-iop32x/Makefile3
-rw-r--r--arch/arm/mach-iop33x/Makefile3
-rw-r--r--arch/arm/mach-ks8695/Makefile3
-rw-r--r--arch/arm/mach-rpc/Makefile4
-rw-r--r--arch/arm/mach-s3c24xx/Makefile5
-rw-r--r--arch/arm/mach-s3c64xx/Makefile5
-rw-r--r--arch/arm/mach-s5pv210/Makefile5
-rw-r--r--arch/arm/mach-sa1100/Makefile3
-rw-r--r--arch/arm/mach-u300/Makefile3
-rw-r--r--arch/arm/plat-iop/Makefile6
-rw-r--r--arch/arm/plat-omap/Makefile3
-rw-r--r--arch/arm/plat-samsung/Makefile5
-rw-r--r--arch/arm64/Makefile2
-rw-r--r--drivers/clk/shmobile/Makefile2
-rw-r--r--drivers/net/wimax/Makefile4
-rw-r--r--firmware/Makefile2
-rw-r--r--scripts/Kbuild.include4
-rw-r--r--scripts/Makefile.build14
-rw-r--r--scripts/Makefile.clean6
-rw-r--r--scripts/Makefile.fwinst2
-rw-r--r--scripts/Makefile.host6
-rw-r--r--scripts/Makefile.lib9
-rwxr-xr-x[-rw-r--r--]scripts/bootgraph.pl0
-rwxr-xr-x[-rw-r--r--]scripts/export_report.pl0
-rwxr-xr-x[-rw-r--r--]scripts/gcc-goto.sh0
-rwxr-xr-x[-rw-r--r--]scripts/gcc-ld0
-rwxr-xr-x[-rw-r--r--]scripts/gcc-version.sh0
-rwxr-xr-x[-rw-r--r--]scripts/gcc-x86_32-has-stack-protector.sh0
-rwxr-xr-x[-rw-r--r--]scripts/gcc-x86_64-has-stack-protector.sh0
-rwxr-xr-x[-rw-r--r--]scripts/gen_initramfs_list.sh0
-rwxr-xr-x[-rw-r--r--]scripts/headers_check.pl0
-rwxr-xr-x[-rw-r--r--]scripts/headers_install.sh0
-rw-r--r--scripts/kconfig/Makefile38
-rwxr-xr-x[-rw-r--r--]scripts/kconfig/lxdialog/check-lxdialog.sh6
-rw-r--r--scripts/kconfig/lxdialog/dialog.h2
-rwxr-xr-x[-rw-r--r--]scripts/kconfig/streamline_config.pl0
-rwxr-xr-x[-rw-r--r--]scripts/link-vmlinux.sh0
-rwxr-xr-x[-rw-r--r--]scripts/markup_oops.pl0
-rwxr-xr-x[-rw-r--r--]scripts/mkmakefile0
-rwxr-xr-x[-rw-r--r--]scripts/mksysmap0
-rwxr-xr-x[-rw-r--r--]scripts/package/builddeb0
-rwxr-xr-x[-rw-r--r--]scripts/package/buildtar0
-rwxr-xr-x[-rw-r--r--]scripts/profile2linkerlist.pl0
-rwxr-xr-x[-rw-r--r--]scripts/rt-tester/rt-tester.py0
-rwxr-xr-x[-rw-r--r--]scripts/selinux/install_policy.sh0
-rwxr-xr-x[-rw-r--r--]scripts/tracing/draw_functrace.py0
-rwxr-xr-x[-rw-r--r--]scripts/xz_wrap.sh0
55 files changed, 76 insertions, 181 deletions
diff --git a/Makefile b/Makefile
index 6127ca66ed98..36a77a3d156c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,9 @@ NAME = Shuffling Zombie Juror
10# Comments in this file are targeted only to the developer, do not 10# Comments in this file are targeted only to the developer, do not
11# expect to learn how to build the kernel reading this file. 11# expect to learn how to build the kernel reading this file.
12 12
13# Do not: 13# Do not use make's built-in rules and variables
14# o use make's built-in rules and variables 14# (this increases performance and avoids hard-to-debug behaviour);
15# (this increases performance and avoids hard-to-debug behaviour); 15MAKEFLAGS += -rR
16# o print "Entering directory ...";
17MAKEFLAGS += -rR --no-print-directory
18 16
19# Avoid funny character set dependencies 17# Avoid funny character set dependencies
20unexport LC_ALL 18unexport LC_ALL
@@ -97,34 +95,6 @@ endif
97 95
98export quiet Q KBUILD_VERBOSE 96export quiet Q KBUILD_VERBOSE
99 97
100# Call a source code checker (by default, "sparse") as part of the
101# C compilation.
102#
103# Use 'make C=1' to enable checking of only re-compiled files.
104# Use 'make C=2' to enable checking of *all* source files, regardless
105# of whether they are re-compiled or not.
106#
107# See the file "Documentation/sparse.txt" for more details, including
108# where to get the "sparse" utility.
109
110ifeq ("$(origin C)", "command line")
111 KBUILD_CHECKSRC = $(C)
112endif
113ifndef KBUILD_CHECKSRC
114 KBUILD_CHECKSRC = 0
115endif
116
117# Use make M=dir to specify directory of external module to build
118# Old syntax make ... SUBDIRS=$PWD is still supported
119# Setting the environment variable KBUILD_EXTMOD take precedence
120ifdef SUBDIRS
121 KBUILD_EXTMOD ?= $(SUBDIRS)
122endif
123
124ifeq ("$(origin M)", "command line")
125 KBUILD_EXTMOD := $(M)
126endif
127
128# kbuild supports saving output files in a separate directory. 98# kbuild supports saving output files in a separate directory.
129# To locate output files in a separate directory two syntaxes are supported. 99# To locate output files in a separate directory two syntaxes are supported.
130# In both cases the working directory must be the root of the kernel src. 100# In both cases the working directory must be the root of the kernel src.
@@ -140,7 +110,6 @@ endif
140# The O= assignment takes precedence over the KBUILD_OUTPUT environment 110# The O= assignment takes precedence over the KBUILD_OUTPUT environment
141# variable. 111# variable.
142 112
143
144# KBUILD_SRC is set on invocation of make in OBJ directory 113# KBUILD_SRC is set on invocation of make in OBJ directory
145# KBUILD_SRC is not intended to be used by the regular user (for now) 114# KBUILD_SRC is not intended to be used by the regular user (for now)
146ifeq ($(KBUILD_SRC),) 115ifeq ($(KBUILD_SRC),)
@@ -172,17 +141,9 @@ PHONY += $(MAKECMDGOALS) sub-make
172$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make 141$(filter-out _all sub-make $(CURDIR)/Makefile, $(MAKECMDGOALS)) _all: sub-make
173 @: 142 @:
174 143
175# Fake the "Entering directory" message once, so that IDEs/editors are
176# able to understand relative filenames.
177 echodir := @echo
178 quiet_echodir := @echo
179silent_echodir := @:
180sub-make: FORCE 144sub-make: FORCE
181 $($(quiet)echodir) "make[1]: Entering directory \`$(KBUILD_OUTPUT)'" 145 $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \
182 $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \ 146 -f $(CURDIR)/Makefile $(filter-out _all sub-make,$(MAKECMDGOALS))
183 KBUILD_SRC=$(CURDIR) \
184 KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \
185 $(filter-out _all sub-make,$(MAKECMDGOALS))
186 147
187# Leave processing to above invocation of make 148# Leave processing to above invocation of make
188skip-makefile := 1 149skip-makefile := 1
@@ -192,6 +153,39 @@ endif # ifeq ($(KBUILD_SRC),)
192# We process the rest of the Makefile if this is the final invocation of make 153# We process the rest of the Makefile if this is the final invocation of make
193ifeq ($(skip-makefile),) 154ifeq ($(skip-makefile),)
194 155
156# Do not print "Entering directory ...",
157# but we want to display it when entering to the output directory
158# so that IDEs/editors are able to understand relative filenames.
159MAKEFLAGS += --no-print-directory
160
161# Call a source code checker (by default, "sparse") as part of the
162# C compilation.
163#
164# Use 'make C=1' to enable checking of only re-compiled files.
165# Use 'make C=2' to enable checking of *all* source files, regardless
166# of whether they are re-compiled or not.
167#
168# See the file "Documentation/sparse.txt" for more details, including
169# where to get the "sparse" utility.
170
171ifeq ("$(origin C)", "command line")
172 KBUILD_CHECKSRC = $(C)
173endif
174ifndef KBUILD_CHECKSRC
175 KBUILD_CHECKSRC = 0
176endif
177
178# Use make M=dir to specify directory of external module to build
179# Old syntax make ... SUBDIRS=$PWD is still supported
180# Setting the environment variable KBUILD_EXTMOD take precedence
181ifdef SUBDIRS
182 KBUILD_EXTMOD ?= $(SUBDIRS)
183endif
184
185ifeq ("$(origin M)", "command line")
186 KBUILD_EXTMOD := $(M)
187endif
188
195# If building an external module we do not care about the all: rule 189# If building an external module we do not care about the all: rule
196# but instead _all depend on modules 190# but instead _all depend on modules
197PHONY += all 191PHONY += all
@@ -889,9 +883,7 @@ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
889 $(net-y) $(net-m) $(libs-y) $(libs-m))) 883 $(net-y) $(net-m) $(libs-y) $(libs-m)))
890 884
891vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \ 885vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
892 $(init-n) $(init-) \ 886 $(init-) $(core-) $(drivers-) $(net-) $(libs-))))
893 $(core-n) $(core-) $(drivers-n) $(drivers-) \
894 $(net-n) $(net-) $(libs-n) $(libs-))))
895 887
896init-y := $(patsubst %/, %/built-in.o, $(init-y)) 888init-y := $(patsubst %/, %/built-in.o, $(init-y))
897core-y := $(patsubst %/, %/built-in.o, $(core-y)) 889core-y := $(patsubst %/, %/built-in.o, $(core-y))
@@ -1591,7 +1583,7 @@ endif
1591# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=dir 1583# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.clean obj=dir
1592# Usage: 1584# Usage:
1593# $(Q)$(MAKE) $(clean)=dir 1585# $(Q)$(MAKE) $(clean)=dir
1594clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj 1586clean := -f $(srctree)/scripts/Makefile.clean obj
1595 1587
1596endif # skip-makefile 1588endif # skip-makefile
1597 1589
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index dceb0441b1a6..034a94904d69 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -50,8 +50,6 @@ AS += -EL
50LD += -EL 50LD += -EL
51endif 51endif
52 52
53comma = ,
54
55# This selects which instruction set is used. 53# This selects which instruction set is used.
56# Note that GCC does not numerically define an architecture version 54# Note that GCC does not numerically define an architecture version
57# macro, but instead defines a whole series of macros which makes 55# macro, but instead defines a whole series of macros which makes
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index ac99d87ffefe..1b9ae0257a6e 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -3,9 +3,6 @@
3# 3#
4 4
5obj-y := gpio.o setup.o sysirq_mask.o 5obj-y := gpio.o setup.o sysirq_mask.o
6obj-m :=
7obj-n :=
8obj- :=
9 6
10obj-$(CONFIG_OLD_IRQ_AT91) += irq.o 7obj-$(CONFIG_OLD_IRQ_AT91) += irq.o
11obj-$(CONFIG_OLD_CLK_AT91) += clock.o 8obj-$(CONFIG_OLD_CLK_AT91) += clock.o
diff --git a/arch/arm/mach-ebsa110/Makefile b/arch/arm/mach-ebsa110/Makefile
index 935e4af01a27..a7d68c13c1d1 100644
--- a/arch/arm/mach-ebsa110/Makefile
+++ b/arch/arm/mach-ebsa110/Makefile
@@ -5,6 +5,3 @@
5# Object file lists. 5# Object file lists.
6 6
7obj-y := core.o io.o leds.o 7obj-y := core.o io.o leds.o
8obj-m :=
9obj-n :=
10obj- :=
diff --git a/arch/arm/mach-ep93xx/Makefile b/arch/arm/mach-ep93xx/Makefile
index 0dc51f9462de..78d427b34b1f 100644
--- a/arch/arm/mach-ep93xx/Makefile
+++ b/arch/arm/mach-ep93xx/Makefile
@@ -2,9 +2,6 @@
2# Makefile for the linux kernel. 2# Makefile for the linux kernel.
3# 3#
4obj-y := core.o clock.o 4obj-y := core.o clock.o
5obj-m :=
6obj-n :=
7obj- :=
8 5
9obj-$(CONFIG_EP93XX_DMA) += dma.o 6obj-$(CONFIG_EP93XX_DMA) += dma.o
10 7
diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile
index 788f26d21141..27ae6144679c 100644
--- a/arch/arm/mach-exynos/Makefile
+++ b/arch/arm/mach-exynos/Makefile
@@ -7,11 +7,6 @@
7 7
8ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 8ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
9 9
10obj-y :=
11obj-m :=
12obj-n :=
13obj- :=
14
15# Core 10# Core
16 11
17obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o 12obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o
diff --git a/arch/arm/mach-footbridge/Makefile b/arch/arm/mach-footbridge/Makefile
index c3faa3bc84dd..e83d5c8396ff 100644
--- a/arch/arm/mach-footbridge/Makefile
+++ b/arch/arm/mach-footbridge/Makefile
@@ -5,9 +5,6 @@
5# Object file lists. 5# Object file lists.
6 6
7obj-y := common.o dma.o isa-irq.o 7obj-y := common.o dma.o isa-irq.o
8obj-m :=
9obj-n :=
10obj- :=
11 8
12pci-y += dc21285.o 9pci-y += dc21285.o
13pci-$(CONFIG_ARCH_CATS) += cats-pci.o 10pci-$(CONFIG_ARCH_CATS) += cats-pci.o
diff --git a/arch/arm/mach-iop13xx/Makefile b/arch/arm/mach-iop13xx/Makefile
index cad015fee12f..a3d9260e335f 100644
--- a/arch/arm/mach-iop13xx/Makefile
+++ b/arch/arm/mach-iop13xx/Makefile
@@ -1,8 +1,3 @@
1obj-y :=
2obj-m :=
3obj-n :=
4obj- :=
5
6obj-$(CONFIG_ARCH_IOP13XX) += setup.o 1obj-$(CONFIG_ARCH_IOP13XX) += setup.o
7obj-$(CONFIG_ARCH_IOP13XX) += irq.o 2obj-$(CONFIG_ARCH_IOP13XX) += irq.o
8obj-$(CONFIG_ARCH_IOP13XX) += pci.o 3obj-$(CONFIG_ARCH_IOP13XX) += pci.o
diff --git a/arch/arm/mach-iop32x/Makefile b/arch/arm/mach-iop32x/Makefile
index cfdf8a137c2b..2d4010abb82f 100644
--- a/arch/arm/mach-iop32x/Makefile
+++ b/arch/arm/mach-iop32x/Makefile
@@ -3,9 +3,6 @@
3# 3#
4 4
5obj-y := irq.o 5obj-y := irq.o
6obj-m :=
7obj-n :=
8obj- :=
9 6
10obj-$(CONFIG_MACH_GLANTANK) += glantank.o 7obj-$(CONFIG_MACH_GLANTANK) += glantank.o
11obj-$(CONFIG_ARCH_IQ80321) += iq80321.o 8obj-$(CONFIG_ARCH_IQ80321) += iq80321.o
diff --git a/arch/arm/mach-iop33x/Makefile b/arch/arm/mach-iop33x/Makefile
index 90081d8c9d16..e95db30d81d5 100644
--- a/arch/arm/mach-iop33x/Makefile
+++ b/arch/arm/mach-iop33x/Makefile
@@ -3,9 +3,6 @@
3# 3#
4 4
5obj-y := irq.o uart.o 5obj-y := irq.o uart.o
6obj-m :=
7obj-n :=
8obj- :=
9 6
10obj-$(CONFIG_ARCH_IQ80331) += iq80331.o 7obj-$(CONFIG_ARCH_IQ80331) += iq80331.o
11obj-$(CONFIG_MACH_IQ80332) += iq80332.o 8obj-$(CONFIG_MACH_IQ80332) += iq80332.o
diff --git a/arch/arm/mach-ks8695/Makefile b/arch/arm/mach-ks8695/Makefile
index e370caf0c91b..8ecb7973ae54 100644
--- a/arch/arm/mach-ks8695/Makefile
+++ b/arch/arm/mach-ks8695/Makefile
@@ -4,9 +4,6 @@
4# 4#
5 5
6obj-y := cpu.o irq.o time.o devices.o 6obj-y := cpu.o irq.o time.o devices.o
7obj-m :=
8obj-n :=
9obj- :=
10 7
11# PCI support is optional 8# PCI support is optional
12obj-$(CONFIG_PCI) += pci.o 9obj-$(CONFIG_PCI) += pci.o
diff --git a/arch/arm/mach-rpc/Makefile b/arch/arm/mach-rpc/Makefile
index 992e28b4ae9a..2ebc6875aeb8 100644
--- a/arch/arm/mach-rpc/Makefile
+++ b/arch/arm/mach-rpc/Makefile
@@ -5,7 +5,3 @@
5# Object file lists. 5# Object file lists.
6 6
7obj-y := dma.o ecard.o fiq.o irq.o riscpc.o time.o 7obj-y := dma.o ecard.o fiq.o irq.o riscpc.o time.o
8obj-m :=
9obj-n :=
10obj- :=
11
diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile
index 2235d0d3b38d..b92071638733 100644
--- a/arch/arm/mach-s3c24xx/Makefile
+++ b/arch/arm/mach-s3c24xx/Makefile
@@ -7,11 +7,6 @@
7# 7#
8# Licensed under GPLv2 8# Licensed under GPLv2
9 9
10obj-y :=
11obj-m :=
12obj-n :=
13obj- :=
14
15# core 10# core
16 11
17obj-y += common.o 12obj-y += common.o
diff --git a/arch/arm/mach-s3c64xx/Makefile b/arch/arm/mach-s3c64xx/Makefile
index 58069a702a43..12f67b61ca5f 100644
--- a/arch/arm/mach-s3c64xx/Makefile
+++ b/arch/arm/mach-s3c64xx/Makefile
@@ -5,11 +5,6 @@
5# 5#
6# Licensed under GPLv2 6# Licensed under GPLv2
7 7
8obj-y :=
9obj-m :=
10obj-n :=
11obj- :=
12
13# Core 8# Core
14 9
15obj-y += common.o 10obj-y += common.o
diff --git a/arch/arm/mach-s5pv210/Makefile b/arch/arm/mach-s5pv210/Makefile
index 7dc2d0e25a83..72b9e9671507 100644
--- a/arch/arm/mach-s5pv210/Makefile
+++ b/arch/arm/mach-s5pv210/Makefile
@@ -7,11 +7,6 @@
7 7
8ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 8ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
9 9
10obj-y :=
11obj-m :=
12obj-n :=
13obj- :=
14
15# Core 10# Core
16 11
17obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o 12obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o
diff --git a/arch/arm/mach-sa1100/Makefile b/arch/arm/mach-sa1100/Makefile
index 2732eef48966..f1114d11fe13 100644
--- a/arch/arm/mach-sa1100/Makefile
+++ b/arch/arm/mach-sa1100/Makefile
@@ -4,9 +4,6 @@
4 4
5# Common support 5# Common support
6obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o 6obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o
7obj-m :=
8obj-n :=
9obj- :=
10 7
11# Specific board support 8# Specific board support
12obj-$(CONFIG_SA1100_ASSABET) += assabet.o 9obj-$(CONFIG_SA1100_ASSABET) += assabet.o
diff --git a/arch/arm/mach-u300/Makefile b/arch/arm/mach-u300/Makefile
index 3ec74ac95bc1..87d37de054b6 100644
--- a/arch/arm/mach-u300/Makefile
+++ b/arch/arm/mach-u300/Makefile
@@ -3,9 +3,6 @@
3# 3#
4 4
5obj-y := core.o 5obj-y := core.o
6obj-m :=
7obj-n :=
8obj- :=
9 6
10obj-$(CONFIG_MACH_U300_SPIDUMMY) += dummyspichip.o 7obj-$(CONFIG_MACH_U300_SPIDUMMY) += dummyspichip.o
11obj-$(CONFIG_REGULATOR_AB3100) += regulator.o 8obj-$(CONFIG_REGULATOR_AB3100) += regulator.o
diff --git a/arch/arm/plat-iop/Makefile b/arch/arm/plat-iop/Makefile
index 224e56c6049b..f2af203d601f 100644
--- a/arch/arm/plat-iop/Makefile
+++ b/arch/arm/plat-iop/Makefile
@@ -2,8 +2,6 @@
2# Makefile for the linux kernel. 2# Makefile for the linux kernel.
3# 3#
4 4
5obj-y :=
6
7# IOP32X 5# IOP32X
8obj-$(CONFIG_ARCH_IOP32X) += i2c.o 6obj-$(CONFIG_ARCH_IOP32X) += i2c.o
9obj-$(CONFIG_ARCH_IOP32X) += pci.o 7obj-$(CONFIG_ARCH_IOP32X) += pci.o
@@ -27,7 +25,3 @@ obj-$(CONFIG_ARCH_IOP33X) += restart.o
27# IOP13XX 25# IOP13XX
28obj-$(CONFIG_ARCH_IOP13XX) += cp6.o 26obj-$(CONFIG_ARCH_IOP13XX) += cp6.o
29obj-$(CONFIG_ARCH_IOP13XX) += time.o 27obj-$(CONFIG_ARCH_IOP13XX) += time.o
30
31obj-m :=
32obj-n :=
33obj- :=
diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 0b01b68fd033..97a50e8883f9 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -6,9 +6,6 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-omap/include
6 6
7# Common support 7# Common support
8obj-y := sram.o dma.o counter_32k.o 8obj-y := sram.o dma.o counter_32k.o
9obj-m :=
10obj-n :=
11obj- :=
12 9
13# omap_device support (OMAP2+ only at the moment) 10# omap_device support (OMAP2+ only at the moment)
14 11
diff --git a/arch/arm/plat-samsung/Makefile b/arch/arm/plat-samsung/Makefile
index 5fe175017f07..f0a008496993 100644
--- a/arch/arm/plat-samsung/Makefile
+++ b/arch/arm/plat-samsung/Makefile
@@ -6,11 +6,6 @@
6 6
7ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include 7ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
8 8
9obj-y :=
10obj-m :=
11obj-n := dummy.o
12obj- :=
13
14# Objects we always build independent of SoC choice 9# Objects we always build independent of SoC choice
15 10
16obj-y += init.o cpu.o 11obj-y += init.o cpu.o
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 59c86b6b3052..20901ffed182 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -30,8 +30,6 @@ AS += -EL
30LD += -EL 30LD += -EL
31endif 31endif
32 32
33comma = ,
34
35CHECKFLAGS += -D__aarch64__ 33CHECKFLAGS += -D__aarch64__
36 34
37# Default value 35# Default value
diff --git a/drivers/clk/shmobile/Makefile b/drivers/clk/shmobile/Makefile
index 531d4f6c7050..960bf22d42ae 100644
--- a/drivers/clk/shmobile/Makefile
+++ b/drivers/clk/shmobile/Makefile
@@ -7,5 +7,3 @@ obj-$(CONFIG_ARCH_R8A7791) += clk-rcar-gen2.o
7obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o 7obj-$(CONFIG_ARCH_R8A7794) += clk-rcar-gen2.o
8obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-div6.o 8obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-div6.o
9obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-mstp.o 9obj-$(CONFIG_ARCH_SHMOBILE_MULTI) += clk-mstp.o
10# for emply built-in.o
11obj-n := dummy
diff --git a/drivers/net/wimax/Makefile b/drivers/net/wimax/Makefile
index 992bc02bc016..692184dd674a 100644
--- a/drivers/net/wimax/Makefile
+++ b/drivers/net/wimax/Makefile
@@ -1,5 +1 @@
1
2obj-$(CONFIG_WIMAX_I2400M) += i2400m/ obj-$(CONFIG_WIMAX_I2400M) += i2400m/
3
4# (from Sam Ravnborg) force kbuild to create built-in.o
5obj- := dummy.o
diff --git a/firmware/Makefile b/firmware/Makefile
index 0862d34cf7d1..e297e1b52636 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -232,6 +232,6 @@ targets := $(fw-shipped-) $(patsubst $(obj)/%,%, \
232 232
233# Without this, built-in.o won't be created when it's empty, and the 233# Without this, built-in.o won't be created when it's empty, and the
234# final vmlinux link will fail. 234# final vmlinux link will fail.
235obj-n := dummy 235obj- := dummy
236 236
237hostprogs-y := ihex2fw 237hostprogs-y := ihex2fw
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 8a9a4e1c7eab..65e7b08bb2cc 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -171,13 +171,13 @@ ld-ifversion = $(shell [ $(call ld-version) $(1) $(2) ] && echo $(3))
171# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= 171# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj=
172# Usage: 172# Usage:
173# $(Q)$(MAKE) $(build)=dir 173# $(Q)$(MAKE) $(build)=dir
174build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj 174build := -f $(srctree)/scripts/Makefile.build obj
175 175
176### 176###
177# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.modbuiltin obj= 177# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.modbuiltin obj=
178# Usage: 178# Usage:
179# $(Q)$(MAKE) $(modbuiltin)=dir 179# $(Q)$(MAKE) $(modbuiltin)=dir
180modbuiltin := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.modbuiltin obj 180modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj
181 181
182# Prefix -I with $(srctree) if it is not an absolute path. 182# Prefix -I with $(srctree) if it is not an absolute path.
183# skip if -I has no parameter 183# skip if -I has no parameter
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index bf3e6778cd71..649ce6844033 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -79,11 +79,11 @@ endif
79 79
80# =========================================================================== 80# ===========================================================================
81 81
82ifneq ($(strip $(lib-y) $(lib-m) $(lib-n) $(lib-)),) 82ifneq ($(strip $(lib-y) $(lib-m) $(lib-)),)
83lib-target := $(obj)/lib.a 83lib-target := $(obj)/lib.a
84endif 84endif
85 85
86ifneq ($(strip $(obj-y) $(obj-m) $(obj-n) $(obj-) $(subdir-m) $(lib-target)),) 86ifneq ($(strip $(obj-y) $(obj-m) $(obj-) $(subdir-m) $(lib-target)),)
87builtin-target := $(obj)/built-in.o 87builtin-target := $(obj)/built-in.o
88endif 88endif
89 89
@@ -382,16 +382,14 @@ cmd_link_multi-y = $(LD) $(ld_flags) -r -o $@ $(link_multi_deps) $(cmd_secanalys
382quiet_cmd_link_multi-m = LD [M] $@ 382quiet_cmd_link_multi-m = LD [M] $@
383cmd_link_multi-m = $(cmd_link_multi-y) 383cmd_link_multi-m = $(cmd_link_multi-y)
384 384
385# We would rather have a list of rules like 385$(multi-used-y): FORCE
386# foo.o: $(foo-objs)
387# but that's not so easy, so we rather make all composite objects depend
388# on the set of all their parts
389$(multi-used-y) : %.o: $(multi-objs-y) FORCE
390 $(call if_changed,link_multi-y) 386 $(call if_changed,link_multi-y)
387$(call multi_depend, $(multi-used-y), .o, -objs -y)
391 388
392$(multi-used-m) : %.o: $(multi-objs-m) FORCE 389$(multi-used-m): FORCE
393 $(call if_changed,link_multi-m) 390 $(call if_changed,link_multi-m)
394 @{ echo $(@:.o=.ko); echo $(link_multi_deps); } > $(MODVERDIR)/$(@F:.o=.mod) 391 @{ echo $(@:.o=.ko); echo $(link_multi_deps); } > $(MODVERDIR)/$(@F:.o=.mod)
392$(call multi_depend, $(multi-used-m), .o, -objs -y)
395 393
396targets += $(multi-used-y) $(multi-used-m) 394targets += $(multi-used-y) $(multi-used-m)
397 395
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
index a651cee84f2a..b1c668dc6815 100644
--- a/scripts/Makefile.clean
+++ b/scripts/Makefile.clean
@@ -10,7 +10,7 @@ __clean:
10# Shorthand for $(Q)$(MAKE) scripts/Makefile.clean obj=dir 10# Shorthand for $(Q)$(MAKE) scripts/Makefile.clean obj=dir
11# Usage: 11# Usage:
12# $(Q)$(MAKE) $(clean)=dir 12# $(Q)$(MAKE) $(clean)=dir
13clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj 13clean := -f $(srctree)/scripts/Makefile.clean obj
14 14
15# The filename Kbuild has precedence over Makefile 15# The filename Kbuild has precedence over Makefile
16kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) 16kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src))
@@ -23,15 +23,13 @@ __subdir-y := $(patsubst %/,%,$(filter %/, $(obj-y)))
23subdir-y += $(__subdir-y) 23subdir-y += $(__subdir-y)
24__subdir-m := $(patsubst %/,%,$(filter %/, $(obj-m))) 24__subdir-m := $(patsubst %/,%,$(filter %/, $(obj-m)))
25subdir-m += $(__subdir-m) 25subdir-m += $(__subdir-m)
26__subdir-n := $(patsubst %/,%,$(filter %/, $(obj-n)))
27subdir-n += $(__subdir-n)
28__subdir- := $(patsubst %/,%,$(filter %/, $(obj-))) 26__subdir- := $(patsubst %/,%,$(filter %/, $(obj-)))
29subdir- += $(__subdir-) 27subdir- += $(__subdir-)
30 28
31# Subdirectories we need to descend into 29# Subdirectories we need to descend into
32 30
33subdir-ym := $(sort $(subdir-y) $(subdir-m)) 31subdir-ym := $(sort $(subdir-y) $(subdir-m))
34subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-)) 32subdir-ymn := $(sort $(subdir-ym) $(subdir-))
35 33
36# Add subdir path 34# Add subdir path
37 35
diff --git a/scripts/Makefile.fwinst b/scripts/Makefile.fwinst
index d8e335eed226..5b698add4f31 100644
--- a/scripts/Makefile.fwinst
+++ b/scripts/Makefile.fwinst
@@ -2,7 +2,7 @@
2# Installing firmware 2# Installing firmware
3# 3#
4# We don't include the .config, so all firmware files are in $(fw-shipped-) 4# We don't include the .config, so all firmware files are in $(fw-shipped-)
5# rather than in $(fw-shipped-y) or $(fw-shipped-n). 5# rather than in $(fw-shipped-y) or $(fw-shipped-m).
6# ========================================================================== 6# ==========================================================================
7 7
8INSTALL := install 8INSTALL := install
diff --git a/scripts/Makefile.host b/scripts/Makefile.host
index ab5980f91714..133edfae5b8a 100644
--- a/scripts/Makefile.host
+++ b/scripts/Makefile.host
@@ -96,8 +96,9 @@ quiet_cmd_host-cmulti = HOSTLD $@
96 cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \ 96 cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \
97 $(addprefix $(obj)/,$($(@F)-objs)) \ 97 $(addprefix $(obj)/,$($(@F)-objs)) \
98 $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) 98 $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
99$(host-cmulti): $(obj)/%: $(host-cobjs) FORCE 99$(host-cmulti): FORCE
100 $(call if_changed,host-cmulti) 100 $(call if_changed,host-cmulti)
101$(call multi_depend, $(host-cmulti), , -objs)
101 102
102# Create .o file from a single .c file 103# Create .o file from a single .c file
103# host-cobjs -> .o 104# host-cobjs -> .o
@@ -113,8 +114,9 @@ quiet_cmd_host-cxxmulti = HOSTLD $@
113 $(foreach o,objs cxxobjs,\ 114 $(foreach o,objs cxxobjs,\
114 $(addprefix $(obj)/,$($(@F)-$(o)))) \ 115 $(addprefix $(obj)/,$($(@F)-$(o)))) \
115 $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) 116 $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
116$(host-cxxmulti): $(obj)/%: $(host-cobjs) $(host-cxxobjs) FORCE 117$(host-cxxmulti): FORCE
117 $(call if_changed,host-cxxmulti) 118 $(call if_changed,host-cxxmulti)
119$(call multi_depend, $(host-cxxmulti), , -objs -cxxobjs)
118 120
119# Create .o file from a single .cc (C++) file 121# Create .o file from a single .cc (C++) file
120quiet_cmd_host-cxxobjs = HOSTCXX $@ 122quiet_cmd_host-cxxobjs = HOSTCXX $@
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 260bf8acfce9..54be19a0fa51 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -159,6 +159,15 @@ dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
159modname-multi = $(sort $(foreach m,$(multi-used),\ 159modname-multi = $(sort $(foreach m,$(multi-used),\
160 $(if $(filter $(subst $(obj)/,,$*.o), $($(m:.o=-objs)) $($(m:.o=-y))),$(m:.o=)))) 160 $(if $(filter $(subst $(obj)/,,$*.o), $($(m:.o=-objs)) $($(m:.o=-y))),$(m:.o=))))
161 161
162# Useful for describing the dependency of composite objects
163# Usage:
164# $(call multi_depend, multi_used_targets, suffix_to_remove, suffix_to_add)
165define multi_depend
166$(foreach m, $(notdir $1), \
167 $(eval $(obj)/$m: \
168 $(addprefix $(obj)/, $(foreach s, $3, $($(m:%$(strip $2)=%$(s)))))))
169endef
170
162ifdef REGENERATE_PARSERS 171ifdef REGENERATE_PARSERS
163 172
164# GPERF 173# GPERF
diff --git a/scripts/bootgraph.pl b/scripts/bootgraph.pl
index 9ca667bcaee9..9ca667bcaee9 100644..100755
--- a/scripts/bootgraph.pl
+++ b/scripts/bootgraph.pl
diff --git a/scripts/export_report.pl b/scripts/export_report.pl
index 8f79b701de87..8f79b701de87 100644..100755
--- a/scripts/export_report.pl
+++ b/scripts/export_report.pl
diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh
index c9469d34ecc6..c9469d34ecc6 100644..100755
--- a/scripts/gcc-goto.sh
+++ b/scripts/gcc-goto.sh
diff --git a/scripts/gcc-ld b/scripts/gcc-ld
index cadab9a13ed7..cadab9a13ed7 100644..100755
--- a/scripts/gcc-ld
+++ b/scripts/gcc-ld
diff --git a/scripts/gcc-version.sh b/scripts/gcc-version.sh
index 7f2126df91f2..7f2126df91f2 100644..100755
--- a/scripts/gcc-version.sh
+++ b/scripts/gcc-version.sh
diff --git a/scripts/gcc-x86_32-has-stack-protector.sh b/scripts/gcc-x86_32-has-stack-protector.sh
index 12dbd0b11ea4..12dbd0b11ea4 100644..100755
--- a/scripts/gcc-x86_32-has-stack-protector.sh
+++ b/scripts/gcc-x86_32-has-stack-protector.sh
diff --git a/scripts/gcc-x86_64-has-stack-protector.sh b/scripts/gcc-x86_64-has-stack-protector.sh
index 973e8c141567..973e8c141567 100644..100755
--- a/scripts/gcc-x86_64-has-stack-protector.sh
+++ b/scripts/gcc-x86_64-has-stack-protector.sh
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh
index 17fa901418ae..17fa901418ae 100644..100755
--- a/scripts/gen_initramfs_list.sh
+++ b/scripts/gen_initramfs_list.sh
diff --git a/scripts/headers_check.pl b/scripts/headers_check.pl
index 62320f93e903..62320f93e903 100644..100755
--- a/scripts/headers_check.pl
+++ b/scripts/headers_check.pl
diff --git a/scripts/headers_install.sh b/scripts/headers_install.sh
index fdebd66f8fc1..fdebd66f8fc1 100644..100755
--- a/scripts/headers_install.sh
+++ b/scripts/headers_install.sh
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index ebf40f6edb4d..9645c0739386 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -176,39 +176,10 @@ qconf-cxxobjs := qconf.o
176qconf-objs := zconf.tab.o 176qconf-objs := zconf.tab.o
177gconf-objs := gconf.o zconf.tab.o 177gconf-objs := gconf.o zconf.tab.o
178 178
179hostprogs-y := conf 179hostprogs-y := conf nconf mconf kxgettext qconf gconf
180
181ifeq ($(MAKECMDGOALS),nconfig)
182 hostprogs-y += nconf
183endif
184
185ifeq ($(MAKECMDGOALS),menuconfig)
186 hostprogs-y += mconf
187endif
188
189ifeq ($(MAKECMDGOALS),update-po-config)
190 hostprogs-y += kxgettext
191endif
192
193ifeq ($(MAKECMDGOALS),xconfig)
194 qconf-target := 1
195endif
196ifeq ($(MAKECMDGOALS),gconfig)
197 gconf-target := 1
198endif
199
200
201ifeq ($(qconf-target),1)
202 hostprogs-y += qconf
203endif
204
205ifeq ($(gconf-target),1)
206 hostprogs-y += gconf
207endif
208 180
209clean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck 181clean-files := qconf.moc .tmp_qtcheck .tmp_gtkcheck
210clean-files += zconf.tab.c zconf.lex.c zconf.hash.c gconf.glade.h 182clean-files += zconf.tab.c zconf.lex.c zconf.hash.c gconf.glade.h
211clean-files += mconf qconf gconf nconf
212clean-files += config.pot linux.pot 183clean-files += config.pot linux.pot
213 184
214# Check that we have the required ncurses stuff installed for lxdialog (menuconfig) 185# Check that we have the required ncurses stuff installed for lxdialog (menuconfig)
@@ -239,11 +210,12 @@ HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \
239HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) 210HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))
240 211
241HOSTLOADLIBES_nconf = $(shell \ 212HOSTLOADLIBES_nconf = $(shell \
242 pkg-config --libs menu panel ncurses 2>/dev/null \ 213 pkg-config --libs menuw panelw ncursesw 2>/dev/null \
214 || pkg-config --libs menu panel ncurses 2>/dev/null \
243 || echo "-lmenu -lpanel -lncurses" ) 215 || echo "-lmenu -lpanel -lncurses" )
244$(obj)/qconf.o: $(obj)/.tmp_qtcheck 216$(obj)/qconf.o: $(obj)/.tmp_qtcheck
245 217
246ifeq ($(qconf-target),1) 218ifeq ($(MAKECMDGOALS),xconfig)
247$(obj)/.tmp_qtcheck: $(src)/Makefile 219$(obj)/.tmp_qtcheck: $(src)/Makefile
248-include $(obj)/.tmp_qtcheck 220-include $(obj)/.tmp_qtcheck
249 221
@@ -300,7 +272,7 @@ endif
300 272
301$(obj)/gconf.o: $(obj)/.tmp_gtkcheck 273$(obj)/gconf.o: $(obj)/.tmp_gtkcheck
302 274
303ifeq ($(gconf-target),1) 275ifeq ($(MAKECMDGOALS),gconfig)
304-include $(obj)/.tmp_gtkcheck 276-include $(obj)/.tmp_gtkcheck
305 277
306# GTK needs some extra effort, too... 278# GTK needs some extra effort, too...
diff --git a/scripts/kconfig/lxdialog/check-lxdialog.sh b/scripts/kconfig/lxdialog/check-lxdialog.sh
index 9d2a4c585ee1..5075ebf2d3b9 100644..100755
--- a/scripts/kconfig/lxdialog/check-lxdialog.sh
+++ b/scripts/kconfig/lxdialog/check-lxdialog.sh
@@ -21,7 +21,11 @@ ldflags()
21# Where is ncurses.h? 21# Where is ncurses.h?
22ccflags() 22ccflags()
23{ 23{
24 if [ -f /usr/include/ncursesw/curses.h ]; then 24 if pkg-config --cflags ncursesw 2>/dev/null; then
25 echo '-DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1'
26 elif pkg-config --cflags ncurses 2>/dev/null; then
27 echo '-DCURSES_LOC="<ncurses.h>"'
28 elif [ -f /usr/include/ncursesw/curses.h ]; then
25 echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"' 29 echo '-I/usr/include/ncursesw -DCURSES_LOC="<curses.h>"'
26 echo ' -DNCURSES_WIDECHAR=1' 30 echo ' -DNCURSES_WIDECHAR=1'
27 elif [ -f /usr/include/ncurses/ncurses.h ]; then 31 elif [ -f /usr/include/ncurses/ncurses.h ]; then
diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h
index b4343d384926..fcffd5b41fb0 100644
--- a/scripts/kconfig/lxdialog/dialog.h
+++ b/scripts/kconfig/lxdialog/dialog.h
@@ -170,7 +170,7 @@ char item_tag(void);
170/* item list manipulation for lxdialog use */ 170/* item list manipulation for lxdialog use */
171#define MAXITEMSTR 200 171#define MAXITEMSTR 200
172struct dialog_item { 172struct dialog_item {
173 char str[MAXITEMSTR]; /* promtp displayed */ 173 char str[MAXITEMSTR]; /* prompt displayed */
174 char tag; 174 char tag;
175 void *data; /* pointer to menu item - used by menubox+checklist */ 175 void *data; /* pointer to menu item - used by menubox+checklist */
176 int selected; /* Set to 1 by dialog_*() function if selected. */ 176 int selected; /* Set to 1 by dialog_*() function if selected. */
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 9cb8522d8d22..9cb8522d8d22 100644..100755
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
index 86a4fe75f453..86a4fe75f453 100644..100755
--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
diff --git a/scripts/markup_oops.pl b/scripts/markup_oops.pl
index c21d16328d3f..c21d16328d3f 100644..100755
--- a/scripts/markup_oops.pl
+++ b/scripts/markup_oops.pl
diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 84af27bf0f99..84af27bf0f99 100644..100755
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
diff --git a/scripts/mksysmap b/scripts/mksysmap
index 7ada35a0f478..7ada35a0f478 100644..100755
--- a/scripts/mksysmap
+++ b/scripts/mksysmap
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 35d5a5877d04..35d5a5877d04 100644..100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
diff --git a/scripts/package/buildtar b/scripts/package/buildtar
index e046bff33589..e046bff33589 100644..100755
--- a/scripts/package/buildtar
+++ b/scripts/package/buildtar
diff --git a/scripts/profile2linkerlist.pl b/scripts/profile2linkerlist.pl
index 6943fa7cc95b..6943fa7cc95b 100644..100755
--- a/scripts/profile2linkerlist.pl
+++ b/scripts/profile2linkerlist.pl
diff --git a/scripts/rt-tester/rt-tester.py b/scripts/rt-tester/rt-tester.py
index 6d916c2a45a5..6d916c2a45a5 100644..100755
--- a/scripts/rt-tester/rt-tester.py
+++ b/scripts/rt-tester/rt-tester.py
diff --git a/scripts/selinux/install_policy.sh b/scripts/selinux/install_policy.sh
index f6a0ce71015f..f6a0ce71015f 100644..100755
--- a/scripts/selinux/install_policy.sh
+++ b/scripts/selinux/install_policy.sh
diff --git a/scripts/tracing/draw_functrace.py b/scripts/tracing/draw_functrace.py
index db40fa04cd51..db40fa04cd51 100644..100755
--- a/scripts/tracing/draw_functrace.py
+++ b/scripts/tracing/draw_functrace.py
diff --git a/scripts/xz_wrap.sh b/scripts/xz_wrap.sh
index 7a2d372f4885..7a2d372f4885 100644..100755
--- a/scripts/xz_wrap.sh
+++ b/scripts/xz_wrap.sh