projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f373384
)
For the new build system. Extracts build flags from Linux
author
David Schleef
<ds@schleef.org>
Sat, 1 Dec 2001 04:41:38 +0000
(
04:41
+0000)
committer
David Schleef
<ds@schleef.org>
Sat, 1 Dec 2001 04:41:38 +0000
(
04:41
+0000)
scripts/linux_flags/Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/scripts/linux_flags/Makefile
b/scripts/linux_flags/Makefile
new file mode 100644
(file)
index 0000000..
248b7f6
--- /dev/null
+++ b/
scripts/linux_flags/Makefile
@@ -0,0
+1,19
@@
+
+#LINUXDIR=/home/ds/linux/linux-2.4.16-rthal5
+
+all:
+ $(MAKE) -C $(LINUXDIR) SUBDIRS=$(PWD) modules
+
+modules:
+ echo LINUXDIR=$(LINUXDIR) >flags
+ echo ARCH=$(ARCH) >>flags
+ echo CFLAGS="$(CFLAGS)" >>flags
+ echo AFLAGS="$(AFLAGS)" >>flags
+ echo LDFLAGS="$(LDFLAGS)" >>flags
+ echo ARFLAGS="$(ARFLAGS)" >>flags
+ echo CROSS_COMPILE="$(CROSS_COMPILE)" >>flags
+ echo KERNELRELEASE="$(KERNELRELEASE)" >>flags
+
+
+
+