mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 12:46:47 +07:00
43b426d6fa
The GPIO driver uses gpiolib, thus it should be compiled when CONFIG_GPIOLIB is defined and not only CONFIG_GENERIC_GPIO Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Linus Walleij <linus.walleij@linaro.org>
11 lines
324 B
Makefile
11 lines
324 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
|
|
|
|
obj-y += addr-map.o
|
|
|
|
orion-gpio-$(CONFIG_GPIOLIB) += gpio.o
|
|
obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o
|
|
obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y)
|