kbuild: remove unnecessary variable initializaions
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 9 Sep 2014 10:26:20 +0000 (19:26 +0900)
committerMichal Marek <mmarek@suse.cz>
Thu, 2 Oct 2014 11:55:02 +0000 (13:55 +0200)
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>
18 files changed:
arch/arm/mach-at91/Makefile
arch/arm/mach-ebsa110/Makefile
arch/arm/mach-ep93xx/Makefile
arch/arm/mach-exynos/Makefile
arch/arm/mach-footbridge/Makefile
arch/arm/mach-iop13xx/Makefile
arch/arm/mach-iop32x/Makefile
arch/arm/mach-iop33x/Makefile
arch/arm/mach-ks8695/Makefile
arch/arm/mach-rpc/Makefile
arch/arm/mach-s3c24xx/Makefile
arch/arm/mach-s3c64xx/Makefile
arch/arm/mach-s5pv210/Makefile
arch/arm/mach-sa1100/Makefile
arch/arm/mach-u300/Makefile
arch/arm/plat-iop/Makefile
arch/arm/plat-omap/Makefile
arch/arm/plat-samsung/Makefile

index 78e9cec282f451c6e17c03845107087bb7ae0892..75033839fc08cb631d34732488a78687be879788 100644 (file)
@@ -3,9 +3,6 @@
 #
 
 obj-y          := irq.o gpio.o setup.o sysirq_mask.o
-obj-m          :=
-obj-n          :=
-obj-           :=
 
 obj-$(CONFIG_OLD_CLK_AT91)     += clock.o
 obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o
index 935e4af01a2769a7ab83282bda801389f36a4d50..a7d68c13c1d16fb53ef40d4f3633915ba3b2448f 100644 (file)
@@ -5,6 +5,3 @@
 # Object file lists.
 
 obj-y                  := core.o io.o leds.o
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
index 0dc51f9462ded5223839c8172d887da5b01fb063..78d427b34b1f2953c391af495d8e4f479ba6e811 100644 (file)
@@ -2,9 +2,6 @@
 # Makefile for the linux kernel.
 #
 obj-y                  := core.o clock.o
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
 
 obj-$(CONFIG_EP93XX_DMA)       += dma.o
 
index 788f26d21141df6c67c0511e51d9a72d4b02c86e..27ae6144679c6a369087420836bf7210b728f116 100644 (file)
@@ -7,11 +7,6 @@
 
 ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
 
-obj-y                          :=
-obj-m                          :=
-obj-n                          :=
-obj-                           :=
-
 # Core
 
 obj-$(CONFIG_ARCH_EXYNOS)      += exynos.o pmu.o exynos-smc.o firmware.o
index c3faa3bc84dd3ea49321d06ae997132dabd12c7b..e83d5c8396ff720a9c1cb8a3e9095fe4d9166f3c 100644 (file)
@@ -5,9 +5,6 @@
 # Object file lists.
 
 obj-y                  := common.o dma.o isa-irq.o
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
 
 pci-y                  += dc21285.o
 pci-$(CONFIG_ARCH_CATS) += cats-pci.o
index cad015fee12febbefa2e43fb5dbaaa3d39cfafcc..a3d9260e335f2f1e5f5e24119fc2e3cb247f00bd 100644 (file)
@@ -1,8 +1,3 @@
-obj-y                  :=
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
-
 obj-$(CONFIG_ARCH_IOP13XX) += setup.o
 obj-$(CONFIG_ARCH_IOP13XX) += irq.o
 obj-$(CONFIG_ARCH_IOP13XX) += pci.o
index cfdf8a137c2b9f8911771d87859b0edb4934019b..2d4010abb82fb7e9bcd4e00199f14766d67a353b 100644 (file)
@@ -3,9 +3,6 @@
 #
 
 obj-y                  := irq.o
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
 
 obj-$(CONFIG_MACH_GLANTANK) += glantank.o
 obj-$(CONFIG_ARCH_IQ80321) += iq80321.o
index 90081d8c9d16c862da18602d851d7aa92cbea5e5..e95db30d81d5ba74d34551a86020c66a0a40c431 100644 (file)
@@ -3,9 +3,6 @@
 #
 
 obj-y                  := irq.o uart.o
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
 
 obj-$(CONFIG_ARCH_IQ80331) += iq80331.o
 obj-$(CONFIG_MACH_IQ80332) += iq80332.o
index e370caf0c91beacf86ba38305e97f7182f3e4730..8ecb7973ae542c4fa8f89a8f29e9f1ccb6d95c72 100644 (file)
@@ -4,9 +4,6 @@
 #
 
 obj-y                          := cpu.o irq.o time.o devices.o
