- Sep 25, 2013
-
-
Nadav Har'El authored
The "cscope" make target piped a list of files into "cscope -bq", but this command doesn't read its input. The command should be "cscope -bq -i-" which reads the list of files from stdin. Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com>
-
- Sep 24, 2013
-
-
Liu Yuan authored
This will generate cscope index for the source files. Signed-off-by:
Liu Yuan <namei.unix@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Sep 23, 2013
-
-
Nadav Har'El authored
Currently, OSv's "make" builds both the kernel, using a normal Makefile, and the sample management framework, using the "Gradle" tool. We carefully hid Gradle's progress under one output line "GRADLE", but this leads to the "make" process hanging for a long time - up to several minutes, and all the puzzled user sees is the line "GRADLE". Users who didn't go for coffee will likely kill the build at this point ;-) Even worse, when Gradle fails, or just hangs (e.g., a bad or slow network connection), the user won't even know why. So let's just run Gradle normally, and let the user see its full output. This output is rather pretty and organized, so no real reason to hide it. Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com>
-
Nadav Har'El authored
Each of the "tags" and "TAGS" make targets was done in a different way, causing each to have a different problem: 1. "tags" (ctags) used the "-L" option which turns out is nonportable (only available in Exuberant Ctags). 2. "TAGS" (etags) ran the etags command separately for each source file, slowing it down. The best of both worlds is to use xargs to have ctags/etags operate on multiple files in each run using xargs. Because we cannot be sure xargs will run ctags/etags only once, we must delete the file first and use the "-a" (append) option. Also, this patch reduces code duplication - there is now one rule for both "tags" and "TAGS" targets that uses the correct tool (ctags or etags, respectively). Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com>
-
- Sep 20, 2013
-
-
Yang Bai authored
Added comments to explain the target tags and TAGS, also ignore the output file of ctags. Signed-off-by:
Yang Bai <hamo.by@gmail.com>
-
Yang Bai authored
add TAGS target to Makefile to support etags. Signed-off-by:
Yang Bai <hamo.by@gmail.com>
-
- Sep 17, 2013
-
-
Pekka Enberg authored
Running "ctags -R" takes a long time because of git submodules: [penberg@localhost osv]$ time ctags -R real 0m35.076s user 0m18.770s sys 0m3.929s Add a "make tags" target that's much faster to run: [penberg@localhost osv]$ time make tags find . -name "*.cc" -o -name "*.hh" -o -name "*.h" -o -name "*.c" | ctags -L - real 0m0.980s user 0m1.033s sys 0m0.158s Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Sep 16, 2013
-
-
Dmitry Fleytman authored
-
- Sep 14, 2013
-
-
Pekka Enberg authored
Add a "qcow2" target to Makefile that uses "qemu-img convert" to build a smaller qcow2 image out of the OSv raw image.
-
- Aug 29, 2013
-
-
narkisr authored
-
- Jun 18, 2013
-
-
Avi Kivity authored
Eclipse recognizes .mk as a makefile, make it easier for new users to use eclipse.
-
- May 31, 2013
-
-
Guy Zana authored
-
Christoph Hellwig authored
-
Christoph Hellwig authored
We need to ifdef out more unused code to not make gcc complain.
-
- Apr 22, 2013
-
-
Nadav Har'El authored
Added build ("make") framework for compiling Java code we want to run in OSv (in/with the Java payload), as well as JNI, i.e., OSv-specific C code we want to run from the above Java code. The Java source files in java/src/ are now all compiled during build (see java/build.xml for the Ant file doing this compilation) and the result is one JAR, build/$mode/java/cloudius.jar (/cloudius.jar in bootfs). We can easily change build.xml to create more than one if we want. As an example of JNI, I used the not-working-yet balloon feature. java/src/com/cloudius/balloon/Balloon.java is the class com.cloudius.balloon.Balloon which is supposed to have one "native" (implemented in C) function giveup(). This function's implementation is in java/jni/balloon.c. We get this file to compile to balloon.so (put in /usr/lib/jni in the bootfs) by adding java/jni/balloon.so to the "jni" list in build.mak. If you don't know how write the ugly function signature as seen in java/jni/balloon.c, you can run "javah com.cloudius.balloon.Balloon" to build the empty functions needed for implementing the native functions defined in the above class.
-
- Apr 02, 2013
-
-
Avi Kivity authored
If a target fails to build, it is probably corrupted. Delete it. Fixes misbuild after a second make with an incorrect bootfs.manifest.
-
- Mar 19, 2013
-
-
Avi Kivity authored
-
- Jan 30, 2013
-
-
Avi Kivity authored
-
- Jan 27, 2013
-
-
Avi Kivity authored
-
Avi Kivity authored
Not completely silent unfortunately.
-
Avi Kivity authored
One test so far: java.lang.System.nanoTime() We're only about 500% slower than native.
-
- Jan 11, 2013
-
-
Avi Kivity authored
-
- Dec 28, 2012
-
-
Avi Kivity authored
-
Avi Kivity authored
-
- Dec 27, 2012
-
-
Avi Kivity authored
-MD accepts no argument, and luckily the argument we supplied evaluated to nothing. Remove it.
-
Avi Kivity authored
the -MP switch allows make to ignore deleted files.
-
Avi Kivity authored
this gives us better dependency tracking.
-
Avi Kivity authored
-
Dor Laor authored
-
Avi Kivity authored
-
Avi Kivity authored
We need different rules for .s (compiled by 'gas') and .S ('gcc') since the compiler and assembler take different command line options.
-
Dor Laor authored
-
Dor Laor authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
-
Avi Kivity authored
It's as arch-specific as they come.
-
- Dec 26, 2012
-
-
Avi Kivity authored
This implementation stores small objects in pools of similar-sized objects, while large objects are allocated using a first-fit algorithm. There is also a specialized interface for allocating aligned pages.
-
- Dec 25, 2012
-
-
Avi Kivity authored
-
- Dec 24, 2012
-
-
Dor Laor authored
-