From: David Schleef Date: Sat, 1 Dec 2001 04:41:38 +0000 (+0000) Subject: For the new build system. Extracts build flags from Linux X-Git-Tag: r0_7_62~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3de4594ddf86d5decfc8a1216068eca14e08f1a;p=comedi.git For the new build system. Extracts build flags from Linux --- diff --git a/scripts/linux_flags/Makefile b/scripts/linux_flags/Makefile new file mode 100644 index 00000000..248b7f61 --- /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 + + + +