-obj-m                          :=
-obj-n                          :=
-obj-                           :=
 
 # PCI support is optional
 obj-$(CONFIG_PCI)              += pci.o
index 992e28b4ae9a54ddab9ea92b2d0c92d6b303964e..2ebc6875aeb8f69dc4e27fd1bc3f636e8b2125f2 100644 (file)
@@ -5,7 +5,3 @@
 # Object file lists.
 
 obj-y                  := dma.o ecard.o fiq.o irq.o riscpc.o time.o
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
-
index 2235d0d3b38dd933b81687bcc681001a2a44d8d8..b92071638733badcd7f69d65c685e35d731773a8 100644 (file)
@@ -7,11 +7,6 @@
 #
 # Licensed under GPLv2
 
-obj-y                          :=
-obj-m                          :=
-obj-n                          :=
-obj-                           :=
-
 # core
 
 obj-y                          += common.o
index 58069a702a435046ae627bff9ab4e8c689b1aa3c..12f67b61ca5f7e7340821f21744530bef0ec844d 100644 (file)
@@ -5,11 +5,6 @@
 #
 # Licensed under GPLv2
 
-obj-y                          :=
-obj-m                          :=
-obj-n                          :=
-obj-                           :=
-
 # Core
 
 obj-y                          += common.o
index 7dc2d0e25a83363e337e5e6e8433ee66ae1527cc..72b9e96715070f2c47b13b7f7aade101abb9586e 100644 (file)
@@ -7,11 +7,6 @@
 
 ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
 
-obj-y                          :=
-obj-m                          :=
-obj-n                          :=
-obj-                           :=
-
 # Core
 
 obj-$(CONFIG_PM_SLEEP)         += pm.o sleep.o
index 2732eef48966bfa337d34f32fb806f4e604d515c..f1114d11fe13eb21dfe51af7af00f0fb0c0e242a 100644 (file)
@@ -4,9 +4,6 @@
 
 # Common support
 obj-y := clock.o generic.o irq.o time.o #nmi-oopser.o
-obj-m :=
-obj-n :=
-obj-  :=
 
 # Specific board support
 obj-$(CONFIG_SA1100_ASSABET)           += assabet.o
index 3ec74ac95bc1c1087c04776c0c1b2e6176273f4f..87d37de054b65b5d273dddd29d97ac5fc0912c8b 100644 (file)
@@ -3,9 +3,6 @@
 #
 
 obj-y          := core.o
-obj-m          :=
-obj-n          :=
-obj-           :=
 
 obj-$(CONFIG_MACH_U300_SPIDUMMY)  += dummyspichip.o
 obj-$(CONFIG_REGULATOR_AB3100)    += regulator.o
index 224e56c6049b04f35579e385fd0a7bed83899b1c..f2af203d601f2bb057921e3277f489797dc77fc4 100644 (file)
@@ -2,8 +2,6 @@
 # Makefile for the linux kernel.
 #
 
-obj-y :=
-
 # IOP32X
 obj-$(CONFIG_ARCH_IOP32X) += i2c.o
 obj-$(CONFIG_ARCH_IOP32X) += pci.o
@@ -27,7 +25,3 @@ obj-$(CONFIG_ARCH_IOP33X) += restart.o
 # IOP13XX
 obj-$(CONFIG_ARCH_IOP13XX) += cp6.o
 obj-$(CONFIG_ARCH_IOP13XX) += time.o
-
-obj-m                  :=
-obj-n                  :=
-obj-                   :=
index 0b01b68fd033072c818de997bd07536feb2ca64b..97a50e8883f949726912263af5075db15c4d61e8 100644 (file)
@@ -6,9 +6,6 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-omap/include
 
 # Common support
 obj-y := sram.o dma.o counter_32k.o
-obj-m :=
-obj-n :=
-obj-  :=
 
 # omap_device support (OMAP2+ only at the moment)
 
index a402262bb37f3930719a11d3182ba0d7a25354d6..f0a008496993ec1a5fc1625068ffb69aa510a3f1 100644 (file)
@@ -6,10 +6,6 @@
 
 ccflags-$(CONFIG_ARCH_MULTI_V7) += -I$(srctree)/$(src)/include
 
-obj-y                          :=
-obj-m                          :=
-obj-                           :=
-
 # Objects we always build independent of SoC choice
 
 obj-y                          += init.o cpu.o
This page took 0.033304 seconds and 5 git commands to generate.