Re: cross-compiling on OS X, make menuconfig fails

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Timur Tabi
Date: Tuesday, April 29, 2008 - 7:51 am

Roland Kuhn wrote:


Wow, that is messed up.  Especially since "/bin/sh --version" and "/bin/bash
--version" give me the same output.

Would you say that OS X is broken?  I'm having a hard time finding documentation
for 'sh', so I can't find out what echo -e  is supposed to do in 'sh'.

I read in the latest Linux Journal magazine that someone noticed that even
though the kernel scripts say #!/bin/sh, many of them are really bash scripts.
This person went through the effort of changing the script to be true 'sh'
scripts.  Has that code been merged in?


But the scripts still reference /bin/sh, so I would need to change the scripts
or symlink /bin/sh.  If I'm going to symlink /bin/sh, I'd rather just symlink it
to /bin/bash.


But printf is bash, not sh.  I would need to change #!/bin/sh to #!/bin/bash.

-- 
Timur Tabi
Linux kernel developer at Freescale
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: cross-compiling on OS X, make menuconfig fails, Tony Breeds, (Sun Apr 27, 6:51 pm)
Re: cross-compiling on OS X, make menuconfig fails, Roland Kuhn, (Mon Apr 28, 11:46 am)
Re: cross-compiling on OS X, make menuconfig fails, Timur Tabi, (Tue Apr 29, 7:51 am)
Re: cross-compiling on OS X, make menuconfig fails, Timur Tabi, (Tue Apr 29, 8:07 am)
Re: cross-compiling on OS X, make menuconfig fails, Sam Ravnborg, (Tue Apr 29, 9:45 am)
Re: cross-compiling on OS X, make menuconfig fails, Sam Ravnborg, (Tue Apr 29, 9:45 am)
Re: cross-compiling on OS X, make menuconfig fails, Sam Ravnborg, (Tue Apr 29, 11:06 am)
Re: Why use /bin/sh in kernel build system?, Mark Rustad, (Tue Apr 29, 1:27 pm)
Re: Why use /bin/sh in kernel build system?, Alexey Dobriyan, (Tue Apr 29, 2:41 pm)
Re: Why use /bin/sh in kernel build system?, Willy Tarreau, (Tue Apr 29, 3:24 pm)
Re: Why use /bin/sh in kernel build system?, Timur Tabi, (Tue Apr 29, 3:40 pm)
Re: cross-compiling on OS X, make menuconfig fails, Bernd Petrovitsch, (Tue Apr 29, 3:46 pm)
Re: Why use /bin/sh in kernel build system?, SL Baur, (Wed Apr 30, 2:42 am)
Re: Why use /bin/sh in kernel build system?, Jan Engelhardt, (Wed Apr 30, 4:48 am)
Re: cross-compiling on OS X, make menuconfig fails, Timur Tabi, (Wed Apr 30, 6:54 am)
Re: cross-compiling on OS X, make menuconfig fails, Sam Ravnborg, (Wed Apr 30, 7:18 am)
Re: cross-compiling on OS X, make menuconfig fails, Sam Ravnborg, (Sat May 3, 1:01 am)
Re: cross-compiling on OS X, make menuconfig fails, Roland Kuhn, (Sat May 3, 1:40 am)
Re: cross-compiling on OS X, make menuconfig fails, Arnd Hannemann, (Mon May 12, 6:22 am)