Browse Source

Merge pull request #255 from grissiom/qemu-realview-vmm

Qemu realview vmm
Bernard Xiong 11 years ago
parent
commit
dfad3466a0
3 changed files with 29 additions and 9 deletions
  1. 0 9
      bsp/realview-a8/drivers/SConscript
  2. 1 0
      bsp/realview-a8/mk.sh
  3. 28 0
      bsp/realview-a8/rtt_api.h

+ 0 - 9
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)

+ 1 - 0
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
 
 (

+ 28 - 0
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__