diff --git a/bsp/realview-a8/drivers/SConscript b/bsp/realview-a8/drivers/SConscript index a630c8a7c4..9987f53e4b 100644 --- a/bsp/realview-a8/drivers/SConscript +++ b/bsp/realview-a8/drivers/SConscript @@ -6,15 +6,6 @@ from building import * cwd = GetCurrentDir() src = Glob('*.c') -# remove no need file. -if GetDepend('RT_USING_LWIP') == False: - src_need_remove = ['dm9000.c'] # need remove file list. - SrcRemove(src, src_need_remove) - -if GetDepend('RT_USING_DFS') == False: - src_need_remove = ['sd.c'] # need remove file list. - SrcRemove(src, src_need_remove) - CPPPATH = [cwd] group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH) diff --git a/bsp/realview-a8/mk.sh b/bsp/realview-a8/mk.sh index 540f41c654..964009c271 100644 --- a/bsp/realview-a8/mk.sh +++ b/bsp/realview-a8/mk.sh @@ -6,6 +6,7 @@ KDIR=~/linux-git BUILD_ROOT_DIR=/temp-build/buildroot-2014.02/ scons -j20 +mkdir -p $BUILD_ROOT_DIR/output/target/vmm cp rtthread.bin $BUILD_ROOT_DIR/output/target/vmm ( diff --git a/bsp/realview-a8/rtt_api.h b/bsp/realview-a8/rtt_api.h index 815e06e3a0..365e756351 100644 --- a/bsp/realview-a8/rtt_api.h +++ b/bsp/realview-a8/rtt_api.h @@ -1,3 +1,31 @@ +/* + * serial.c UART driver + * + * COPYRIGHT (C) 2014, Shanghai Real-Thread Technology Co., Ltd + * + * This file is part of RT-Thread (http://www.rt-thread.org) + * + * All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * + * Change Logs: + * Date Author Notes + * 2014-04-07 Grissiom first version + */ + #ifndef __RTT_API_H__ #define __RTT_API_H__