Set binutils 2.24 as primary, binutils 2.22 as alternate
[dragonfly.git] / gnu / usr.bin / Makefile.buo
CommitLineData
1df0b161
JM
1# DragonFly maintains two sets of binutils. The last time it was
2# necessary to swap the primary and backup status between them, 37 files
3# had to be changed. This makefile include aims to make that process much
4# simpler by having common variables located in one place to control the
5# state.
31468d70 6#
1df0b161
JM
7# Additionally, with each new import or upgrade of binutils, dozens of
8# Makefiles have to be individually customized over the previous version.
9# Ideally in the future the Makefiles are generic and only have to be
31468d70
JM
10# copied over in most cases.
11
e05895f1
JM
12BU_PRIMARY= binutils224
13BU_BACKUP= binutils222
31468d70
JM
14
15.if defined(BUVERSION)
16.if (${BUVERSION} == ${BU_PRIMARY})
17IS_PRIMARY= 1
1df0b161 18MANPAGEVER= ${BU_PRIMARY:S/binutils//}
31468d70
JM
19.endif
20
21.if (${BUVERSION} == ${BU_BACKUP})
1df0b161 22MANPAGEVER= ${BU_BACKUP:S/binutils//}
31468d70
JM
23.endif
24.endif