From 023a0423ba92153b2ecbb70385986b4b28ff70cc Mon Sep 17 00:00:00 2001 From: Grissiom Date: Mon, 7 Apr 2014 11:18:58 +0800 Subject: [PATCH 1/3] [bsp/rva8] cleanup drivers/SConscript --- bsp/realview-a8/drivers/SConscript | 9 --------- 1 file changed, 9 deletions(-) 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) From 430f85df7ccf89fdc2f506a20aa7c0f80caf7c44 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Mon, 7 Apr 2014 11:35:22 +0800 Subject: [PATCH 2/3] [bsp/rva8] make sure $BUILD_ROOT_DIR/output/target/vmm is a folder --- bsp/realview-a8/mk.sh | 1 + 1 file changed, 1 insertion(+) 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 ( From 7d7390a18834048a0134d12a8e86557264bbd71f Mon Sep 17 00:00:00 2001 From: Grissiom Date: Mon, 7 Apr 2014 11:57:28 +0800 Subject: [PATCH 3/3] [bsp/rva8] add mission header in rtt_api.h --- bsp/realview-a8/rtt_api.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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__