|
我是根据Sady的教程进行的:https://www.right.com.cn/forum/thread-53623-1-1.html
同时也对照了官网的教程:
http://tomatousb.org/tut:how-to-build-and-rebuild-tomato-for-total-noobs#1
根据Sady兄的说明,我进行到:四. 查看并获取当前tomato 分支源码,有点小问题
root@ubuntu:/home/wwt/tomato_git/tomato# git branch -r
origin/Clientmon
origin/HEAD -> origin/tomato
origin/Moc-RT-N
origin/QOS-DEV
origin/QOS-Limiter
origin/Static-ARP
origin/Teaman-BWM
origin/Teaman-IPTraffic
origin/Teaman-ND
origin/Teaman-ND-SDHC
origin/Teaman-PPTP
origin/Teaman-RT
origin/Toastman-IPT-ND
origin/Toastman-ND
origin/Toastman-RT
origin/Toastman-RT-N
origin/Toastman-VLAN-ND
origin/Toastman-VLAN-RT
origin/Toastman-VLAN-RT-N
origin/Tomato-RAF
origin/Tomato-RAF-RT-N
origin/Transmission
origin/VLAN-GUI
origin/VLAN-MultiSSID
origin/minidlna
origin/multilanguage
origin/nfs_server
origin/ntfs-3g
origin/p910nd
origin/tomato
origin/tomato-K26-WL
origin/tomato-ND-USBmod
origin/tomato-ND-usbmod-mixvirtual**
origin/tomato-RT
origin/tomato-RT-N
origin/tomato-RT-jyavenard
origin/tomato-miniupnpd
origin/tomato-sdhc-ND-vlan
origin/tomato-shibby
origin/tomato-shibby-RT-N
origin/tomato-shibby-pl
origin/tomatovirtual**
origin/virtual**gui
origin/vsftpd
root@ubuntu:/home/wwt/tomato_git/tomato# git checkout origin/tomato-shibby-RT-N
Checking out files: 100% (97775/97775), done.
Note: checking out 'origin/tomato-shibby-RT-N'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 7695fa0... Merge branch 'tomato-shibby' into tomato-shibby-RT-N
root@ubuntu:/home/wwt/tomato_git/tomato#
root@ubuntu:/home/wwt/tomato_git/tomato#
以下是官网的命令获取到的:
root@ubuntu:/home/wwt/tomato_git/tomato# git tag | grep tomato*
tomato-1.21
tomato-1.22
tomato-1.23
tomato-1.24
tomato-1.25
tomato-1.26
tomato-1.27
tomato-1.28
tomato-1.28.7433-Toastman-RT
tomato-1.28.7434-Toastman-RT
tomato-1.28.7435-Toastman-RT
tomato-1.28.7436-Toastman-RT
tomato-1.28.7437-Toastman-RT
tomato-1.28.7438-Toastman-RT
tomato-1.28.7439-Toastman-RT
tomato-1.28.7440-Toastman-RT
tomato-1.28.7441-Toastman-RT
tomato-1.28.7443-Toastman-RT
tomato-1.28.7444-Toastman-RT
tomato-1.28.7445-Toastman-RT
tomato-1.28.7446-Toastman-RT
tomato-1.28.7447-Toastman-RT
tomato-1.28.7448-Toastman-RT
tomato-1.28.7450-Toastman-RT
tomato-1.28.7451-Toastman-RT
tomato-1.28.7452-Toastman-RT
tomato-1.28.7453-Toastman-RT
tomato-ND-1.21
tomato-ND-1.22
tomato-ND-1.23
tomato-ND-1.24
tomato-ND-1.25
tomato-ND-1.26
tomato-ND-1.27
tomato-RAF-1.23.8026
tomato-sdhc-1.23.01
tomato-sdhc-1.23.02
tomato-sdhc-1.25.01
tomato-sdhc-1.28.01
tomato-sdhc-ND-1.28.01
tomato-slodki-1.25.01
tomato-slodki-ND-1.28.01
tomato-slodki-ND-1.28.02
tomatousb-K26-1.27.9042
tomatousb-K26-1.27.9044
tomatousb-K26-1.27.9044.beta07
tomatousb-K26-1.27.9045.beta10
tomatousb-K26-1.27.9045.beta11
tomatousb-K26-1.27.9046.beta14
tomatousb-K26-1.27.9047.beta15
tomatousb-K26-1.27.9047.beta16
tomatousb-K26-1.28.9048.beta18
tomatousb-K26-1.28.9050.beta20
tomatousb-K26-1.28.9051.beta22
tomatousb-K26-1.28.9052.beta23
tomatousb-K26-1.28.9053.beta
tomatousb-K26-1.28.9054.beta
tomatousb-ND-1.23.8620
tomatousb-ND-1.23.8621
tomatousb-ND-1.23.8623
tomatousb-ND-1.23.8624
tomatousb-ND-1.23.8625
tomatousb-ND-1.23.8626
tomatousb-ND-1.25.8631
tomatousb-ND-1.25.8632
tomatousb-ND-1.25.8634
tomatousb-ND-1.25.8735
tomatousb-ND-1.25.8737
tomatousb-ND-1.25.8738
tomatousb-ND-1.25.8739
tomatousb-ND-1.27.8740
tomatousb-ND-1.27.8741
tomatousb-ND-1.27.8742
tomatousb-ND-1.27.8743
tomatousb-ND-1.27.8744
tomatousb-ND-1.27.8745
tomatousb-ND-1.27.8746
tomatousb-ND-1.27.8747
tomatousb-ND-1.28.8748
tomatousb-ND-1.28.8750
tomatousb-ND-1.28.8751
tomatousb-ND-1.28.8752
tomatousb-ND-1.28.8753
tomatousb-ND-1.28.8754
tomatousb-RT-20110224
tomatovirtual**-1.21virtual**2.0001
tomatovirtual**-1.22virtual**2.0002
tomatovirtual**-1.22virtual**2.0004
tomatovirtual**-1.22virtual**2.0005
tomatovirtual**-1.23virtual**2.0005
tomatovirtual**-1.23virtual**2.0006
tomatovirtual**-1.23virtual**3.0000
tomatovirtual**-1.23virtual**3.0001
tomatovirtual**-1.23virtual**3.2
tomatovirtual**-1.25virtual**3.3
tomatovirtual**-1.25virtual**3.4
tomatovirtual**-1.27virtual**3.5
tomatovirtual**-1.27virtual**3.6
tomatovirtual**-ND-1.21virtual**2.0001
tomatovirtual**-ND-1.22virtual**2.0002
tomatovirtual**-ND-1.22virtual**2.0004
tomatovirtual**-ND-1.22virtual**2.0005
tomatovirtual**-ND-1.23virtual**2.0005
tomatovirtual**-ND-1.23virtual**2.0006
tomatovirtual**-ND-1.23virtual**3.0000
tomatovirtual**-ND-1.23virtual**3.0001
tomatovirtual**-ND-1.23virtual**3.2
tomatovirtual**-ND-1.25virtual**3.3
tomatovirtual**-ND-1.25virtual**3.4
tomatovirtual**-ND-1.27virtual**3.5
tomatovirtual**-ND-1.27virtual**3.6
请问一下,以上二种有啥区别?
我还是按照Sady兄的教程执行:
root@ubuntu:/home/wwt/tomato_git/tomato# git checkout origin/tomato-shibby-RT-N
Checking out files: 100% (97775/97775), done.
Note: checking out 'origin/tomato-shibby-RT-N'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 7695fa0... Merge branch 'tomato-shibby' into tomato-shibby-RT-N
root@ubuntu:/home/wwt/tomato_git/tomato#
然后查看make help报错了,居然获取到的代码提示 Unterminated quoted string,晕了啊!
root@ubuntu:~/tomato/tomato/release/src-rt# make help
Makefile:829: warning: overriding commands for target `r2f'
Makefile:823: warning: ignoring old commands for target `r2f'
c BTgui - (Ext plus BT gui)
/bin/sh: Syntax error: Unterminated quoted string
make: *** [help] Error 2
|
|