[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#358568: fails to build with 2.6.16
Max Vozeler wrote:
> Jari, the test for "some 2.6 kernels need # character in
> KBUILD_BASENAME and KBUILD_MODNAME" returns true for Debian
> 2.6.16 kernels, where it used to return false for 2.6.15.
One of the changes that went into loop-AES-v3.1c broke that USE_KBUILD=y
that Debian module build seems to use. That KBUILD_STR(s)=\#s doesn't belong
there at all in USE_KBUILD=y builds. Below is my fix.
--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD
--- ../loop-AES-v3.1c/Makefile 2006-01-06 20:15:36.000000000 +0200
+++ ./Makefile 2006-01-27 15:36:38.000000000 +0200
@@ -1,7 +1,7 @@
#
# Makefile
#
-# Written by Jari Ruusu, January 6 2006
+# Written by Jari Ruusu, January 27 2006
#
# Copyright 2001-2006 by Jari Ruusu.
# Redistribution of this file is permitted under the GNU Public License.
@@ -118,11 +118,13 @@
SR1:=$(shell if grep -q -s "^basename_flags.*KBUILD_BASENAME.*KBUILD_STR" $(LS)/scripts/Makefile.lib; then echo y; fi)
endif
+ifneq ($(USE_KBUILD),y)
ifeq ($(SR1),y)
EF += -D"KBUILD_STR(s)=\#s"
else
EF += -D"KBUILD_STR(s)=s"
endif
+endif
ifeq ($(KEYSCRUB),y)
ifeq ($(shell if [ "$(VERSION)$(PATCHLEVEL)0" -ge 240 ]; then echo y; fi),y)
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/