xref: /third_party/libabigail/tests/data/test-symtab/kernel-modversions/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-symtab/kernel-modversions/
1e01aa904Sopenharmony_ciobj-m += one_of_each.o
2e01aa904Sopenharmony_ci
3e01aa904Sopenharmony_ci# Overwrite to an actual kernel dir when using this:
4e01aa904Sopenharmony_ci#
5e01aa904Sopenharmony_ci# $ make KDIR=/path/to/actual/kernel/source/dir
6e01aa904Sopenharmony_ci#
7e01aa904Sopenharmony_ciKDIR := /tmp/some/kernel/source/dir
8e01aa904Sopenharmony_ci
9e01aa904Sopenharmony_ciPWD := $(shell pwd)
10e01aa904Sopenharmony_cidefault:
11e01aa904Sopenharmony_ci	make -C $(KDIR) tinyconfig
12e01aa904Sopenharmony_ci	cd $(KDIR) && ./scripts/config -e 64BIT -e MODULES -e MODVERSIONS -e CONFIG_DEBUG_INFO
13e01aa904Sopenharmony_ci	$(MAKE) -C $(KDIR) olddefconfig
14e01aa904Sopenharmony_ci	$(MAKE) -C $(KDIR)
15e01aa904Sopenharmony_ci	$(MAKE) -C $(KDIR) M=$(PWD) modules
16e01aa904Sopenharmony_ci	rm -rf *.mod.c *.o .*.cmd .*.d *.mod modules.order Module.symvers .tmp_versions
17e01aa904Sopenharmony_ci
18e01aa904Sopenharmony_ciclean:
19e01aa904Sopenharmony_ci	rm -f *.ko
20

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