update Intel copyright years to 2014
[dpdk.git] / scripts / gen-config-h.sh
index 1901ef3..009b5d2 100755 (executable)
@@ -2,7 +2,7 @@
 
 #   BSD LICENSE
 # 
-#   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+#   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
 #   All rights reserved.
 # 
 #   Redistribution and use in source and binary forms, with or without
 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+echo "#ifndef __RTE_CONFIG_H"
+echo "#define __RTE_CONFIG_H"
 grep CONFIG_ $1                                                         \
 | grep -v '^#'                                                  \
 | sed 's,CONFIG_\(.*\)=y.*$,#define \1 1,'                      \
 | sed 's,CONFIG_\(.*\)=n.*$,#undef \1,'                                 \
 | sed 's,CONFIG_\(.*\)=\(.*\)$,#define \1 \2,'                  \
 | sed 's,\# CONFIG_\(.*\) is not set$,#undef \1,'
+echo "#endif /* __RTE_CONFIG_H */"
+