History log of /seL4-camkes-master/tools/rumprun/platform/xen/Makefile
Revision Date Author Comments
# 35d81194 07-Jun-2017 Wei Liu <wei.liu2@citrix.com>

Fix linking on Debian Stretch

Provide cc-option. Use that to check if -no-pie is available and
append it when necessary.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>


# 0c83c344 05-Sep-2016 Ian Jackson <ian.jackson@eu.citrix.com>

librumpxen_xendev: Re-enable build for xenbus, and add it to the default bake

Fixes issue #73 for the xenbus driver.

privcmd and evtchn are not fixed yet - they are still disabled.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>


# 71d23ea3 17-May-2016 Antti Kantee <pooka@iki.fi>

disable librumpxen_xendev

issue #73


# 3f6d6d08 11-Feb-2016 Antti Kantee <pooka@iki.fi>

Fix installation of xen private components


# a4e4c9c8 11-Feb-2016 Antti Kantee <pooka@iki.fi>

xen: build rumpxen{dev,if} from Makefile, not build-rr

Makes the platforms consistent.


# ce694155 11-Feb-2016 Antti Kantee <pooka@iki.fi>

xen Makefiles: g/c flags set elsewhere


# 5fc480e7 11-Feb-2016 Antti Kantee <pooka@iki.fi>

Put some common CFLAGS/CPPFLAGS into Makefile.inc


# 4b580c88 11-Feb-2016 Antti Kantee <pooka@iki.fi>

makefile: g/c leftover variable


# 63c2cae4 11-Feb-2016 Antti Kantee <pooka@iki.fi>

clean clean targets in Makefiles


# 83de8d27 22-Oct-2015 Antti Kantee <pooka@iki.fi>

Build libs into objdir.

The grand implication of this commit is that now it's possible to
build both hw and xen from the same source tree (which is useful
mostly for me so that I can easily test things when developing).
nb. different target cpus are still not supported from the same
source tree.


# eafda88a 21-Oct-2015 Antti Kantee <pooka@iki.fi>

Build libs into objdir.

Well, the ones built by platform/Makefile.inc, at any rate.


# ee05901d 21-Oct-2015 Antti Kantee <pooka@iki.fi>

Consolidate the RUMPRUN_MKCONF include dance into global.mk

Convert all safe-looking locations, i.e. NOT app-tools
or platform/xen/xen.


# 9513399b 21-Oct-2015 Antti Kantee <pooka@iki.fi>

create config.mk into objdir


# ae6f607c 16-Oct-2015 Antti Kantee <pooka@iki.fi>

platform/xen: don't override common TARGETS


# be80c8d9 16-Oct-2015 Antti Kantee <pooka@iki.fi>

fix xen/Makefile to work again


# d347e416 16-Oct-2015 Antti Kantee <pooka@iki.fi>

PLATFORM comes from config.mk, so g/c it from Makefiles.


# 62e7040a 16-Oct-2015 Antti Kantee <pooka@iki.fi>

Reduce copypasteware in Makefiles


# 265175be 15-Oct-2015 Antti Kantee <pooka@iki.fi>

Give app-tools its own Makefile instead of it being a .inc

This means that app-tools are now built directly by build-rr.sh
instead of being driven by platform/x/Makefile.


# ed5e46ab 15-Oct-2015 Antti Kantee <pooka@iki.fi>

g/c APPTOOLS_OBJS_BAKE, it does not contain any extra info.


# 9af01852 15-Oct-2015 Antti Kantee <pooka@iki.fi>

Install ldscript and use it for baking from destdir


# 2cd40cd0 14-Oct-2015 Antti Kantee <pooka@iki.fi>

Put ldscript in common place


# 1fadc310 13-Oct-2015 Antti Kantee <pooka@iki.fi>

Just create rumprun.o in the same place as hw

Need real objdir later (location via config.mk),
but go for the easy way now.


# 7d6a028a 13-Oct-2015 Antti Kantee <pooka@iki.fi>

Install mainobj and use it from destdir in app-tools.

Note to devs: you must now "make && make install" in platform/foo


# a224d987 12-Oct-2015 Antti Kantee <pooka@iki.fi>

Include libbmk_{core,rumpuser} in $MAINOBJ.


# 515ca040 12-Oct-2015 Antti Kantee <pooka@iki.fi>

Support kernonly mode for Xen

