blob: fa7e99102ef8316aab194cb825d8c44ea1b16668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# xib
xilinux build system
requires xibuild and xipkg to function correctly. Will build a whole "repo" of packages, or single packages if requested, using portable chroot system
## Usage
`xibd` - the xib daemon, will automatically pull and build packages
`xib package` - build a single package
`xib` - build all packages in order
### Generating all xilinux packages
1. cross compile toolchain
- start with a nice easy clean install
- make sure you have all needed build tools on host
- create some directories, /tools, /cross-tools
- copy ./bootstrap/* to a nice clean place to begin working
- run ./bootstrap.sh stage1
- run ./bootstrap.sh stage2
- run ./bootstrap.sh stage3
- run ./bootstrap.sh package
- alternatively just run ./bootstrap.sh
2. prepare stage3 chroot
- create /var/lib/xib/chroot
- extract the created chroot-tools.tar.gz there
- ensure that you can chroot into it
- run ./build in xib
- ensure all packages build correctly
|