summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2017-07-05Fix Makefile function definitions to work with older versionOctavian Purdila1-1/+1
make 3.81 apparently does not support the "define f = " form. Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
2017-07-04MLK-15318-4 rework the build systemOctavian Purdila1-50/+17
Currently there is no common infrastructure to build the test and because of that there is a lot of duplication, and no consistency on how test are built. Also, because files are moved around, incremental builds don't work properly. Not the least, build errors are skipped and there is too much info output during the build, which makes it hard to understand what is going on. This patch completely reworks the build system to fix all of the described issues. It also removes the doc target from the default all target list, as it does not build succesfully, to avoid breaking default builds. To avoid code duplication each sub-makefile only needs to define the following information: BUILD - a list of executables to build COPY - a list of files to copy DIR - destination directory where the files should be put CFLAGS - additional flags to be used for compiling LDFLAGS - additional flags to be used for linking Rules will be automatically generated to build the executables and copy the files to the proper location. For a given executable the source filename is determined as following: if the executable is named exec.out the source file is expected to be exec.c, otherwise if the executable is named is exec the source is expected to be exec.c. For example: BUILD = a.out b will use a.c and b.c as sources. If an executable has multiple sources, it must define a new variable with the same name as the executable that contains all of the object names. For example: BUILD = a.out a.out = a.o b.o will built a.out from a.c and b.c. By default the output of the build is condensed, in a similar fashion with how the Linux kernel does it. Use V=1 to enable full build output. Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
2017-07-04MLK-15318-1 move test/doc to top levelOctavian Purdila1-1/+2
This prepares for test build refactoring and it is cleaner anyway to have the doc build related files at the top level. As a bonus, we can also skip building docs (which takes a significant amount and is not needed most of the time) by using 'make test'. Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
2017-05-11MLK-14876: Add README filesVanessa Maegima1-1/+1
Add README files with instructions to run each test Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
2017-05-11MLK-14876: Separate output files into folders according to Linux User GuideVanessa Maegima1-0/+31
Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
2015-12-22MLK-12041 remove module_test in linux-testGao Pan1-1/+1
remove module_test in target list of linux-test/Makefile Signed-off-by: Gao Pan <B54642@freescale.com>
2012-03-13ENGR00176473: Add doc generating framework and change autorun script frameworkRobby Cai1-2/+7
Add doc generating framwork --------------------------- Use `asciidoc' to generate multiple-format doc. Currently enabled chunked html output, PDF format can be enabled in doc/Makefile. The generated file 'ut_um.html' or 'ut_um.pdf' will be put under /unit_tests of rootfs when do daily building. Single-html format output can be added later on if it's required. (For example, single-html file per test case is easily to be searched/browsed when investigate a failed case). For developers, the user manual shall be added under doc directory of each test case. The file name should be in accordance with the one in all-suite.txt. So usually at least the following files should be touched. *) linux-test/all-suite.txt *) linux-test/test/XXX/doc/FSL-UT-XXX-YYY.txt *) linux-test/test/doc/ut_um.toc Please also see the comment in all-suite.txt for the rule to add a new test case in it. Change autorun script framework ------------------------------- Remove autorun-suite.txt, which will be generated from all-suite.txt at run-time by the filters whether it's automated & whether it's available on that platform. TODO: * Clean Test Cases by the rule -- one test case does one thing. * Add the script to get daily build image. * Differentiate the platforms in a unified way(one method to generate the autorun script suites and the test cases user manual.) * linux-test/test/doc/ut_um.toc will be generated automatically in upcoming patch. Signed-off-by: Robby Cai <R63905@freescale.com>
2008-09-22ENGR00090813 Updates for 2.6.26Rob Herring1-2/+4
Updates for 2.6.26. Remove old, obsolete tests. Signed-off-by: Rob Herring <r.herring@freescale.com>
2008-04-07ENGR00030479 remove misc-testdatabase.txtAlan Tull1-1/+1
2008-01-29ENGR00064089 Update makefiles for ltibRob Herring1-38/+14
Update makefiles for ltib install. Support returning error codes for sub-make calls Add ltib directory build spec file. Signed-off-by: Rob Herring <r.herring@freescale.com>
2008-01-22Initial commit from CVSRob Herring1-0/+94