freewrt_1_0
freewrt_2_0
|
Last change
on this file since ec960dd was ec960dd, checked in by Thorsten Glaser <tg@…>, 18 years ago |
|
MFC: mksh R28 → R31c+20070926
Reason: the busy-loop problem, which was fixed in R31b, was discovered
by spaetzle@ even doing some simpler pattern matching; also cf.
http://bugs.debian.org/296446 and http://mirbsd.de/mksh#clog
Side effects:
- you can now select to build a full-featured mksh in menuconfig
(still defaults to ‘n’, as does mksh itself)
- the new dot.mkshrc file offers pushd/popd/dirs (csh-like) as
well as the precmd() and chpwd() hooks (zsh-like)
- added dependency on busybox: “readlink -f”
- UI still the same, except no $? in $PS1 any more (req. by yofuh)
- /etc/mkshrc is now an ipkg conffile and handled appropriately
- building with pcc should be possible (if you turn optimisation off)
Tested:
- FreeWRT 1.0-stable, ASUS WL-500g, mksh as /bin/sh+/bin/ash full-featured
- FreeWRT-current (by spaetzle@) before the MFC
git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3582 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
937 bytes
|
| Rev | Line | |
|---|
| [ec960dd] | 1 | $FreeWRT$
|
|---|
| 2 |
|
|---|
| 3 | • bring mksh to the level of 2007/09/26
|
|---|
| 4 |
|
|---|
| 5 | --- mksh.orig/Build.sh Tue Sep 11 18:38:29 2007
|
|---|
| 6 | +++ mksh/Build.sh Fri Sep 21 10:46:56 2007
|
|---|
| 7 | @@ -1,5 +1,5 @@
|
|---|
| 8 | #!/bin/sh
|
|---|
| 9 | -# $MirOS: src/bin/mksh/Build.sh,v 1.265 2007/09/11 18:38:29 tg Exp $
|
|---|
| 10 | +# $MirOS: src/bin/mksh/Build.sh,v 1.266 2007/09/21 10:46:56 tg Exp $
|
|---|
| 11 | #-
|
|---|
| 12 | # Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
|---|
| 13 | # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
|
|---|
| 14 | @@ -365,6 +365,8 @@ cat >scn.c <<-'EOF'
|
|---|
| 15 | ct=dmc
|
|---|
| 16 | #elif defined(_MSC_VER)
|
|---|
| 17 | ct=msc
|
|---|
| 18 | + #elif defined(__PCC__)
|
|---|
| 19 | + ct=pcc
|
|---|
| 20 | #elif defined(__TenDRA__)
|
|---|
| 21 | ct=tendra
|
|---|
| 22 | #elif defined(__TINYC__)
|
|---|
| 23 | @@ -383,7 +385,7 @@ test 1 = $h && sed 's/^/[ /' x
|
|---|
| 24 | eval `cat x`
|
|---|
| 25 | rm -f x
|
|---|
| 26 | case $ct in
|
|---|
| 27 | -bcc|dmc|gcc|hpcc|icc|msc|sunpro|tcc|tendra|xlc) ;;
|
|---|
| 28 | +bcc|dmc|gcc|hpcc|icc|msc|pcc|sunpro|tcc|tendra|xlc) ;;
|
|---|
| 29 | *) ct=unknown ;;
|
|---|
| 30 | esac
|
|---|
| 31 | $e "$bi==> which compiler we seem to use...$ao $ui$ct$ao"
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.