Commit [fa8179] Maximize Restore History

Merge branch 'master' of ssh://ltp.git.sf.net/gitroot/ltp/ltp

Garrett Cooper Garrett Cooper 2011-05-11

1 2 3 .. 17 > >> (Page 1 of 17)
removed runtest/selinux
changed doc/style-guide.txt
changed include/cleanup.c
changed include/databin.h
changed include/system_specific_hugepages_info.h
changed include/test.h
changed lib/databin.c
changed lib/system_specific_hugepages_info.c
changed lib/tlibio.c
changed runtest/mm
changed testcases/kernel/containers/netns/container_ftp.pl
changed testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
changed testcases/kernel/controllers/cpuset/cpuset_syscall_test/Makefile
changed testcases/kernel/controllers/memcg/functional/memcg_function_test.sh
changed testcases/kernel/controllers/memcg/functional/memcg_process.c
changed testcases/kernel/controllers/memctl/memctl_testplan.txt
changed testcases/kernel/controllers/memctl/run_memctl_test.sh
changed testcases/kernel/controllers/test_controllers.sh
changed testcases/kernel/fs/doio/Makefile
changed testcases/kernel/fs/doio/doio.c
changed testcases/kernel/fs/doio/growfiles.c
changed testcases/kernel/fs/doio/iogen.c
changed testcases/kernel/fs/fsstress/fsstress.c
copied doc/README.mk-devel -> doc/build-system-guide.txt
runtest/selinux
File was removed.
doc/style-guide.txt Diff Switch to side-by-side view
Loading...
include/cleanup.c Diff Switch to side-by-side view
Loading...
include/databin.h Diff Switch to side-by-side view
Loading...
include/system_specific_hugepages_info.h Diff Switch to side-by-side view
Loading...
include/test.h Diff Switch to side-by-side view
Loading...
lib/databin.c Diff Switch to side-by-side view
Loading...
lib/system_specific_hugepages_info.c Diff Switch to side-by-side view
Loading...
lib/tlibio.c Diff Switch to side-by-side view
Loading...
runtest/mm Diff Switch to side-by-side view
Loading...
testcases/kernel/containers/netns/container_ftp.pl Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/cgroup/cgroup_regression_test.sh Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/cpuset/cpuset_syscall_test/Makefile Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/memcg/functional/memcg_function_test.sh Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/memcg/functional/memcg_process.c Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/memctl/memctl_testplan.txt Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/memctl/run_memctl_test.sh Diff Switch to side-by-side view
Loading...
testcases/kernel/controllers/test_controllers.sh Diff Switch to side-by-side view
Loading...
testcases/kernel/fs/doio/Makefile Diff Switch to side-by-side view
Loading...
testcases/kernel/fs/doio/doio.c Diff Switch to side-by-side view
Loading...
testcases/kernel/fs/doio/growfiles.c Diff Switch to side-by-side view
Loading...
testcases/kernel/fs/doio/iogen.c Diff Switch to side-by-side view
Loading...
testcases/kernel/fs/fsstress/fsstress.c Diff Switch to side-by-side view
Loading...
doc/README.mk-devel to doc/build-system-guide.txt
--- a/doc/README.mk-devel
+++ b/doc/build-system-guide.txt
@@ -1,13 +1,18 @@
-==============================
-Introduction
-==============================
+Short introduction into LTP build system
+========================================
 
+******************************************************************************
 The following document briefly describes the steps and methodologies used for
 the new and improved Makefile system.
 
-==============================
+Changelog:
+ 
+ * Initial version: Garrett Cooper <yanegomi@gmail.com>
+ * Reformated for asciidoc: Cyril Hrubis <chrubis@suse.cz>
+******************************************************************************
+
 The Problem
-==============================
+-----------
 
 The problem with the old Makefile system is that it was very difficult to
 maintain and it lacked any sense of formal structure, thus developing for LTP
