mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
ac84eb47cc
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>
17 lines
386 B
Makefile
17 lines
386 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-omap/include
|
|
|
|
# Common support
|
|
obj-y := sram.o dma.o counter_32k.o
|
|
|
|
# omap_device support (OMAP2+ only at the moment)
|
|
|
|
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
|
|
obj-$(CONFIG_OMAP_DEBUG_LEDS) += debug-leds.o
|
|
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
|
|
obj-y += $(i2c-omap-m) $(i2c-omap-y)
|
|
|