Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390: use obj-y to descend into drivers/s390/

The single build rule does not work with the drivers-y syntax. [1]

Use the standard obj-y syntax. It moves the objects from drivers/s390/
to slightly lower address, but fixes the reported issue.

[1]: https://lore.kernel.org/linux-kbuild/d57ba55f-20a3-b836-783d-b49c8a161b6e@kernel.org/T/#m27f781ab60acadfed8a9e9642f30d5414a5e2df3

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230721171358.3612099-1-masahiroy@kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

authored by

Masahiro Yamada and committed by
Heiko Carstens
305b9f4f 37002bc6

+2 -1
-1
arch/s390/Makefile
··· 119 119 OBJCOPYFLAGS := -O binary 120 120 121 121 libs-y += arch/s390/lib/ 122 - drivers-y += drivers/s390/ 123 122 124 123 boot := arch/s390/boot 125 124 syscalls := arch/s390/kernel/syscalls
+2
drivers/Makefile
··· 195 195 obj-$(CONFIG_HTE) += hte/ 196 196 obj-$(CONFIG_DRM_ACCEL) += accel/ 197 197 obj-$(CONFIG_CDX_BUS) += cdx/ 198 + 199 + obj-$(CONFIG_S390) += s390/