egor duda writes:

egor duda wrote:
>Ok, here's an updated patch.
>'make check' should work now, and one make creates Makefile in build
>directory, so one can run 'make' in build directory after that.

ahem. It looks like i'm slightly late with it but... Here's a little
addition to make 'make O=/some/where PREFIX=/some/where/else install'
work. Sorry for delay :(

egor
diff --git a/Makefile b/Makefile
index 3e2b3ef..4dbd9aa 100644
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@
 busybox.links: $(top_srcdir)/applets/busybox.mkll include/config.h $(top_srcdir)/include/applets.h
 	- $(SHELL) $^ >$@
 
-install: applets/install.sh busybox busybox.links
+install: $(top_srcdir)/applets/install.sh busybox busybox.links
 	$(SHELL) $< $(PREFIX)
 ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
 	@echo