aboutsummaryrefslogtreecommitdiff
path: root/Configurations/99-personal-levitte.conf
blob: d1ddf2ef5417d3e681841c09cf6db49f639b30a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
## -*- mode: perl; -*-
## Personal configuration targets

sub picker {
    my %opts = @_;
    return sub { add($opts{default} || (),
                     $opts{$config{build_type}} || ())->(); }
}

%targets = (
    "levitte-linux-elf" => {
        inherit_from     => [ "linux-elf" ],
        cflags           => add(picker(debug => "-ggdb -g3")),
        defines          => add(picker(debug => "LEVITTE_DEBUG"),
                                { separator => undef }),
        build_scheme     => [ "unified", "unix" ],
        build_file       => "Makefile",
    },
    "levitte-linux-x86_64" => {
        inherit_from     => [ "linux-x86_64" ],
        cflags           => add(picker(debug => "-ggdb -g3")),
        defines          => add(picker(debug => "LEVITTE_DEBUG"),
                                { separator => undef }),
        build_scheme     => [ "unified", "unix" ],
        build_file       => "Makefile",
    },
);