aboutsummaryrefslogtreecommitdiff
path: root/2/module
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-11 17:44:19 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-11 17:44:19 +0200
commit11181adc990dd71f7c7c27b0486bd05744654a33 (patch)
tree6e4839f234c7b6a349cbab21cd461be7a2fc0ee5 /2/module
parent159f34a6637ad2685748e34ab904f8ad95c5073e (diff)
WIP container cross-compile builds (dropped)
Diffstat (limited to '2/module')
-rw-r--r--2/module/Makefile12
l---------2/module/config.h1
l---------2/module/fopdrv.c1
l---------2/module/fopdrv.h1
l---------2/module/main.c1
5 files changed, 16 insertions, 0 deletions
diff --git a/2/module/Makefile b/2/module/Makefile
new file mode 100644
index 0000000..01b2177
--- /dev/null
+++ b/2/module/Makefile
@@ -0,0 +1,12 @@
+RELEASE = 6.6.15-ti-rt-arm32-r1
+KERNEL := ../headers/
+ARCH := arm
+CROSS_COMPILE := arm-linux-gnueabi-
+
+obj-m += lork.o
+lork-y += main.o
+lork-y += fopdrv.o
+
+all:
+ $(MAKE) -C $(KERNEL) M=$(PWD) modules
+
diff --git a/2/module/config.h b/2/module/config.h
new file mode 120000
index 0000000..bad07c3
--- /dev/null
+++ b/2/module/config.h
@@ -0,0 +1 @@
+../../1/config.h \ No newline at end of file
diff --git a/2/module/fopdrv.c b/2/module/fopdrv.c
new file mode 120000
index 0000000..cbe1e0f
--- /dev/null
+++ b/2/module/fopdrv.c
@@ -0,0 +1 @@
+../../1/fopdrv.c \ No newline at end of file
diff --git a/2/module/fopdrv.h b/2/module/fopdrv.h
new file mode 120000
index 0000000..f9b9e9f
--- /dev/null
+++ b/2/module/fopdrv.h
@@ -0,0 +1 @@
+../../1/fopdrv.h \ No newline at end of file
diff --git a/2/module/main.c b/2/module/main.c
new file mode 120000
index 0000000..6180bb4
--- /dev/null
+++ b/2/module/main.c
@@ -0,0 +1 @@
+../../1/main.c \ No newline at end of file