diff options
author | David McCullough <david_mccullough@au.securecomputing.com> | 2007-07-26 04:43:41 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-26 04:43:41 -0400 |
commit | 1f25756a11d662a986553754bf398ccc38f3925e (patch) | |
tree | 3d0bb5dcf429eaf34064cd8db4ee1f578ab8be5a /arch/sh/boot/compressed | |
parent | 699bc6614f4d5a68b8840d4d859e9ca205530a77 (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/compressed')
-rw-r--r-- | arch/sh/boot/compressed/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sh/boot/compressed/Makefile b/arch/sh/boot/compressed/Makefile index d9512416f885..013504ae1122 100644 --- a/arch/sh/boot/compressed/Makefile +++ b/arch/sh/boot/compressed/Makefile | |||
@@ -16,9 +16,10 @@ endif | |||
16 | # | 16 | # |
17 | # IMAGE_OFFSET is the load offset of the compression loader | 17 | # IMAGE_OFFSET is the load offset of the compression loader |
18 | # | 18 | # |
19 | IMAGE_OFFSET := $(shell printf "0x%08x" $$[$(CONFIG_PAGE_OFFSET) + \ | 19 | IMAGE_OFFSET := $(shell /bin/bash -c 'printf "0x%08x" \ |
20 | $(CONFIG_MEMORY_START) + \ | 20 | $$[$(CONFIG_PAGE_OFFSET) + \ |
21 | $(CONFIG_BOOT_LINK_OFFSET)]) | 21 | $(CONFIG_MEMORY_START) + \ |
22 | $(CONFIG_BOOT_LINK_OFFSET)]') | ||
22 | 23 | ||
23 | LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) | 24 | LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) |
24 | 25 | ||