svn commit: trunk/busybox
landley at busybox.net
landley at busybox.net
Sun Sep 11 01:16:49 UTC 2005
Author: landley
Date: 2005-09-10 18:16:47 -0700 (Sat, 10 Sep 2005)
New Revision: 11423
Log:
This combines a patch from Bernhard Fischer (moving the clean of
scripts/config from distclean to clean) with a sed consolidation that's
been in my tree for a bit, and switching the GPL boilerplate to just point
at LICENSE.
Modified:
trunk/busybox/Makefile
Changeset:
Modified: trunk/busybox/Makefile
===================================================================
--- trunk/busybox/Makefile 2005-09-11 01:05:30 UTC (rev 11422)
+++ trunk/busybox/Makefile 2005-09-11 01:16:47 UTC (rev 11423)
@@ -2,20 +2,8 @@
#
# Copyright (C) 1999-2004 by Erik Andersen <andersen at codepoet.org>
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
+# Licensed under GPLv2, see the file LICENSE in this tarball for details.
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
#--------------------------------------------------------------
# You shouldn't need to mess with anything beyond this point...
@@ -266,10 +254,7 @@
allyesconfig: scripts/config/conf
@./scripts/config/conf -y $(CONFIG_CONFIG_IN)
- sed -i -e "s/^CONFIG_DEBUG.*/# CONFIG_DEBUG is not set/" .config
- sed -i -e "s/^USING_CROSS_COMPILER.*/# USING_CROSS_COMPILER is not set/" .config
- sed -i -e "s/^CONFIG_STATIC.*/# CONFIG_STATIC is not set/" .config
- sed -i -e "s/^CONFIG_SELINUX.*/# CONFIG_SELINUX is not set/" .config
+ sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config
@./scripts/config/conf -o $(CONFIG_CONFIG_IN)
allnoconfig: scripts/config/conf
@@ -279,6 +264,7 @@
@./scripts/config/conf -d $(CONFIG_CONFIG_IN)
clean:
+ - $(MAKE) -C scripts/config $@
- rm -f docs/busybox.dvi docs/busybox.ps \
docs/busybox.pod docs/busybox.net/busybox.html \
docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \
@@ -295,7 +281,6 @@
- rm -rf include/config include/config.h include/bb_config.h include/bbconfigopts.h
- find . -name .depend -exec rm -f {} \;
rm -f .config .config.old .config.cmd
- - $(MAKE) -C scripts/config clean
release: distclean #doc
cd ..; \
More information about the busybox-cvs
mailing list