3 # Tests - Build Type Inheritance.
5 # Just to set up some additional build types the correct way.
9 # Copyright (c) 2008-2009 knut st. osmundsen <bird-kBuild-spamix@anduin.net>
11 # This file is part of kBuild.
13 # kBuild is free software; you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation; either version 2 of the License, or
16 # (at your option) any later version.
18 # kBuild is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details.
23 # You should have received a copy of the GNU General Public License
24 # along with kBuild; if not, write to the Free Software
25 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
31 # Include our parent Config.kmk
33 include $(PATH_ROOT
)/tests
/Config.kmk
37 # For inherit-bld3 - no inheritance.
39 KBUILD_BLD_TYPES
+= dbgbld3
43 # For inherit-bld4 - default inheritance (override).
45 KBUILD_BLD_TYPES
+= dbgbld4
46 BLD_TYPE_dbgbld4_EXTENDS
= dbgbld3
49 # For inherit-bld5 - appending inheritance.
51 KBUILD_BLD_TYPES
+= dbgbld5
52 BLD_TYPE_dbgbld5_EXTENDS
= dbgbld3
53 BLD_TYPE_dbgbld5_EXTENDS_BY
= appending
56 # For inherit-bld6 - prepending inheritance.
58 KBUILD_BLD_TYPES
+= dbgbld6
59 BLD_TYPE_dbgbld6_EXTENDS
= dbgbld3
60 BLD_TYPE_dbgbld6_EXTENDS_BY
= prepending
63 # For inherit-bld7 - overriding inheritance.
65 KBUILD_BLD_TYPES
+= dbgbld7
66 BLD_TYPE_dbgbld7_EXTENDS
= dbgbld3
67 BLD_TYPE_dbgbld7_EXTENDS_BY
= overriding
70 # For inherit-bld10 thru 19 - overriding inheritance.
72 KBUILD_BLD_TYPES
+= dbgbld10 dbgbld11
73 BLD_TYPE_dbgbld11_EXTENDS
= dbgbld10
76 # For inherit-bld20 thru 29 - prepending inheritance.
78 KBUILD_BLD_TYPES
+= dbgbld20 dbgbld21
79 BLD_TYPE_dbgbld21_EXTENDS
= dbgbld20
80 BLD_TYPE_dbgbld21_EXTENDS_BY
= prepending