From: <smi...@us...> - 2003-11-15 14:08:04
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv311/scripts Modified Files: ebtables Log Message: patch kernel before compiling ebtables Index: ebtables =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/ebtables,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ebtables 15 Nov 2003 01:52:06 -0000 1.1 +++ ebtables 15 Nov 2003 14:08:01 -0000 1.2 @@ -29,12 +29,6 @@ case $1 in build ) if [ "$CONFIG_EBTABLES" = "y" ]; then - FLAGS="-Wall -Wunused" - if [ "$CONFIG_GCC_STACK_PROTECTOR" = "y" ]; then - FLAGS="$FLAGS -fno-stack-protector" - fi - make MANDIR=/usr/share/man CFLAGS="$FLAGS" $PMAKE all|| exit 1 - strip_debug KERNELDIR=$(find_src_dir linux) zcat $DL_DIR/src/ebtables-brnf-*.diff.gz | patch -p 1 -d $KERNELDIR || exit 1 @@ -47,6 +41,12 @@ done echo "CONFIG_IP_NF_MATCH_PHYSDEV=m" >> $KERNELDIR/.config + FLAGS="-Wall -Wunused" + if [ "$CONFIG_GCC_STACK_PROTECTOR" = "y" ]; then + FLAGS="$FLAGS -fno-stack-protector" + fi + make MANDIR=/usr/share/man CFLAGS="$FLAGS" $PMAKE all|| exit 1 + strip_debug fi ;; |