Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Merge branch 'devel'
[palacios-OLD.git] / kitten / init / Makefile
diff --git a/kitten/init/Makefile b/kitten/init/Makefile
new file mode 100644 (file)
index 0000000..ac410b3
--- /dev/null
@@ -0,0 +1,23 @@
+#
+# Makefile for the LWK.
+#
+
+obj-y                          := main.o version.o
+
+# files to be removed upon make clean
+clean-files := ../include/lwk/compile.h
+
+# dependencies on generated files need to be listed explicitly
+
+$(obj)/version.o: include/lwk/compile.h
+
+
+# compile.h changes depending on hostname, generation number, etc,
+# so we regenerate it always.
+# mkcompile_h will make sure to only update the
+# actual file if its content has changed.
+
+include/lwk/compile.h: FORCE
+       @echo '  CHK     $@'
+       $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
+       "$(UTS_MACHINE)" "$(CC) $(CFLAGS)"