1f08c3bdfSopenharmony_ci# 2f08c3bdfSopenharmony_ci# Makefile for GCOV profiling kernel module 3f08c3bdfSopenharmony_ci# 4f08c3bdfSopenharmony_ci 5f08c3bdfSopenharmony_ci#KERNELDIR := /usr/src/linux-2.5.64-gcov 6f08c3bdfSopenharmony_ciEXTRA_CFLAGS := -Wall -W -Wno-unused-parameter 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_ciifneq ($(KERNELRELEASE),) 9f08c3bdfSopenharmony_ci 10f08c3bdfSopenharmony_ciobj-m := tusb.o 11f08c3bdfSopenharmony_cielse 12f08c3bdfSopenharmony_ciKDIR := /lib/modules/$(shell uname -r)/build 13f08c3bdfSopenharmony_ciPWD := $(shell pwd) 14f08c3bdfSopenharmony_ci 15f08c3bdfSopenharmony_cidefault: 16f08c3bdfSopenharmony_ci $(MAKE) -C $(KDIR) M=$(PWD) modules 17f08c3bdfSopenharmony_ci# $(MAKE) -C $(KERNELDIR) M=$(PWD) modules 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_ciclean: 20f08c3bdfSopenharmony_ci $(MAKE) -C $(KDIR) M=$(PWD) clean 21f08c3bdfSopenharmony_ci rm -f modules.order 22f08c3bdfSopenharmony_ci 23f08c3bdfSopenharmony_cihelp: 24f08c3bdfSopenharmony_ci $(MAKE) -C $(KDIR) M=$(PWD) help 25f08c3bdfSopenharmony_ci 26f08c3bdfSopenharmony_cimodules_install: 27f08c3bdfSopenharmony_ci $(MAKE) -C $(KDIR) M=$(PWD) modules_install 28f08c3bdfSopenharmony_ci 29f08c3bdfSopenharmony_ciendif 30