support out-of-tree build

by replacing `src` variable in Kbuild files.
This commit is contained in:
Bjarne von Horn
2023-09-11 11:43:39 +02:00
parent 722b2d607c
commit 73e6ea9ce6
12 changed files with 33 additions and 1 deletions
+3
View File
@@ -31,6 +31,9 @@
#
#------------------------------------------------------------------------------
src := @abs_srcdir@
ccflags-y := -I@abs_top_builddir@
obj-m := ec_tty.o
ec_tty-objs := \