From f3de4594ddf86d5decfc8a1216068eca14e08f1a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 1 Dec 2001 04:41:38 +0000 Subject: [PATCH] For the new build system. Extracts build flags from Linux --- scripts/linux_flags/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/linux_flags/Makefile 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 + + + + -- 2.26.2