[1402] | 1 | # $Id: Config.kmk 2413 2010-09-11 17:43:04Z bird $
|
---|
| 2 | ## @file
|
---|
| 3 | # Tests - Build Type Inheritance.
|
---|
| 4 | #
|
---|
| 5 | # Just to set up some additional build types the correct way.
|
---|
| 6 | #
|
---|
| 7 |
|
---|
| 8 | #
|
---|
[2413] | 9 | # Copyright (c) 2008-2010 knut st. osmundsen <bird-kBuild-spamx@anduin.net>
|
---|
[1402] | 10 | #
|
---|
| 11 | # This file is part of kBuild.
|
---|
| 12 | #
|
---|
| 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.
|
---|
| 17 | #
|
---|
| 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.
|
---|
| 22 | #
|
---|
| 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
|
---|
| 26 | #
|
---|
| 27 | #
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | #
|
---|
| 31 | # Include our parent Config.kmk
|
---|
| 32 | #
|
---|
| 33 | include $(PATH_ROOT)/tests/Config.kmk
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | #
|
---|
| 37 | # For inherit-bld3 - no inheritance.
|
---|
| 38 | #
|
---|
| 39 | KBUILD_BLD_TYPES += dbgbld3
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | #
|
---|
| 43 | # For inherit-bld4 - default inheritance (override).
|
---|
| 44 | #
|
---|
| 45 | KBUILD_BLD_TYPES += dbgbld4
|
---|
| 46 | BLD_TYPE_dbgbld4_EXTENDS = dbgbld3
|
---|
| 47 |
|
---|
[1404] | 48 | #
|
---|
| 49 | # For inherit-bld5 - appending inheritance.
|
---|
| 50 | #
|
---|
| 51 | KBUILD_BLD_TYPES += dbgbld5
|
---|
| 52 | BLD_TYPE_dbgbld5_EXTENDS = dbgbld3
|
---|
| 53 | BLD_TYPE_dbgbld5_EXTENDS_BY = appending
|
---|
| 54 |
|
---|
| 55 | #
|
---|
| 56 | # For inherit-bld6 - prepending inheritance.
|
---|
| 57 | #
|
---|
| 58 | KBUILD_BLD_TYPES += dbgbld6
|
---|
| 59 | BLD_TYPE_dbgbld6_EXTENDS = dbgbld3
|
---|
| 60 | BLD_TYPE_dbgbld6_EXTENDS_BY = prepending
|
---|
| 61 |
|
---|
| 62 | #
|
---|
[1412] | 63 | # For inherit-bld7 - overriding inheritance.
|
---|
[1404] | 64 | #
|
---|
| 65 | KBUILD_BLD_TYPES += dbgbld7
|
---|
| 66 | BLD_TYPE_dbgbld7_EXTENDS = dbgbld3
|
---|
| 67 | BLD_TYPE_dbgbld7_EXTENDS_BY = overriding
|
---|
| 68 |
|
---|
[1412] | 69 | #
|
---|
| 70 | # For inherit-bld10 thru 19 - overriding inheritance.
|
---|
| 71 | #
|
---|
| 72 | KBUILD_BLD_TYPES += dbgbld10 dbgbld11
|
---|
| 73 | BLD_TYPE_dbgbld11_EXTENDS = dbgbld10
|
---|
| 74 |
|
---|
| 75 | #
|
---|
| 76 | # For inherit-bld20 thru 29 - prepending inheritance.
|
---|
| 77 | #
|
---|
| 78 | KBUILD_BLD_TYPES += dbgbld20 dbgbld21
|
---|
| 79 | BLD_TYPE_dbgbld21_EXTENDS = dbgbld20
|
---|
| 80 | BLD_TYPE_dbgbld21_EXTENDS_BY = prepending
|
---|
| 81 |
|
---|