Files
chandu078 0b18ce2ccb Add 'qcom/opensource/spu-kernel/' from commit '4c9a4e26166f56bb0f6fcb0f7d1e520dd65edd6d'
git-subtree-dir: qcom/opensource/spu-kernel
git-subtree-mainline: b0590861db
git-subtree-split: 4c9a4e2616
2025-08-03 09:22:27 +05:30

17 lines
384 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
KBUILD_OPTIONS+= SPU_ROOT=$(KERNEL_SRC)/$(M)
all:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
modules_install:
$(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
%:
$(MAKE) -C $(KERNEL_SRC) M=$(M) $@ $(KBUILD_OPTIONS)
clean:
rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
rm -rf .tmp_versions