diff options
Diffstat (limited to 'Makefile.custom')
-rw-r--r-- | Makefile.custom | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.custom b/Makefile.custom index d257f6de5..816bee5db 100644 --- a/Makefile.custom +++ b/Makefile.custom | |||
@@ -42,6 +42,22 @@ check test: busybox | |||
42 | bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \ | 42 | bindir=$(objtree) srcdir=$(srctree)/testsuite SED="$(SED)" \ |
43 | $(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:1=),-v) | 43 | $(SHELL) $(srctree)/testsuite/runtest $(if $(KBUILD_VERBOSE:1=),-v) |
44 | 44 | ||
45 | .PHONY: release | ||
46 | release: distclean | ||
47 | cd ..; \ | ||
48 | rm -r -f busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION); \ | ||
49 | cp -a busybox busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) && \ | ||
50 | find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type d \ | ||
51 | -name .svn \ | ||
52 | -print \ | ||
53 | -exec rm -r -f {} \; && \ | ||
54 | find busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/ -type f \ | ||
55 | -name .\#* \ | ||
56 | -print \ | ||
57 | -exec rm -f {} \; && \ | ||
58 | tar -czf busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION).tar.gz \ | ||
59 | busybox-$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)/; | ||
60 | |||
45 | .PHONY: checkhelp | 61 | .PHONY: checkhelp |
46 | checkhelp: | 62 | checkhelp: |
47 | $(Q)$(srctree)/scripts/checkhelp.awk \ | 63 | $(Q)$(srctree)/scripts/checkhelp.awk \ |