[Barrelfish-users] Hake lost a dependency

Timothy Roscoe troscoe at inf.ethz.ch
Sat Mar 30 19:14:09 CET 2013


Dear Wang, 

This sounds correct - optDependencies are those files that, in
principle, everything depends on and right now (for good or ill) the
trace definitions fall into that category. 

We'll do some testing and if everything is OK, this will be in the
next release. 

Cheers,

 -- Mothy

At Fri, 29 Mar 2013 17:26:01 +0800, Wang Nan <wangnan0 at huawei.com> wrote:
> Hi,
> 
> I can't compile barrelfish before I add a dependency in RuleDefs.hs.
> 
> In generated Makefile, "./x86_64/kernel/arch/x86/misc.o" doesn't depend
> on "x86_64/include/trace_definitions/trace_defs.h", but uses it by
> including trace/trace.h.
> 
> So I suggest the following patch:
> 
> diff -r f82a7cbc7224 hake/RuleDefs.hs
> --- a/hake/RuleDefs.hs Wed Mar 20 18:29:06 2013 +0100
> +++ b/hake/RuleDefs.hs Fri Mar 29 17:24:14 2013 +0800
> @@ -134,6 +134,7 @@
> optIncludes = kernelIncludes arch,
> optDependencies =
> [ Dep InstallTree arch "/include/errors/errno.h",
> + Dep InstallTree arch "/include/trace_definitions/trace_defs.h",
> Dep InstallTree arch "/include/barrelfish_kpi/capbits.h",
> Dep InstallTree arch "/include/asmoffsets.h" ],
> optLdFlags = kernelLdFlags arch,
> 
> 
> 
> 
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
> 
> 
> 



More information about the Barrelfish-users mailing list