Skip to content

Commit 844d5e4

Browse files
committed
soc: adi: Only build system drivers for ADSP architecture
SoC specific code should not be built for all platforms. Therefore only build it for ADSP 32/64-bit architectures. In the future system.c and system.c and pads_system.c should be replaced with the corresponding mainline frameworks. Signed-off-by: Philip Molloy <[email protected]>
1 parent e484297 commit 844d5e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/soc/adi/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# todo modularize; already depends on CONFIG_ARCH_SC59X_64 though
44

5-
obj-y += pads_system.o system.o
6-
5+
obj-$(CONFIG_ARCH_SC59X_64) += pads_system.o system.o
76
obj-$(CONFIG_ARCH_SC59X_64) += mach-sc59x/
87
obj-$(CONFIG_ARCH_SC59X_64) += mach-sc5xx/
98

9+
obj-$(CONFIG_ARCH_SC5XX) += pads_system.o system.o
1010
obj-$(CONFIG_ARCH_SC5XX) += mach-sc5xx/

0 commit comments

Comments
 (0)