summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard.Xiong <[email protected]>2015-03-22 08:56:37 +0800
committerBernard.Xiong <[email protected]>2015-03-22 08:56:37 +0800
commitcf37bccae40a364bc99ce648c286096eb51abe81 (patch)
treebaea51b11b5ae32111b6e66f260b8f8d37f55697
parentfbd620a7f4053f68cea82c67a0c7f515f1d02355 (diff)
Add copyright information
-rw-r--r--components/cplusplus/crt.cpp24
-rw-r--r--components/cplusplus/crt.h24
-rw-r--r--components/cplusplus/crt_init.c2
-rwxr-xr-xtools/wizard.py2
4 files changed, 50 insertions, 2 deletions
diff --git a/components/cplusplus/crt.cpp b/components/cplusplus/crt.cpp
index 6fa540b9e7..b6455f73f4 100644
--- a/components/cplusplus/crt.cpp
+++ b/components/cplusplus/crt.cpp
@@ -1,3 +1,27 @@
+/*
+* File : crt.cpp
+* This file is part of Device File System in RT-Thread RTOS
+* COPYRIGHT (C) 2008-2015, RT-Thread Development Team
+*
+* 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
+* 2015-03-07 Bernard Add copyright header.
+*/
+
#include <rtthread.h>
#include "crt.h"
diff --git a/components/cplusplus/crt.h b/components/cplusplus/crt.h
index fd287c2ad5..105aa0e4fc 100644
--- a/components/cplusplus/crt.h
+++ b/components/cplusplus/crt.h
@@ -1,3 +1,27 @@
+/*
+* File : crt.h
+* This file is part of Device File System in RT-Thread RTOS
+* COPYRIGHT (C) 2008-2015, RT-Thread Development Team
+*
+* 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
+* 2015-03-07 Bernard Add copyright header.
+*/
+
#ifndef CRT_H_
#define CRT_H_
diff --git a/components/cplusplus/crt_init.c b/components/cplusplus/crt_init.c
index 958177c1f2..9a823e394c 100644
--- a/components/cplusplus/crt_init.c
+++ b/components/cplusplus/crt_init.c
@@ -1,7 +1,7 @@
/*
* File : crt_init.c
* This file is part of Device File System in RT-Thread RTOS
-* COPYRIGHT (C) 2008-2011, RT-Thread Development Team
+* COPYRIGHT (C) 2008-2015, RT-Thread Development Team
*
* 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
diff --git a/tools/wizard.py b/tools/wizard.py
index 41e90775d8..d32f116a9b 100755
--- a/tools/wizard.py
+++ b/tools/wizard.py
@@ -40,7 +40,7 @@ SConscript_com = '''# RT-Thread building script for component
from building import *
cwd = GetCurrentDir()
-src = Glob('*.c')
+src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('COMPONENT_NAME', src, depend = [''], CPPPATH = CPPPATH)