xref: /third_party/ltp/testcases/kernel/device-drivers/base/tbase/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/kernel/device-drivers/base/tbase/
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_ciCFLAGS := $(CFLAGS) -Wall
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_ciifneq ($(KERNELRELEASE),)
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ciobj-m	:= tbase.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_ciendif
19f08c3bdfSopenharmony_ci
20f08c3bdfSopenharmony_ciclean:
21f08c3bdfSopenharmony_ci	rm -f tbase.o 2>/dev/null || true
22f08c3bdfSopenharmony_ci
23

Indexes created Thu Nov 07 10:32:03 CST 2024