busybox-static 1.2.1: First cut at static busybox.
authorPaul Sokolovsky <pmiscml@gmail.com>
Sun, 10 Jun 2007 22:30:19 +0000 (22:30 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Sun, 10 Jun 2007 22:30:19 +0000 (22:30 +0000)
* Yes, it works. 877916 bytes with uclibc.
* Defconfig is based on angstrom's one, with switch_root enabled.

packages/busybox/busybox-static-1.2.1/.mtn2git_empty [new file with mode: 0644]
packages/busybox/busybox-static_1.2.1.bb [new file with mode: 0644]

diff --git a/packages/busybox/busybox-static-1.2.1/.mtn2git_empty b/packages/busybox/busybox-static-1.2.1/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/busybox/busybox-static_1.2.1.bb b/packages/busybox/busybox-static_1.2.1.bb
new file mode 100644 (file)
index 0000000..f3bff07
--- /dev/null
@@ -0,0 +1,6 @@
+require busybox_${PV}.bb
+PR = "r0"
+
+S = "${WORKDIR}/busybox-1.2.1"
+
+export CFLAGS:="${CFLAGS} -static"