-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 687 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# WARNING: This Makefile should be used by Yocto Project recipe
# https://github.com/bloppan/meta-app/tree/main/recipes-kernel
obj-m += example_01/
obj-m += example_02/
obj-m += example_03/
obj-m += example_04/
obj-m += example_05/
obj-m += example_06/
obj-m += example_07/
obj-m += example_08/
obj-m += example_09/
obj-m += example_10/
obj-m += example_11/
obj-m += example_12/
obj-m += example_13/
SRC := $(shell pwd)
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
modules_install:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install
clean:
rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
rm -f Module.markers Module.symvers modules.order
rm -rf .tmp_versions Modules.symvers