l4-hackers Digest, Vol 99, Issue 18

Wesley Miaw wesley at wesman.net
Thu Jul 28 01:45:46 CEST 2011

> On Mon Jul 25, 2011 at 16:43:09 -0700, Wesley Miaw wrote:
>> I'm trying to add a new lib/server module to L4 but I'm having some
>> trouble. I followed the snapshot top-level README suggestion to
>> place the new code in an external directory, so I placed it into
>> src/mymodule/ next to src/l4re and src/l4linux. Then I created a
>> Makefile under src/mymodule/src/ based on the example with include
>> $(L4DIR)/mk/lib.mk.
>> However, this doesn't appear to be working. $(L4DIR)/mk/Makeconf is
>> complaining that files existing inside the obj/l4/... directory are
>> not to be found in the obj/mymodule/... directory. (I tried to copy
>> the obj/... logic found in the top-level Makefile.)
>> Is the README's suggestion accurate?
> I think so. Could you show me some of the failed output + surroundings
> to better judge what's going on?

My bad. I didn't realize the build directory (O=) had to be the l4 obj  
directory for my own packages. (Missed that part of the README.) It's  
working for me now. Thanks!
Wesley Miaw
wesley at wesman.net

More information about the l4-hackers mailing list