blob: 6971e51f66f9d94c6313921db7d2a622492e7e9b [file] [log] [blame]
# SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for GCIP framework.
#
CONFIG_GCIP ?= m
obj-$(CONFIG_GCIP) += gcip.o
gcip-objs := gcip-alloc-helper.o \
gcip-dma-fence.o \
gcip-domain-pool.o \
gcip-fault-injection.o \
gcip-fence-array.o \
gcip-fence.o \
gcip-firmware.o \
gcip-image-config.o \
gcip-iommu-reserve.o \
gcip-iommu.o \
gcip-kci.o \
gcip-mailbox.o \
gcip-mem-pool.o \
gcip-pm.o \
gcip-resource-accessor.o \
gcip-slc.o \
gcip-telemetry.o \
gcip-thermal.o \
gcip-usage-stats.o
gcip-objs += iif/iif-fence-table.o \
iif/iif-fence.o \
iif/iif-manager.o \
iif/iif-signaler-submission-waiter.o \
iif/iif-sync-file.o
CURRENT_DIR=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
ccflags-y += -I$(CURRENT_DIR)/../../include
modules modules_install clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) W=1 $(KBUILD_OPTIONS) $(@)