2.4
ablfs-more
legacy
trunk
Last change
on this file since 9da16d9 was 65c998b, checked in by Pierre Labastie <pierre@…>, 12 years ago |
Add some logic to makefile and jhalfs, so that when exiting the configuration
menu without saving, you have the choice of exiting jhalfs
|
-
Property mode
set to
100644
|
File size:
825 bytes
|
Rev | Line | |
---|
[a705708] | 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 | TOPDIR=$(shell pwd)
|
---|
| 6 | CONFIG_CONFIG_IN = Config.in
|
---|
| 7 | CONFIG = menu
|
---|
| 8 |
|
---|
| 9 | all: menuconfig
|
---|
[4da2512] | 10 | # @clear
|
---|
[c1dd44c] | 11 | @`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' `
|
---|
[a705708] | 12 |
|
---|
| 13 | $(CONFIG)/conf:
|
---|
| 14 | $(MAKE) -C $(CONFIG) conf
|
---|
| 15 |
|
---|
| 16 | $(CONFIG)/mconf:
|
---|
| 17 | $(MAKE) -C $(CONFIG) ncurses conf mconf
|
---|
| 18 |
|
---|
| 19 | menuconfig: $(CONFIG)/mconf
|
---|
[65c998b] | 20 | -@cp -a configuration configuration.old
|
---|
[a705708] | 21 | @$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
|
---|
| 22 |
|
---|
| 23 | config: $(CONFIG)/conf
|
---|
| 24 | @$(CONFIG)/conf $(CONFIG_CONFIG_IN)
|
---|
| 25 |
|
---|
| 26 | # Clean up
|
---|
| 27 |
|
---|
| 28 | clean:
|
---|
| 29 | rm -f configuration configuration.old error
|
---|
| 30 | - $(MAKE) -C $(CONFIG) clean
|
---|
| 31 |
|
---|
| 32 | clean-target:
|
---|
| 33 | rm -f error
|
---|
| 34 | - $(MAKE) -C $(CONFIG) clean
|
---|
| 35 |
|
---|
| 36 | .PHONY: all menuconfig config clean clean-target
|
---|
Note:
See
TracBrowser
for help on using the repository browser.