nb. tests/nolibc won't build for xen; hw is hardcoded there


# e56d0720 12-Oct-2015 Antti Kantee <pooka@iki.fi>

one -nostdinc is enough


# 753a7720 12-Oct-2015 Antti Kantee <pooka@iki.fi>

Destdir builds, part 1

Support a -d flag to build-rr.sh. Make some of the tools use
libraries and headers from that directory instead of a hardcoded
place.

Not everything is installed into destdir yet. More to come.


# daba898f 10-Oct-2015 Antti Kantee <pooka@iki.fi>

Restore Xen object order


# 07f87760 10-Oct-2015 Antti Kantee <pooka@iki.fi>

Link minios.o into rumprun.o

Mirrors what platform/hw does.


# 8113269a 20-Aug-2015 Antti Kantee <pooka@iki.fi>

xen: callmain.c -> init.c

Now both platforms have the same name for the module containing the
same functionality.


# 6faba0a2 03-Aug-2015 Antti Kantee <pooka@iki.fi>

don't override correct OBJCOPY from config.mk


# 34304309 29-Jun-2015 Antti Kantee <pooka@iki.fi>

Link sysproxy component based on bake recipe, kill $topdir/config.mk


# 5d926da7 29-Jun-2015 Antti Kantee <pooka@iki.fi>

consistency rename: BAKEOBJS -> OBJS_BAKE


# 33f14d34 29-Jun-2015 Antti Kantee <pooka@iki.fi>

LDSCRIPT -> LDSCRIPT_BAKE (and remove LDSCRIPT from specs-stub)


# deaf3c53 29-Jun-2015 Antti Kantee <pooka@iki.fi>

Don't give a generic LDFLAGS to app-tools, just LDFLAGS_BAKE


# d3c3d662 29-Jun-2015 Antti Kantee <pooka@iki.fi>

Fold HEAD_OBJ and OBJS into BAKEOBJS.

Just give them in the right order, the first one is the first one.


# d69dfc6b 24-Jun-2015 Antti Kantee <pooka@iki.fi>

Fix the --host parameter to build to include "elf" where appropriate

i.e. now i386-rumprun-netbsdelf, not just -netbsd


# a23ebd12 17-Jun-2015 Antti Kantee <pooka@iki.fi>

Build rumphyper_net.c as part of the interface component.

Wasn't easy earlier, still not easy, but at least somewhat possible.


# 139bbe28 03-Jun-2015 Antti Kantee <pooka@iki.fi>

update src-netbsd and switch to new-style pci build


# db45f591 01-Jun-2015 Antti Kantee <pooka@iki.fi>

Push buildtest to common Makefile.

Test baking with all known board configurations. Not sure it's a
supersmart idea to do it at this level, but not sure where else to do
it either.


# 7cdd05ab 01-Jun-2015 Antti Kantee <pooka@iki.fi>

push "make tests" into common makefileage


# 3f95a2cb 01-Jun-2015 Antti Kantee <pooka@iki.fi>

include ../Makefile.inc only once


# 29fbd4fe 01-Jun-2015 Antti Kantee <pooka@iki.fi>

Don't set TARGET_ARCH=${MACHINE}

GNU make uses TARGET_ARCH in implicit rules, and fails quite
badly with the above.


# 91a74923 31-May-2015 Antti Kantee <pooka@iki.fi>

define LIBS_SYSPROXY in Makefile.inc


# 2d8a211f 31-May-2015 Antti Kantee <pooka@iki.fi>

move more platform makefile bits to Makefile.inc


# 8a7700c1 28-May-2015 Antti Kantee <pooka@iki.fi>

cleaning the common libs is a common job too


# bcc090af 28-May-2015 Antti Kantee <pooka@iki.fi>

push some common bits from platform Makefiles into Makefile.inc


# 4ba7e728 27-May-2015 Martin Lucina <martin@lucina.net>

