diff options
author | Rob Landley <rob@landley.net> | 2005-09-11 01:16:47 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-09-11 01:16:47 +0000 |
commit | a7e14db495389371add9d2529adeaaf5566a5b36 (patch) | |
tree | daf4cde6cb8690e2f4f92b56f49b3968ce43f747 | |
parent | b7128c6236ac9b4d5d69ad95d509498f38df0dd6 (diff) | |
download | busybox-w32-a7e14db495389371add9d2529adeaaf5566a5b36.tar.gz busybox-w32-a7e14db495389371add9d2529adeaaf5566a5b36.tar.bz2 busybox-w32-a7e14db495389371add9d2529adeaaf5566a5b36.zip |
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.
-rw-r--r-- | Makefile | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -2,19 +2,7 @@ | |||
2 | # | 2 | # |
3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> | 3 | # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> |
4 | # | 4 | # |
5 | # This program is free software; you can redistribute it and/or modify | 5 | # Licensed under GPLv2, see the file LICENSE in this tarball for details. |
6 | # it under the terms of the GNU General Public License as published by | ||
7 | # the Free Software Foundation; either version 2 of the License, or | ||
8 | # (at your option) any later version. | ||
9 | # | ||
10 | # This program is distributed in the hope that it will be useful, | ||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | # General Public License for more details. | ||
14 | # | ||
15 | # You should have received a copy of the GNU General Public License | ||
16 | # along with this program; if not, write to the Free Software | ||
17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | # | 6 | # |
19 | 7 | ||
20 | #-------------------------------------------------------------- | 8 | #-------------------------------------------------------------- |
@@ -266,10 +254,7 @@ randconfig: scripts/config/conf | |||
266 | 254 | ||
267 | allyesconfig: scripts/config/conf | 255 | allyesconfig: scripts/config/conf |
268 | @./scripts/config/conf -y $(CONFIG_CONFIG_IN) | 256 | @./scripts/config/conf -y $(CONFIG_CONFIG_IN) |
269 | sed -i -e "s/^CONFIG_DEBUG.*/# CONFIG_DEBUG is not set/" .config | 257 | sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config |
270 | sed -i -e "s/^USING_CROSS_COMPILER.*/# USING_CROSS_COMPILER is not set/" .config | ||
271 | sed -i -e "s/^CONFIG_STATIC.*/# CONFIG_STATIC is not set/" .config | ||
272 | sed -i -e "s/^CONFIG_SELINUX.*/# CONFIG_SELINUX is not set/" .config | ||
273 | @./scripts/config/conf -o $(CONFIG_CONFIG_IN) | 258 | @./scripts/config/conf -o $(CONFIG_CONFIG_IN) |
274 | 259 | ||
275 | allnoconfig: scripts/config/conf | 260 | allnoconfig: scripts/config/conf |
@@ -279,6 +264,7 @@ defconfig: scripts/config/conf | |||
279 | @./scripts/config/conf -d $(CONFIG_CONFIG_IN) | 264 | @./scripts/config/conf -d $(CONFIG_CONFIG_IN) |
280 | 265 | ||
281 | clean: | 266 | clean: |
267 | - $(MAKE) -C scripts/config $@ | ||
282 | - rm -f docs/busybox.dvi docs/busybox.ps \ | 268 | - rm -f docs/busybox.dvi docs/busybox.ps \ |
283 | docs/busybox.pod docs/busybox.net/busybox.html \ | 269 | docs/busybox.pod docs/busybox.net/busybox.html \ |
284 | docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \ | 270 | docs/busybox pod2htm* *.gdb *.elf *~ core .*config.log \ |
@@ -295,7 +281,6 @@ distclean: clean | |||
295 | - rm -rf include/config include/config.h include/bb_config.h include/bbconfigopts.h | 281 | - rm -rf include/config include/config.h include/bb_config.h include/bbconfigopts.h |
296 | - find . -name .depend -exec rm -f {} \; | 282 | - find . -name .depend -exec rm -f {} \; |
297 | rm -f .config .config.old .config.cmd | 283 | rm -f .config .config.old .config.cmd |
298 | - $(MAKE) -C scripts/config clean | ||
299 | 284 | ||
300 | release: distclean #doc | 285 | release: distclean #doc |
301 | cd ..; \ | 286 | cd ..; \ |