]>
Commit | Line | Data |
---|---|---|
f4d8f037 | 1 | ## -*- mode: perl; -*- |
a5250ec0 | 2 | ## Personal configuration targets |
a5250ec0 | 3 | |
8864f0de RL |
4 | sub picker { |
5 | my %opts = @_; | |
6 | return sub { add($opts{default} || (), | |
7 | $opts{$config{build_type}} || ())->(); } | |
8 | } | |
9 | ||
a5250ec0 RL |
10 | %targets = ( |
11 | "levitte-linux-elf" => { | |
8ffdf7ff | 12 | inherit_from => [ "linux-elf" ], |
8864f0de RL |
13 | cflags => add(picker(debug => "-ggdb -g3")), |
14 | defines => add(picker(debug => "LEVITTE_DEBUG"), | |
15 | { separator => undef }), | |
8ffdf7ff RL |
16 | build_scheme => [ "unified", "unix" ], |
17 | build_file => "Makefile", | |
a5250ec0 | 18 | }, |
8ffdf7ff RL |
19 | "levitte-linux-x86_64" => { |
20 | inherit_from => [ "linux-x86_64" ], | |
8864f0de RL |
21 | cflags => add(picker(debug => "-ggdb -g3")), |
22 | defines => add(picker(debug => "LEVITTE_DEBUG"), | |
23 | { separator => undef }), | |
8ffdf7ff RL |
24 | build_scheme => [ "unified", "unix" ], |
25 | build_file => "Makefile", | |
a5250ec0 RL |
26 | }, |
27 | ); |