[PATCH] aicasm build with db4

From: J.A. Magallon
Date: Thu Jan 08 2004 - 12:09:16 EST



On 01.08, Linus Torvalds wrote:
>
> Not a lot to say, the ChangeLog says it all (and I include the -rc2 log
> too, since I forgot to actually ever post it). Mostly random smaller stuff
> all over. The big merges were all in rc1 and do not seem to have caused
> any huge headaches.
>
> Linus
>
> ---
>
> Summary of changes from v2.6.1-rc2 to v2.6.1-rc3
> ============================================
>

Would you mind including this for final 2.6.1 ? I allows aicasm build
with different db versions:

--- linux-2.6.0-test11/drivers/scsi/aic7xxx/aicasm/Makefile.orig 2003-12-02 23:52:29.000000000 +0100
+++ linux-2.6.0-test11/drivers/scsi/aic7xxx/aicasm/Makefile 2003-12-03 00:01:04.000000000 +0100
@@ -34,10 +34,14 @@
$(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG) $(LIBS)

aicdb.h:
- @if [ -e "/usr/include/db3/db_185.h" ]; then \
+ @if [ -e "/usr/include/db4/db_185.h" ]; then \
+ echo "#include <db4/db_185.h>" > aicdb.h; \
+ elif [ -e "/usr/include/db3/db_185.h" ]; then \
echo "#include <db3/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db2/db_185.h" ]; then \
echo "#include <db2/db_185.h>" > aicdb.h; \
+ elif [ -e "/usr/include/db1/db_185.h" ]; then \
+ echo "#include <db1/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db/db_185.h" ]; then \
echo "#include <db/db_185.h>" > aicdb.h; \
elif [ -e "/usr/include/db_185.h" ]; then \


--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.1-rc1-jam2 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-3mdk))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/