comparison Makefile @ 90:7c77c6ec17ee

Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
author Rob Landley <rob@landley.net>
date Wed, 31 Jan 2007 14:37:01 -0500
parents 4f5cdc6552da
children b596b9b3b2af
comparison
equal deleted inserted replaced
89:4f5cdc6552da 90:7c77c6ec17ee
9 all: toybox 9 all: toybox
10 10
11 .PHONY: clean 11 .PHONY: clean
12 12
13 include kconfig/Makefile 13 include kconfig/Makefile
14
15 # defconfig is the "maximum sane config"; allyesconfig minus debugging and such.
16 defconfig: allyesconfig
17 @sed -i -r -e "s/^(CONFIG_(TOYBOX_DEBUG|TOYBOX_FREE))=.*/# \1 is not set/" .config
14 18
15 .config: Config.in toys/Config.in 19 .config: Config.in toys/Config.in
16 20
17 # The long and roundabout sed is to make old versions of sed happy. New ones 21 # The long and roundabout sed is to make old versions of sed happy. New ones
18 # have '\n' so can replace one line with two without all the branches and 22 # have '\n' so can replace one line with two without all the branches and