summaryrefslogtreecommitdiff
path: root/Makefile.busybox
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.busybox')
-rw-r--r--Makefile.busybox13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.busybox b/Makefile.busybox
new file mode 100644
index 0000000..e137077
--- /dev/null
+++ b/Makefile.busybox
@@ -0,0 +1,13 @@
+busybox: busybox-${BUSYBOX_VERSION}/_install
+ @echo Busybox: build is completed.
+
+busybox-${BUSYBOX_VERSION}/_install: busybox-${BUSYBOX_VERSION}
+ cd busybox-${BUSYBOX_VERSION} && make distclean defconfig
+ sed -i 's|.*CONFIG_STATIC[^_].*|CONFIG_STATIC=y|' busybox-1.33.0/.config
+ cd busybox-${BUSYBOX_VERSION} && make busybox install
+
+busybox-${BUSYBOX_VERSION}: busybox.tar.bz2
+ tar xvf busybox.tar.bz2
+
+busybox.tar.bz2:
+ wget -O busybox.tar.bz2 http://busybox.net/downloads/busybox-${BUSYBOX_VERSION}.tar.bz2