Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac84eb47 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Michal Marek
Browse files

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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: default avatarPeter Foley <pefoley2@pefoley.com>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 895ed4e8
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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
+0 −3
Original line number Diff line number Diff line
@@ -5,6 +5,3 @@
# Object file lists.

obj-y			:= core.o io.o leds.o
obj-m			:=
obj-n			:=
obj-			:=
+0 −3
Original line number Diff line number Diff line
@@ -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

+0 −5
Original line number Diff line number Diff line
@@ -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
+0 −3
Original line number Diff line number Diff line
@@ -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
Loading