aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-04-10 19:59:20 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2008-04-10 19:59:20 +0000
commitb75a1c3c2a338d1b2401a3c1eb61d4895085520f (patch)
tree10889a66e27a3433d7ebd21c74845a762dbfe469 /Makefile.custom
parentfcc6347976ded376c9effe3b9fb216b00b2140cb (diff)
downloadbusybox-b75a1c3c2a338d1b2401a3c1eb61d4895085520f.tar.gz
busybox-b75a1c3c2a338d1b2401a3c1eb61d4895085520f.tar.bz2
fix "make check"
Diffstat (limited to 'Makefile.custom')
-rw-r--r--Makefile.custom8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.custom b/Makefile.custom
index a4db14172..e4a616f65 100644
--- a/Makefile.custom
+++ b/Makefile.custom
@@ -46,9 +46,13 @@ ifneq ($(strip $(DO_INSTALL_LIBS)),n)
done
endif
+# Not very elegant: copies testsuite to objdir...
+.PHONY: check
+.PHONY: test
check test: busybox busybox.links
- bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \
- $(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:0=),-v)
+ test -d $(objtree)/testsuite || cp -a $(srctree)/testsuite $(objtree)
+ bindir=$(objtree) srcdir=$(srctree)/testsuite \
+ $(SHELL) -c "cd $(objtree)/testsuite && $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:0=),-v)"
.PHONY: release
release: distclean