aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boot/Makefile
diff options
context:
space:
mode:
authorDavid McCullough <david_mccullough@au.securecomputing.com>2007-07-26 04:43:41 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-26 04:43:41 -0400
commit1f25756a11d662a986553754bf398ccc38f3925e (patch)
tree3d0bb5dcf429eaf34064cd8db4ee1f578ab8be5a /arch/sh/boot/Makefile
parent699bc6614f4d5a68b8840d4d859e9ca205530a77 (diff)
sh: arch/sh/boot - fix shell usage
Fix the shell call to explicitly use bash, since they are bash specific and not all systems have bash as the default. Signed-off-by: David McCullough <david_mccullough@au.securecomputing.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boot/Makefile')
-rw-r--r--arch/sh/boot/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/boot/Makefile b/arch/sh/boot/Makefile
index 11dc272c618..4c5ffdcd55b 100644
--- a/arch/sh/boot/Makefile
+++ b/arch/sh/boot/Makefile
@@ -32,9 +32,10 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
32$(obj)/compressed/vmlinux: FORCE 32$(obj)/compressed/vmlinux: FORCE
33 $(Q)$(MAKE) $(build)=$(obj)/compressed $@ 33 $(Q)$(MAKE) $(build)=$(obj)/compressed $@
34 34
35KERNEL_LOAD := $(shell printf "0x%8x" $$[$(CONFIG_PAGE_OFFSET) + \ 35KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%8x" \
36 $(CONFIG_MEMORY_START) + \ 36 $$[$(CONFIG_PAGE_OFFSET) + \
37 $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]) 37 $(CONFIG_MEMORY_START) + \
38 $(CONFIG_ZERO_PAGE_OFFSET)+0x1000]')
38 39
39quiet_cmd_uimage = UIMAGE $@ 40quiet_cmd_uimage = UIMAGE $@
40 cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \ 41 cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A sh -O linux -T kernel \