change the compiling macro before DFS option
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Import beaglebone porting
use UART0 as console
Delete SConscript
finsh: unregister rx_indicate when closing the device

Because the device could still remain opened when closed by finsh, the
old rx_indicate is useless for finsh. Some buggy driver will still
generate rx_indicate even after the device has been closed. So FinSh
should unregister the rx_indicate when releasing the old device.
Merge pull request #158 from grissiom/finsh-fix

finsh: unregister rx_indicate when closing the device
kservice: export vsnprintf as rt_vsnprintf

vsnprintf is a common string function that could be used in many places.
Using both vsnprintf in libc and vsnprintf in the RTT could make a
bigger image. Moreover, if newlib is not enabled when compiling with
GCC, referencing vsnprintf will lead to link error:

    .../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-sbrkr.o):
    In function `_sbrk_r':
    sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
    collect2: error: ld returned 1 exit status

Using rt_vsnprintf could avoid such problem.
Merge pull request #159 from grissiom/misc-fix

kservice: export vsnprintf as rt_vsnprintf
logtrace: cleanup code and fix compiling warnings
logtrace: add LOG_TRACE_VERBOSE log level
logtrace: adjust the log values

logtrace only use odd number of log levels. So the use could set some
custom level amount them.
Merge pull request #160 from grissiom/misc-fix

logtrace: cleanup code and fix compiling warnings
update rt_kprintf: make sure the device is in STREAM mode when used by rt_kprintf.
notification function: rt_err_t (*tx_complete)(rt_device_t dev, void
*buffer) with buffer pointer
logtrace: only export cmd when finsh is enabled
msh: only export cd/pwd when DFS_USING_WORKDIR is set
Merge pull request #163 from grissiom/compiling-fix

Compiling fix
DFS/jffs2: fix file mode init bug in jffs2_open/opendir

found by haitao52198
URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
DFS/jffs2: fix bug when umount jffs2

found by haitao5198
clear mount parition device talbe when jffs2 mount falied