summaryrefslogtreecommitdiffstats
path: root/notes/opkbuild.txt
blob: 4240ef69cf388bc8da3c39940f0c290b285809d3 (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
39
40
41
init locale
get options
test UID0 command

detect build system arch/plat
set host system arch/plat

init source package

make work area

parse package metadata

build source package

reduce build dependencies
check build dependencies

build list of packages to be built for host arch

set up package build helper
set up toolchain
set up build flags

unpack sources
apply patches
install platconf

../build build
uid0_cmd ../build install

install docs
gen control
install scripts
gen conffiles
gen md5sums
build opk

clean work area

gen changes