Commit Graph
69 Commits
Author SHA1 Message Date
thomasl 0f4c945d42 remove -march=native on gcc because it breaks gcc on dlsch_decoding.c
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6261 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-15 08:06:19 +00:00
thomasl 5763b6aab5 roll back my modif for initial make that fails
(will rework it later)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6255 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-12 10:22:23 +00:00
thomasl 0d70b813a2 fix issue of blank char at beginning of string (not clear why it appeared)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6254 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-12 09:05:33 +00:00
thomasl 64a5068631 fix compilation warnings
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6240 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-10 18:14:41 +00:00
thomasl 999c437154 no more need to launch twice the make (bug in makefiles fixed)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6235 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-10 16:01:18 +00:00
thomasl 9379bc6ec2 fix depandancy issue that make make to fail first time
various performance and readability updates



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6234 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-10 15:31:39 +00:00
thomasl 344ec84e57 make it readable with correct line split
nevertheless probably more to do: seems not correct approach of Makefiles



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6215 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 16:27:32 +00:00
thomasl b2241e1a75 iadded a generic goal print-xxx that allow to print any variable
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6213 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 15:59:51 +00:00
thomasl 61feb989ad simplification
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6211 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 15:06:21 +00:00
thomasl cb9e1ca061 cosmetic: testnumber was wrong
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6210 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 14:31:26 +00:00
thomasl 88a2507ea1 fix issues about PEDANTIC checks in kernel makefile
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6209 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 14:27:27 +00:00
thomasl 8ce194450d fixed build modules issues I created, hope it is ok now
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6207 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 14:04:56 +00:00
thomasl 39dbfcd1c0 replace = by := when it is constant
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6205 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 12:36:38 +00:00
thomasl 340b98f6a6 replace = by := when it is constant
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6204 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 12:11:22 +00:00
thomasl a0dc39555e replace = by := when it is constant
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6203 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 12:09:21 +00:00
thomasl 0d37fcf6c9 ireplace = by := when it is constant
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6202 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 12:07:56 +00:00
thomasl 8e268d5482 Make performance: replace = by := when it doesn't change
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6201 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 12:01:38 +00:00
thomasl 6a7f138319 iperformance: replace = by := when it is constant shell call
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6200 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 11:59:52 +00:00
thomasl bef380205b replace = by := in shell commands to define svn version and date
therefore, the date will be the same for one given compilation and make will save a lot of forks



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6199 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 11:51:37 +00:00
thomasl 30e2218350 simplified Makefiles: group all general options of gcc in trunk/common/utils/Makefile.inc
remain issues with -m32 and -std=gnu99 , so I kept it defined locally in eahc makefile



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6198 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 09:50:13 +00:00
thomasl 2ea394ab0b Simplify and make better cojerency of gcc general options
remain issues: -m32 set in only some placed (not changed) -std=gnu99 is also partially set (can't compile if set everywhere)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6197 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 09:44:29 +00:00
thomasl 93e2dd4c8c bug fix : lack of one parameter to call rx_pdcch
gcc refuses to compile!



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6196 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-09 09:31:50 +00:00
thomasl c753e7bc32 use pxssh class for ssh
replace expect method by expect_exact: much faster execution



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6181 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-05 21:41:52 +00:00
thomasl d278d61961 fix file messages.xml generation that was not correct: the file is generated, but wrong content
this is also why we have to launch twice the make command



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6180 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-12-05 17:26:06 +00:00
thomasl d2332bba0d fix the fu.... inserting og @echo in parts before a make goal and list of commans that start by a TAB
that is not correct in makefiles: replaced by $(warning and $(info (the latest needs make version > 3.8, so ubuntu 12.04 is fine)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6093 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-24 11:30:01 +00:00
thomasl ff29928492 add directory creation for trace files
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6092 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-24 08:55:03 +00:00
thomasl 2b9475288f fix variation for kenrel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6091 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 12:12:07 +00:00
thomasl 556fc40be2 remove -mregparam=3 that seems not secure un i686 as we don't compile all with this option and it makes warnings in 64 bits as this option is not valid in this case
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6090 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 11:14:49 +00:00
thomasl ea384e0ec5 ifix kernel headers dir
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6089 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 10:16:13 +00:00
thomasl d2852511ce fix kernel header dir
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6088 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 10:14:34 +00:00
thomasl d3ac2e2809 fix kernel headers directory
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6087 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 10:12:58 +00:00
thomasl 7bb6429785 iremove conditional compil to kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6086 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 10:02:32 +00:00
thomasl dfc473ca74 iremove 2.6.22 kernel conditional compil
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6085 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 10:01:16 +00:00
thomasl 4ace223927 istill include modules.h in comment!
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6084 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 09:59:24 +00:00
thomasl 1b2c507d36 fix legacy kernel conditional compil
and the line to include modules.h has become commented (weird!)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6083 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-23 09:50:23 +00:00
thomasl d27b0a62a7 istart to add some common stuff such as CC=gcc
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6082 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 18:36:55 +00:00
thomasl c7d7e0ae06 Use one single way to know the kernel sorce directory:
include $(OPENAIR_HOME)/common/utils/Makefile.inc

then use the variable $(KERNEL_DIR)

this variable is set in $(OPENAIR_HOME)/common/utils/Makefile.inc as 
export KERNEL_DIR=/lib/modules/$(shell uname -r)/

Not fixed: card bus MIMO 1, third party SW as PMIPv6 and shell scripts



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6081 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 18:11:38 +00:00
thomasl b501feae18 remove option before kernel 2.6.30
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6080 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 17:02:09 +00:00
thomasl b12febec61 remove legacy kernel version detection
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6079 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 16:50:40 +00:00
thomasl d06d28524a remove legacy conditional compilation with kernel version
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6078 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 16:40:11 +00:00
thomasl 6df7aaaada iremove legacy kernel options
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6077 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 16:24:06 +00:00
thomasl 638519f3fb remove legacy options on kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6076 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:40:59 +00:00
thomasl e74a94f114 remove kernel 2.6 coditional code
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6075 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:29:27 +00:00
thomasl fb9dd1a42d remove legacy conditional compil for kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6072 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:10:55 +00:00
thomasl 4532d555f9 remove legacy options for kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6071 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:06:30 +00:00
thomasl 2209fe4cef clean old kernel 2.6 conditional options
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6070 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 15:01:28 +00:00
thomasl f53d4d4275 remove kernel 2.6 conditional compilation and replace other by native linux macros
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6069 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 14:58:22 +00:00
thomasl b25a551b68 cleanup kernel version tests
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6068 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 14:45:59 +00:00
thomasl af6a266d62 remove #if for kernel 2.x
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6067 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-21 14:41:04 +00:00
thomasl e576ee4046 alloc_netdev changed in kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6050 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:38:34 +00:00
thomasl bbaa0633e9 alloc_netdev changed in kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6049 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:34:06 +00:00
thomasl cb4395ca8e alloc_netdev changed in kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6048 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:31:59 +00:00
thomasl 0074535592 alloc_netdev changed for kernel 3.17
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6047 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-20 14:28:48 +00:00
thomasl 2ba14ef285 fix warnings : pthread_join type, and one printf warning (fixed with C99 i hope it's fine)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6041 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-19 14:10:00 +00:00
thomasl c2671778de add nettle installation that was lacking
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6040 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-19 12:21:28 +00:00
thomasl 8b8cc9834f ifix netle install: reverse if version = 12.04 to != 12.04 (I guess it is the initial intention)
fix ssh-server install: start servce after installation (else it doesn't start in ubuntu 14.04 at least)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6039 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-19 11:12:27 +00:00
thomasl a1ccea0ce0 fix compilation warning and printf of char % not correct (should be %%)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6038 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-19 09:15:28 +00:00
thomasl 83141ec421 fix wrong call to set_openair (that has been renamed as set_openair_env in preious versions)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6035 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-18 17:03:47 +00:00
thomasl 73ecffd9d5 fix set_openair() function to be correct from any launching directory
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6034 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-18 17:00:00 +00:00
thomasl 93b91fb3ef replace --force-yes by -y that is correct for the purpose of installting without confirmation
(--force-yes is made for another purpose: to install packages that are not correct)



git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6033 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-18 16:35:52 +00:00
thomasl 5f33087370 i fix error printing when module is not already loaded
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6031 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-18 10:24:14 +00:00
thomasl cf6aeec42c fix again: gnutls package in ubuntu 14.04 (I'll re-re-check from scratch later)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6030 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-18 09:42:34 +00:00
thomasl 865550a64d fix the directory where are linux headers for ubuntu 14
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6028 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 15:43:41 +00:00
thomasl 854c1bca27 remove @echo that are not possible in initial declarations
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6027 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 15:39:59 +00:00
thomasl 80f85e9ca2 realm .eur instead of .pft to be coherent with config files (in targets/PROJECTS/GENERIC-LTE-EPC/CONF/epc....conf)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6026 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 15:33:14 +00:00
thomasl 909d8c6fa7 test with ubuntu 14.04: gnutls-dev package doesn't exist (only 14.10)
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6024 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 15:25:00 +00:00
thomasl 16e7e35ef4 fix root directory setup function
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6020 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 08:14:14 +00:00
thomasl c729f6cf8b fix directories detection function
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6019 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 08:11:21 +00:00
thomasl 5cd4801694 Fix initial directories setup
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6018 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2014-11-17 08:03:11 +00:00