summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--notes/opkbuild.txt41
1 files changed, 41 insertions, 0 deletions
diff --git a/notes/opkbuild.txt b/notes/opkbuild.txt
new file mode 100644
index 0000000..4240ef6
--- /dev/null
+++ b/notes/opkbuild.txt
@@ -0,0 +1,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