2006-08-11 20:02:51 +02:00
|
|
|
# From the Build Scripts Written By: Jim Gifford <lfs@jg555.com>
|
|
|
|
# Modified By: Joe Ciccone <jciccone@linuxfromscratch.org
|
|
|
|
# Additional changes: George Boudreau <georgeb@linuxfromscratch.org>
|
|
|
|
|
|
|
|
TOPDIR=$(shell pwd)
|
|
|
|
CONFIG_CONFIG_IN = Config.in
|
|
|
|
CONFIG = menu
|
|
|
|
|
|
|
|
all: menuconfig
|
2006-08-29 20:16:27 +02:00
|
|
|
# @clear
|
2013-03-27 15:54:11 +01:00
|
|
|
@`grep RUN_ME configuration | sed -e 's@RUN_ME=\"@@' -e 's@\"@@' `
|
2006-08-11 20:02:51 +02:00
|
|
|
|
|
|
|
$(CONFIG)/conf:
|
|
|
|
$(MAKE) -C $(CONFIG) conf
|
|
|
|
|
|
|
|
$(CONFIG)/mconf:
|
|
|
|
$(MAKE) -C $(CONFIG) ncurses conf mconf
|
|
|
|
|
|
|
|
menuconfig: $(CONFIG)/mconf
|
2013-04-04 22:07:25 +02:00
|
|
|
-@cp -a configuration configuration.old
|
2006-08-11 20:02:51 +02:00
|
|
|
@$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
|
|
|
|
|
|
|
|
config: $(CONFIG)/conf
|
|
|
|
@$(CONFIG)/conf $(CONFIG_CONFIG_IN)
|
|
|
|
|
|
|
|
# Clean up
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f configuration configuration.old error
|
|
|
|
- $(MAKE) -C $(CONFIG) clean
|
|
|
|
|
|
|
|
clean-target:
|
|
|
|
rm -f error
|
|
|
|
- $(MAKE) -C $(CONFIG) clean
|
|
|
|
|
|
|
|
.PHONY: all menuconfig config clean clean-target
|