xref: /openbmc/linux/arch/arm/plat-orion/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Makefile for the linux kernel.
4 #
5 ccflags-y := -I$(srctree)/$(src)/include
6 
7 orion-gpio-$(CONFIG_GPIOLIB)      += gpio.o
8 obj-$(CONFIG_PLAT_ORION_LEGACY)   += irq.o pcie.o time.o common.o mpp.o
9 obj-$(CONFIG_PLAT_ORION_LEGACY)   += $(orion-gpio-y)
10