2004-10-12 00:41:21

by Blaisorblade

[permalink] [raw]
Subject: [patch 02/10] uml: force using /bin/bash for building


This forces make to use bash rather than whatever /bin/sh is linked to.
Without this, since there are some bash extensions used in the build and when
/bin/sh isn't bash, then the build fails without a clear error message.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
---

linux-2.6.9-current-paolo/arch/um/Makefile | 2 ++
1 files changed, 2 insertions(+)

diff -puN arch/um/Makefile~uml-force-bash arch/um/Makefile
--- linux-2.6.9-current/arch/um/Makefile~uml-force-bash 2004-10-12 01:06:02.860053432 +0200
+++ linux-2.6.9-current-paolo/arch/um/Makefile 2004-10-12 01:06:02.863052976 +0200
@@ -5,6 +5,8 @@

ARCH_DIR = arch/um
OS := $(shell uname -s)
+#We require it or things break.
+SHELL := /bin/bash

# Recalculate MODLIB to reflect the EXTRAVERSION changes (via KERNELRELEASE)
# The way the toplevel Makefile is written EXTRAVERSION is not supposed
_