[POWERPC] Don't require execute perms on wrapper when building zImage.initrd
authorMark A. Greer <mgreer@mvista.com>
Wed, 18 Oct 2006 21:38:09 +0000 (14:38 -0700)
committerPaul Mackerras <paulus@samba.org>
Mon, 23 Oct 2006 08:23:17 +0000 (18:23 +1000)
Don't require that the wrapper script be executable when building
zImage.initrds.  This has already been fixed for zImages.

Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile

index 37ddfca..4b2be61 100644 (file)
@@ -115,7 +115,7 @@ endif
 quiet_cmd_wrap = WRAP    $@
       cmd_wrap =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) vmlinux
 quiet_cmd_wrap_initrd = WRAP    $@
-      cmd_wrap_initrd =$(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
+      cmd_wrap_initrd =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \
                                -i $(obj)/ramdisk.image.gz vmlinux
 
 $(obj)/zImage.chrp: vmlinux $(wrapperbits)