2.3.x
Rev | Line | |
---|
[f4ed135] | 1 | # From the Build Scripts Written By: Jim Gifford <lfs@jg555.com>
|
---|
| 2 | # Modified By: Joe Ciccone <jciccone@linuxfromscratch.org
|
---|
| 3 | # Additional changes: George Boudreau <georgeb@linuxfromscratch.org>
|
---|
| 4 |
|
---|
| 5 | # $Id$
|
---|
| 6 |
|
---|
[390de72] | 7 | LANG=C
|
---|
| 8 | LC_ALL=C
|
---|
[f4ed135] | 9 | TOPDIR=$(shell pwd)
|
---|
| 10 | CONFIG_CONFIG_IN = Config.in
|
---|
| 11 | CONFIG = menu
|
---|
| 12 |
|
---|
| 13 | all: menuconfig
|
---|
| 14 |
|
---|
| 15 | $(CONFIG)/conf:
|
---|
[a069757] | 16 | $(MAKE) -B -C $(CONFIG) conf
|
---|
[f4ed135] | 17 |
|
---|
| 18 | $(CONFIG)/mconf:
|
---|
[a069757] | 19 | $(MAKE) -B -C $(CONFIG) ncurses conf mconf
|
---|
[f4ed135] | 20 |
|
---|
| 21 | menuconfig: $(CONFIG)/mconf
|
---|
| 22 | @./update_book.sh none
|
---|
| 23 | @./gen_config.sh
|
---|
| 24 | @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
|
---|
| 25 | @./gen_pkg_book.sh
|
---|
| 26 |
|
---|
| 27 | config: $(CONFIG)/conf
|
---|
| 28 | @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
|
---|
| 29 |
|
---|
| 30 | # Clean up
|
---|
| 31 |
|
---|
| 32 | clean:
|
---|
| 33 | rm -f configuration configuration.old error
|
---|
| 34 | - $(MAKE) -C $(CONFIG) clean
|
---|
| 35 |
|
---|
| 36 | clean-target:
|
---|
| 37 | rm -f error
|
---|
| 38 | - $(MAKE) -C $(CONFIG) clean
|
---|
| 39 |
|
---|
[a069757] | 40 | .PHONY: all menuconfig config clean clean-target $(CONFIG)/conf $(CONFIG)/mconf
|
---|
Note:
See
TracBrowser
for help on using the repository browser.