(parse_arguments t) { opt_sourcedir = s }
parse_arguments ("--bfsource-dir" : s : t) =
(parse_arguments t) { opt_bfsourcedir = s }
+parse_arguments ("--build-dir" : s : t) =
+ (parse_arguments t) { opt_builddir = s }
+ parse_arguments ("--ghc-libdir" : (s : t)) =
+ (parse_arguments t) { opt_ghc_libdir = s }
parse_arguments ("--output-filename" : s : t) =
(parse_arguments t) { opt_makefilename = s }
parse_arguments ("--quiet" : t ) =
( [ hake,
Str "--source-dir", Str (opt_sourcedir o),
Str "--install-dir", Str (opt_installdir o),
+ Str "--bfsource-dir", Str (opt_bfsourcedir o),
- Str "--output-filename", makefile
+ Str "--output-filename", makefile,
+ Str "--ghc-libdir", Str (opt_ghc_libdir o)
] ++
[ Dep SrcTree "root" h | h <- l ]
)
last = now;
}
}
+
+ /**
- * Kernel trace buffer
- */
-lvaddr_t kernel_trace_buf = 0;
-
-struct trace_application kernel_trace_boot_applications[TRACE_MAX_BOOT_APPLICATIONS];
-int kernel_trace_num_boot_applications = 0;
-
-/**
+ * Stack protection handler
+ */
+ void __stack_chk_fail(void); // Existence implied by (certainly configured) GCC.
+
+ void __stack_chk_fail (void)
+ {
+ panic("finally reached __stack_chk_fail()");
+ }