blob: ab68776f808e446ad0e221c02498c5ce362246f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# SPDX-License-Identifier: GPL-2.0
#
# 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-firmware.o \
gcip-image-config.o \
gcip-kci.o \
gcip-mailbox.o \
gcip-mem-pool.o \
gcip-telemetry.o
CURRENT_DIR=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
ccflags-y += -I$(CURRENT_DIR)/../../include
ifdef CONFIG_GCIP_TEST
obj-y += unittests/
endif
modules modules_install clean:
$(MAKE) -C $(KERNEL_SRC) M=$(M) W=1 $(KBUILD_OPTIONS) $(@)
|