xref: /third_party/ltp/testcases/kernel/device-drivers/nls/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/kernel/device-drivers/nls/
1f08c3bdfSopenharmony_ci#
2f08c3bdfSopenharmony_ci# Makefile for GCOV profiling kernel module
3f08c3bdfSopenharmony_ci#
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ciEXTRA_CFLAGS := -Wall -W -Wno-unused-parameter
6f08c3bdfSopenharmony_ci
7f08c3bdfSopenharmony_ciifneq ($(KERNELRELEASE),)
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_ciobj-m	:= nlsTest.o
10f08c3bdfSopenharmony_cielse
11f08c3bdfSopenharmony_ciKDIR	:= /lib/modules/$(shell uname -r)/build
12f08c3bdfSopenharmony_ciPWD	:= $(shell pwd)
13f08c3bdfSopenharmony_ci
14f08c3bdfSopenharmony_cidefault:
15f08c3bdfSopenharmony_ci	$(MAKE) -C $(KDIR) M=$(PWD) modules
16f08c3bdfSopenharmony_ci	${CC} $(EXTRA_CFLAGS) -o userBlockNLS userBlockNLS.c
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	rm -f userBlockNLS
23f08c3bdfSopenharmony_ci
24f08c3bdfSopenharmony_ciendif
25

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