source: trunk/config/config.mk @ 287

Last change on this file since 287 was 287, checked in by amain, 8 years ago

Update DebWrt make help overview to contain all available make commands

File size: 2.0 KB
Line 
1# DebWrt - Debian on Embedded devices
2#
3# Copyright (C) 2010 Johan van Zoomeren
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation, either version 3 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
13# GNU 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, see <http://www.gnu.org/licenses/>.
17
18TOPDIR:=${CURDIR}
19
20all: config/mconf/mconf
21
22config/mconf/mconf:
23        @$(MAKE) -s -C config/mconf all
24
25config/mconf/conf:
26        @$(MAKE) -s -C config/mconf conf
27
28# Create new config-target.in from OpenWrt's targets config generated file
29# note: include the select <target> lines, exlcude all other selects
30config/target:
31        LC_ALL=C cat $(OPENWRT_BUILD_DIR)/tmp/.config-target.in | awk '/select\W+[[:lower:]]/ { print $0 } /select.*HAS_SUBTARGETS/ { print $0 } ! /select/ { print $0 }' >$(TOPDIR)/config/config-target.in
32
33config-clean: FORCE
34        $(MAKE) -C config/mconf clean
35
36.config:
37        @echo "Please run make menuconfig to create a configuration. Then run make again. Type make help to get a list of available DebWrt make commands"
38        @exit 1
39
40config: plugins/apply config/mconf/conf FORCE
41        config/mconf/conf Config.in
42        @echo "Type make help to get a list of available DebWrt make commands"
43
44defconfig: config/mconf/conf FORCE
45        touch .config
46        config/mconf/conf -D .config Config.in
47        @echo "Type make help to get a list of available DebWrt make commands"
48
49oldconfig: plugins/apply config/mconf/conf FORCE
50        config/mconf/conf -o Config.in
51        @echo "Type make help to get a list of available DebWrt make commands"
52
53menuconfig: plugins/apply config/mconf/mconf FORCE
54        config/mconf/mconf Config.in
55        @echo "Type make help to get a list of available DebWrt make commands"
56
Note: See TracBrowser for help on using the repository browser.