source: debwrt/trunk/config/config.mk @ 1

Last change on this file since 1 was 1, checked in by amain, 13 years ago

Initial import of the build environment for DebWrt

File size: 1.3 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
28config-clean: FORCE
29        $(MAKE) -C config/mconf clean
30
31.config:
32        @echo "Please run make menuconfig to create a configuration. Then run make again. Use make help so see all options."
33        @exit 1
34
35config: config/mconf/conf FORCE
36        $< Config.in
37
38defconfig: config/mconf/conf FORCE
39        touch .config
40        $< -D .config Config.in
41
42oldconfig: config/mconf/conf FORCE
43        $< -o Config.in
44
45menuconfig: config/mconf/mconf FORCE
46        $< Config.in
47
Note: See TracBrowser for help on using the repository browser.