Introduce `rumpbake' for final linking of unikernels

As discussed on the mailing list:

- toolchain 'cc.in' produces an intermediate relocatable file, and
verifies the userspace link using a stub version of librumprun_base
and the minimal set of rump components.
- rumpbake is used to produce the final unikernel image, and supports
defining target configurations in rumpbake.conf.


# 66b36e79 26-May-2015 Antti Kantee <pooka@iki.fi>

push rumpconfig.c into librumprun_base


# ba743d63 10-May-2015 Martin Lucina <martin@lucina.net>

xen rumpconfig: Add support for IPv6 SLAAC


# 4b6f5b85 06-May-2015 Antti Kantee <pooka@iki.fi>

do the build lithmus test the new way


# fd8196e9 29-Apr-2015 Antti Kantee <pooka@iki.fi>

remove now-empty xen/rumphyper_base.c


# 3795da80 28-Apr-2015 Antti Kantee <pooka@iki.fi>

Do not build tests by default in platform libs.

"make tests" can be specified explicitly. It will build and run
the tests.


# f66a304c 28-Apr-2015 Antti Kantee <pooka@iki.fi>

fix pasto


# b4dc8d82 28-Apr-2015 Antti Kantee <pooka@iki.fi>

Add an unconditionally run "buildtest"

Makes sure that just typing "make" attempts to link at least one
unikernel and expose really obvious problems with changes.


# fab94d8d 29-Apr-2015 Antti Kantee <pooka@iki.fi>

Force the common libs to always be built.

And by "always be built" I mean force the top-level build process to
consult the respective Makefiles to determine if the libs should be
rebuilt or not.


# d62b71c1 28-Apr-2015 Antti Kantee <pooka@iki.fi>

include tmpfs in the standard mix


# 5c57bf1e 20-Apr-2015 Antti Kantee <pooka@iki.fi>

Rename librumprun_rumpuser to libbmk_rumpuser

Layeristically speaking, the common rumpuser bits run on top of bmk,
so the renamed name now also reflects reality (and matches the
header namespace).


# 303f48bb 20-Apr-2015 Antti Kantee <pooka@iki.fi>

Rename librumprun_core to libbmk_core.

It doesn't have anything to do with rumprun, but is at a lower layer of
abstraction, so let's just match the header namespace here.


# 6b71653c 15-Apr-2015 Antti Kantee <pooka@iki.fi>

push libc_stubs to librumprun_base


# 8efd073d 13-Apr-2015 Antti Kantee <pooka@iki.fi>

move bio hypercalls from rumphyper_base to rumphyper_bio


# 4b72f52d 10-Apr-2015 Antti Kantee <pooka@iki.fi>

xen now supports the test framework


# 0c6ca18b 09-Apr-2015 Antti Kantee <pooka@iki.fi>

convert tests to use librumprun_tester


# 6a801924 09-Apr-2015 Wei Liu <liuw@liuw.name>

Prune configure_stubs residuals in Makefile

But leave configure_stubs.c alone as Antti says it's useful for
revamp-mode.

Signed-off-by: Wei Liu <liuw@liuw.name>


# e70ba2b2 05-Apr-2015 Antti Kantee <pooka@iki.fi>

Create librumprun_rumpuser, platform-independent rump kernel hypercalls

Seed with rumphyper_synch.c from platform/xen.

(and also convert /xen to use rumprun_rumpuser)


# 31d68766 05-Apr-2015 Antti Kantee <pooka@iki.fi>

push common rumpuser hypercall stubs to bmk-core


# bef55913 04-Apr-2015 Antti Kantee <pooka@iki.fi>

push __errno.c to bmk-base


# 910f2f07 05-Apr-2015 Antti Kantee <pooka@iki.fi>

push the _lwp.c implementation to bmk-base


# 398c4d36 31-Mar-2015 Antti Kantee <pooka@iki.fi>

clean the right objdir


# b7345f53 26-Mar-2015 Antti Kantee <pooka@iki.fi>

Use CPPFLAGS for cpp switches

clang throws an error if they're on link-line via CFLAGS since cpp is
not used at all in that invocation.


# 55a2ad85 26-Mar-2015 Antti Kantee <pooka@iki.fi>

Build librumprun_{base,core} via the platform Makefiles.

They still don't have full dependencies, but at least now they
can be rebuilt with "make clean && make".


# 959fc17c 26-Mar-2015 Antti Kantee <pooka@iki.fi>

clean config.mk for platform/xen in "distcleanrump"


# 627f2ee4 25-Mar-2015 Antti Kantee <pooka@iki.fi>

unify libc-level malloc wrappers to rumprun_base


# 5af973c3 25-Mar-2015 Antti Kantee <pooka@iki.fi>

convert platform/xen to rumprun_core memalloc


# 84f15cc2 24-Mar-2015 Antti Kantee <pooka@iki.fi>

Use separate files for malloc backend and libc frontends

copypasted from /baremetal ... so that it's easier to uncopypaste
as the next step.


# 7fdbd7cd 24-Mar-2015 Antti Kantee <pooka@iki.fi>

sensible layering drama, act 2

Convert easy cases of xen platform string routine use from libc to
bmk-string. There are a few harder-to-crack ones which use things
like strtotul. Need to see if those are really necessary, or can we do
without introducing those interfaces to the desirably minimal bmk-string.


# 918102ff 20-Mar-2015 Antti Kantee <pooka@iki.fi>

convert xen to use buildrump.sh toolchain-conf.mk


# 237dd2b8 19-Mar-2015 Antti Kantee <pooka@iki.fi>

collect some universal build flags into one place: global.mk


# 8df83b75 20-Mar-2015 Antti Kantee <pooka@iki.fi>

Make sure RUMP_LIBS_SYSPROXY is defined when we use it.


# 6dc9a2f2 20-Mar-2015 Antti Kantee <pooka@iki.fi>

move platform-private sysproxy.c copies to rumprun_base


# 82611cfb 19-Mar-2015 Antti Kantee <pooka@iki.fi>

use --start-group for our platform libs (rumprun_base, pthread, c)


# 4469115a 19-Mar-2015 Antti Kantee <pooka@iki.fi>

Remove private platform copies of the "emul" modules.

Add a common version to librumprun_base as syscall_misc.c
(the module provides some misc syscalls, so the new name is
more accurate)


# 959cca53 19-Mar-2015 Antti Kantee <pooka@iki.fi>

make warning flags a bit more sensible, including -Werror


# 238e965d 19-Mar-2015 Antti Kantee <pooka@iki.fi>

use -Werror


# bf28e272 19-Mar-2015 Antti Kantee <pooka@iki.fi>

Build librumprun_base into an object directory

Using this cheap trick we can still play with both /baremetal
and /xen in the same tree.


# b22c845d 19-Mar-2015 Antti Kantee <pooka@iki.fi>

Introduce librumprun_base

For now, it is meant to contain platform independent user-level routines.
Seed the lib with netbsd_initfini.c, which is the indentical netbsd_init.c
from both platforms.


# af17e92d 18-Mar-2015 Antti Kantee <pooka@iki.fi>

Use APP_TOOLS_TARGETARCH instead of TARGET_ARCH

Not only is it easier to figure out why the variable is set, for whatever
reason, GNU make on my machine gets wildly confused if TARGET_ARCH is
set in baremetal/Makefile.


# 50c2fdb4 18-Mar-2015 Antti Kantee <pooka@iki.fi>

sensible layering drama, act 1

Do not include errno.h in modules which do not run on top of libc.

Just for clarity: libc = NetBSD libc. We do not have any other libc
in the stack.


# 12683319 17-Mar-2015 Martin Lucina <martin@lucina.net>

Fix "make clean" for Xen

Remove cruft left over from httpd and clean MI tests

Signed-off-by: Martin Lucina <martin@lucina.net>


# e4b2ea70 16-Mar-2015 Antti Kantee <pooka@iki.fi>

build tests from MI dir


# b372c865 16-Mar-2015 Antti Kantee <pooka@iki.fi>

g/c unreferenced cruft


# 6f393af2 16-Mar-2015 Antti Kantee <pooka@iki.fi>

remove prehistoric build targets


# 9e1fe39c 10-Mar-2015 Martin Lucina <martin@lucina.net>

xen: Add -lrumpnet_local to link list

Some applications (hello, MySQL) require AF_LOCAL to be present and this
functionality cannot be disabled. Add -lrumpnet_local to the link list
to account for this.

Signed-off-by: Martin Lucina <martin@lucina.net>


# ced7e51f 06-Mar-2015 Martin Lucina <martin@lucina.net>

Implement timecounter driver for Xen

Benefits to applications:

- More accurate timekeeping.
- Time update is not dependent on the scheduler being invoked.

Signed-off-by: Martin Lucina <martin@lucina.net>


# f8d56ed6 06-Mar-2015 Antti Kantee <pooka@iki.fi>

use common app-tools


# ac3ac63c 03-Mar-2015 Antti Kantee <pooka@iki.fi>

Move files into platform/xen

Prepares for the rumprun merge.