diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-09 06:26:20 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-10-02 07:55:02 -0400 |
commit | ac84eb47cc199d9df7eeb7b32630fc09295a030b (patch) | |
tree | 4471c7b7b13575e94201c51337ce2b9dbc95c124 /arch/arm | |
parent | 895ed4e895756ca5e0a0bf43f45b7eed7b9c604a (diff) |
kbuild: remove unnecessary variable initializaions
Clearing obj-y, obj-m, obj-n, obj- in each Makefile is
a useless habit.
They are non-exported variables; therefore they are always empty
whenever descending into each subdirectory.
(Moreorver, obj-y and obj-m are also set to empty at the beginning
of scripts/Makefile.build)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Peter Foley <pefoley2@pefoley.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-at91/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-ebsa110/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-exynos/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-iop13xx/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-iop32x/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-iop33x/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-ks8695/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-rpc/Makefile | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-s3c64xx/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-u300/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/plat-iop/Makefile | 6 | ||||
-rw-r--r-- | arch/arm/plat-omap/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/Makefile | 4 |
18 files changed, 0 insertions, 69 deletions
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile index 78e9cec282f4..75033839fc08 100644 --- a/arch/arm/mach-at91/Makefile +++ b/arch/arm/mach-at91/Makefile | |||
@@ -3,9 +3,6 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := irq.o gpio.o setup.o sysirq_mask.o | 5 | obj-y := irq.o gpio.o setup.o sysirq_mask.o |
6 | obj-m := | ||
7 | obj-n := | ||
8 | obj- := | ||
9 | 6 | ||
10 | obj-$(CONFIG_OLD_CLK_AT91) += clock.o | 7 | obj-$(CONFIG_OLD_CLK_AT91) += clock.o |
11 | obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o | 8 | obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.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 | ||
7 | obj-y := core.o io.o leds.o | 7 | obj-y := core.o io.o leds.o |
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
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 | # |
4 | obj-y := core.o clock.o | 4 | obj-y := core.o clock.o |
5 | obj-m := | ||
6 | obj-n := | ||
7 | obj- := | ||
8 | 5 | ||
9 | obj-$(CONFIG_EP93XX_DMA) += dma.o | 6 | obj-$(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 | ||
8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include | 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include |
9 | 9 | ||
10 | obj-y := | ||
11 | obj-m := | ||
12 | obj-n := | ||
13 | obj- := | ||
14 | |||
15 | # Core | 10 | # Core |
16 | 11 | ||
17 | obj-$(CONFIG_ARCH_EXYNOS) += exynos.o pmu.o exynos-smc.o firmware.o | 12 | obj-$(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 | ||
7 | obj-y := common.o dma.o isa-irq.o | 7 | obj-y := common.o dma.o isa-irq.o |
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
11 | 8 | ||
12 | pci-y += dc21285.o | 9 | pci-y += dc21285.o |
13 | pci-$(CONFIG_ARCH_CATS) += cats-pci.o | 10 | pci-$(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 @@ | |||
1 | obj-y := | ||
2 | obj-m := | ||
3 | obj-n := | ||
4 | obj- := | ||
5 | |||
6 | obj-$(CONFIG_ARCH_IOP13XX) += setup.o | 1 | obj-$(CONFIG_ARCH_IOP13XX) += setup.o |
7 | obj-$(CONFIG_ARCH_IOP13XX) += irq.o | 2 | obj-$(CONFIG_ARCH_IOP13XX) += irq.o |
8 | obj-$(CONFIG_ARCH_IOP13XX) += pci.o | 3 | obj-$(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 | ||
5 | obj-y := irq.o | 5 | obj-y := irq.o |
6 | obj-m := | ||
7 | obj-n := | ||
8 | obj- := | ||
9 | 6 | ||
10 | obj-$(CONFIG_MACH_GLANTANK) += glantank.o | 7 | obj-$(CONFIG_MACH_GLANTANK) += glantank.o |
11 | obj-$(CONFIG_ARCH_IQ80321) += iq80321.o | 8 | obj-$(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 | ||
5 | obj-y := irq.o uart.o | 5 | obj-y := irq.o uart.o |
6 | obj-m := | ||
7 | obj-n := | ||
8 | obj- := | ||
9 | 6 | ||
10 | obj-$(CONFIG_ARCH_IQ80331) += iq80331.o | 7 | obj-$(CONFIG_ARCH_IQ80331) += iq80331.o |
11 | obj-$(CONFIG_MACH_IQ80332) += iq80332.o | 8 | obj-$(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 | ||
6 | obj-y := cpu.o irq.o time.o devices.o | 6 | obj-y := cpu.o irq.o time.o devices.o |
7 | obj-m := | ||
8 | obj-n := | ||
9 | obj- := | ||
10 | 7 | ||
11 | # PCI support is optional | 8 | # PCI support is optional |
12 | obj-$(CONFIG_PCI) += pci.o | 9 | obj-$(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 | ||
7 | obj-y := dma.o ecard.o fiq.o irq.o riscpc.o time.o | 7 | obj-y := dma.o ecard.o fiq.o irq.o riscpc.o time.o |
8 | obj-m := | ||
9 | obj-n := | ||
10 | obj- := | ||
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 | ||
10 | obj-y := | ||
11 | obj-m := | ||
12 | obj-n := | ||
13 | obj- := | ||
14 | |||
15 | # core | 10 | # core |
16 | 11 | ||
17 | obj-y += common.o | 12 | obj-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 | ||
8 | obj-y := | ||
9 | obj-m := | ||
10 | obj-n := | ||
11 | obj- := | ||
12 | |||
13 | # Core | 8 | # Core |
14 | 9 | ||
15 | obj-y += common.o | 10 | obj-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 | ||
8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include | 8 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include |
9 | 9 | ||
10 | obj-y := | ||
11 | obj-m := | ||
12 | obj-n := | ||
13 | obj- := | ||
14 | |||
15 | # Core | 10 | # Core |
16 | 11 | ||
17 | obj-$(CONFIG_PM_SLEEP) += pm.o sleep.o | 12 | obj-$(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 |
6 | obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o | 6 | obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o |
7 | obj-m := | ||
8 | obj-n := | ||
9 | obj- := | ||
10 | 7 | ||
11 | # Specific board support | 8 | # Specific board support |
12 | obj-$(CONFIG_SA1100_ASSABET) += assabet.o | 9 | obj-$(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 | ||
5 | obj-y := core.o | 5 | obj-y := core.o |
6 | obj-m := | ||
7 | obj-n := | ||
8 | obj- := | ||
9 | 6 | ||
10 | obj-$(CONFIG_MACH_U300_SPIDUMMY) += dummyspichip.o | 7 | obj-$(CONFIG_MACH_U300_SPIDUMMY) += dummyspichip.o |
11 | obj-$(CONFIG_REGULATOR_AB3100) += regulator.o | 8 | obj-$(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 | ||
5 | obj-y := | ||
6 | |||
7 | # IOP32X | 5 | # IOP32X |
8 | obj-$(CONFIG_ARCH_IOP32X) += i2c.o | 6 | obj-$(CONFIG_ARCH_IOP32X) += i2c.o |
9 | obj-$(CONFIG_ARCH_IOP32X) += pci.o | 7 | obj-$(CONFIG_ARCH_IOP32X) += pci.o |
@@ -27,7 +25,3 @@ obj-$(CONFIG_ARCH_IOP33X) += restart.o | |||
27 | # IOP13XX | 25 | # IOP13XX |
28 | obj-$(CONFIG_ARCH_IOP13XX) += cp6.o | 26 | obj-$(CONFIG_ARCH_IOP13XX) += cp6.o |
29 | obj-$(CONFIG_ARCH_IOP13XX) += time.o | 27 | obj-$(CONFIG_ARCH_IOP13XX) += time.o |
30 | |||
31 | obj-m := | ||
32 | obj-n := | ||
33 | obj- := | ||
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 |
8 | obj-y := sram.o dma.o counter_32k.o | 8 | obj-y := sram.o dma.o counter_32k.o |
9 | obj-m := | ||
10 | obj-n := | ||
11 | obj- := | ||
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 a402262bb37f..f0a008496993 100644 --- a/arch/arm/plat-samsung/Makefile +++ b/arch/arm/plat-samsung/Makefile | |||
@@ -6,10 +6,6 @@ | |||
6 | 6 | ||
7 | ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include | 7 | ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include |
8 | 8 | ||
9 | obj-y := | ||
10 | obj-m := | ||
11 | obj- := | ||
12 | |||
13 | # Objects we always build independent of SoC choice | 9 | # Objects we always build independent of SoC choice |
14 | 10 | ||
15 | obj-y += init.o cpu.o | 11 | obj-y += init.o cpu.o |