From: Michael R. <mc...@sa...> - 2002-10-28 03:56:42
|
-----BEGIN PGP SIGNED MESSAGE----- Is ${KERNEL_SOURCE} actually defined by the toplevel makefile, or just "TOPDIR"?? Jeff, can I remind you to provide defaults for any new kernel configuration options? .. The following defaults are missing: Tracing thread support (CONFIG_MODE_TT) [N/y/?] Separate kernel address space support (CONFIG_MODE_SKAS) [N/y/?] make[1]: *** [oldconfig_nonint] Error 1 make[1]: Leaving directory `/c2/freeswan/sandboxes/nightly/UMLPOOL/plain' make: *** [uml] Error 1 .. This is my patch, but it doesn't work when I run it manually: cassidy-[/c2/freeswan/sandboxes/nightly] mcr 1102 %make -C UMLPOOL/plain -s -f Makefile script SCRIPT='@echo $$(MODFLAGS)' MAKEFLAGS= /bin/sh: MODFLAGS: command not found I also don't see a "script" target in my 2.4.19 patched kernel source. I find this error really bizarre too... === cd /c2/freeswan/sandboxes/nightly/linux/net/ipsec/ === /usr/bin/cvs diff -u Makefile Index: Makefile =================================================================== RCS file: /freeswan/MASTER/freeswan/linux/net/ipsec/Makefile,v retrieving revision 1.54 diff -u -r1.54 Makefile - --- Makefile 20 Oct 2002 06:10:30 -0000 1.54 +++ Makefile 28 Oct 2002 03:47:10 -0000 @@ -30,6 +30,12 @@ KLIPS_TOP=../.. endif +KERNEL_CFLAGS= $(shell $(MAKE) -C $(TOPDIR) -s -f Makefile \ + script SCRIPT='@echo $$(CFLAGS)' MAKEFLAGS= ) + +MODULE_CFLAGS= $(shell $(MAKE) -C $(TOPDIR) -s -f Makefile \ + script SCRIPT='@echo $$(MODFLAGS)' MAKEFLAGS= ) + ifneq ($(strip $(KLIPSMODULE)),) ifndef TOPDIR @@ -90,7 +96,7 @@ #EXTRA_CFLAGS += -nostdinc EXTRA_CFLAGS += -I${KLIPS_TOP}/include ifeq ($(ARCH),um) - -EXTRA_CFLAGS += -I${TOPDIR}/arch/${ARCH}/include +EXTRA_CFLAGS += -I${TOPDIR}/arch/${ARCH}/include -I${TOPDIR}/arch/${ARCH}/kernel/tt/include -I${TOPDIR}/arch/${ARCH}/kernel/skas/include endif EXTRA_CFLAGS += -I${TOPDIR}/include EXTRA_CFLAGS += -I${LIBZLIBSRCDIR} @@ -132,8 +138,11 @@ EXTRA_CFLAGS += -DSUBARCH=${SUBARCH} EXTRA_CFLAGS += -D__KERNEL__ -DMODULE -DMODVERSIONS EXTRA_CFLAGS += -include ${TOPDIR}/include/linux/modversions.h +EXTRA_CFLAGS += ${MODULE_CFLAGS} +#EXTRA_CFLAGS += -I${TOPDIR}/include -I${TOPDIR}/arch/${ARCH}/include -I${TOPDIR}/arch/${SUBARCH}/include +else +EXTRA_CFLAGS += ${KERNEL_SOURCE} endif === Exit status: 1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Finger me for keys iQCVAwUBPby1Z4qHRg3pndX9AQEQGQP+Lr4OWCDgVU+crMmGjwzptGrSIAxmUO4h 9I8wpQZs/xjujtzemYmEqIE6a0H6QkZCn+JPgAI6pk1B4xiNgQ2Nm+lMcU5QMzkd MDI0wVOozv68YhFNJgyIAJYLXM3Mmcp+zGzJ9M/7Gw8tCQAB0ahhWtf7cm1R8K02 /I3yTLBYcaA= =rRqZ -----END PGP SIGNATURE----- |