]>
Commit | Line | Data |
---|---|---|
c546a4d6 ER |
1 | In order to more easily cope with merges and avoid issues with binary formats, |
2 | we're now using the ar format which will give us a pure ascii archive that'll | |
3 | make it possible to track & merge individual changes like with other text files. | |
4 | Unfortunately the format doesn't support paths.. | |
5 | ||
6 | recommended way of making changes and updating archive: | |
7 | rm -rf foo | |
7faa379d | 8 | mkdir foo |
c546a4d6 ER |
9 | cd foo |
10 | ar x ../cpu-os-macros.a | |
11 | <perform your changes> | |
12 | cd - | |
2a9ea704 JR |
13 | # preserve order of files within the archive |
14 | LC_ALL=C /bin/sh -c 'ar cDr cpu-os-macros.a foo/*macros' |