# This forces make to use bash rather than whatever /bin/sh is linked to. # There are some bash extensions used in the build (and maybe this needs # fixing) and when /bin/sh isn't bash, then the build fails mysteriously. Index: um/arch/um/Makefile =================================================================== --- um.orig/arch/um/Makefile 2004-09-10 12:13:05.000000000 -0400 +++ um/arch/um/Makefile 2004-09-14 01:26:31.000000000 -0400 @@ -29,6 +29,10 @@ include/linux/version.h: arch/$(ARCH)/Makefile +# We require bash because the vmlinux link and loader script cpp use bash +# features. +SHELL := /bin/bash + # Recalculate MODLIB to reflect the EXTRAVERSION changes (via KERNELRELEASE) # The way the toplevel Makefile is written EXTRAVERSION is not supposed # to be changed outside the toplevel Makefile, but recalculating MODLIB is