Skip to content

Commit 7c210f3

Browse files
soc: adi: Moving compilation to platform Makefile
Moving subdirectory inclusion to platform specific Makefile. Allows finer control over compilation targets. Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
1 parent 2b197af commit 7c210f3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

drivers/soc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Makefile for the Linux Kernel SOC specific device drivers.
44
#
55

6-
obj-y += adi/ adi/mach-sc5xx/ adi/mach-sc59x/
6+
obj-y += adi/
77
obj-y += apple/
88
obj-y += aspeed/
99
obj-$(CONFIG_ARCH_AT91) += atmel/

drivers/soc/adi/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
# todo modularize; already depends on CONFIG_ARCH_SC59X_64 though
44

55
obj-y += pads_system.o system.o
6+
obj-$(CONFIG_ARCH_SC59X_64) += mach-sc59x/
7+
obj-$(CONFIG_ARCH_SC5XX) += mach-sc5xx/

0 commit comments

Comments
 (0)