From: Eric Andersen Date: Wed, 13 Oct 2004 17:45:57 +0000 (-0000) Subject: egor duda writes: X-Git-Tag: 1_1_0~1131 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6302486ce6e9ac2bab9b721848fe243bcdd33c0c;p=oweals%2Fbusybox.git 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 3e2b3ef18..4dbd9aa8c 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,7 @@ busybox: $(ALL_MAKEFILES) .depend include/config.h $(libraries-y) 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