@@ -23,9 +28,8 @@
 These items needed to be fixed to reduce maintenance nightmares for the
 development community contributing to LTP, and the project maintainers.
 
-==============================
 Design
-==============================
+------
 
 The system was designed such that including a single GNU Makefile compatible
 set in each new directory component is all that's essentially required to
@@ -34,17 +38,20 @@
 Say you had a directory like the following (with .c files in them which
 directly tie into applications, e.g. baz.c -> baz):
 
-        .../foo/
-	     |--> Makefile
-	     |
-	      --> bar/
-		   |
-		    --> Makefile
-                   |
-                    --> baz.c
+-------------------------------------------------------------------------------
+.../foo/
+     |--> Makefile
+     |
+      --> bar/
+	   |
+	    --> Makefile
+           |
+            --> baz.c
+-------------------------------------------------------------------------------
 
 Here's an example of how one would accomplish that:
 
+-------------------------------------------------------------------------------
 .../foo/Makefile:
 #
 # Copyright disclaimer goes here -- please use GPLv2.
@@ -64,16 +71,18 @@
 
 include $(top_srcdir)/include/mk/env_pre.mk
 include $(top_srcdir)/include/mk/generic_leaf_target.mk
+-------------------------------------------------------------------------------
 
-==============================
 Make Rules and Make Variables
-==============================
+-----------------------------
 
 When using make rules, avoid writing ad hoc rules like:
 
+-------------------------------------------------------------------------------
 [prog]: [dependencies]
 	cc -I../../include $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LDLIBS) \
 	    -o [prog] [dependencies]
+-------------------------------------------------------------------------------
 
 etc. This makes cross-compilation and determinism difficult, if not impossible.
 Besides, implicit rules are your friends and as long as you use `MAKEOPTS=;' in
@@ -81,6 +90,7 @@
 will complete successfully, assuming all other prerequisites have been
 fulfilled (libraries, headers, etc).
 
+-------------------------------------------------------------------------------
 $(AR)			: The library archiver.
 
 $(CC)			: The system C compiler.
@@ -135,38 +145,35 @@
 			  -Wall, etc.
 
 $(WCXXFLAGS)		: Same as $(WCFLAGS), but for $(CXX).
+-------------------------------------------------------------------------------
 
-==============================
 Make System Variables
-==============================
+---------------------
 
 A series of variables are used within the make system that direct what actions
 need to be taken. Rather than me listing the variables here, please with their
 intended uses, please refer to the comments contained in
-`.../include/mk/env_pre.mk'.
++.../include/mk/env_pre.mk+.
 
-==============================
 Guidelines and Recommendations
-==============================
+------------------------------
 
 Of course, the GNU Make manual is key to understanding the Make system, but
 here are the following sections and chapters I suggest reviewing:
 
-- implicit rules: http://www.gnu.org/software/make/manual/make.html#Implicit-Rules
-- variables and expansion: http://www.gnu.org/software/make/manual/make.html#Using-Variables
-- origin use: http://www.gnu.org/software/make/manual/make.html#Origin-Function
-- vpath use: http://www.gnu.org/software/make/manual/make.html#Directory-Search
+link:http://www.gnu.org/software/make/manual/make.html#Implicit-Rules[Implicit Rules]
+link:http://www.gnu.org/software/make/manual/make.html#Using-Variables[Variables and Expansion]
+link:http://www.gnu.org/software/make/manual/make.html#Origin-Function[Origin Use]
+link:http://www.gnu.org/software/make/manual/make.html#Directory-Search[VPath Use]
 
-==============================
 Before Committing
-==============================
+-----------------
 
 One should rebuild from scratch before committing. Please see INSTALL for more
 details.
 
-==============================
 Other Errata
-==============================
+------------
 
 Please see TODO for any issues related to the Makefile infrastructure, and
 build structure / source tree in general.
1 2 3 .. 17 > >> (Page 1 of 17)