1 | # DebWrt - Debian on Embedded devices |
---|
2 | # |
---|
3 | # Copyright (C) 2010 Johan van Zoomeren <amain@debwrt.net> |
---|
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 | |
---|
18 | # Board [example: ar7xx] |
---|
19 | BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD)) |
---|
20 | |
---|
21 | # Linux version [2.6.X(.X)] |
---|
22 | LINUX_VERSION:=$(call qstrip,$(CONFIG_DEBWRT_KERNEL_VERSION)) |
---|
23 | |
---|
24 | # OpenWrt Revision to checkout [rXXXX] |
---|
25 | OPENWRT_REVISION:=$(call qstrip, $(CONFIG_OPENWRT_REVISION)) |
---|
26 | |
---|
27 | # OpenWrt Revision is trunk [y or emtpy] |
---|
28 | IS_OPENWRT_TRUNK:=$(call qstrip, $(CONFIG_OPENWRT_REVISION_TRUNK)) |
---|
29 | |
---|
30 | # OpenWrt Build (checkout) directory |
---|
31 | BUILD_DIR:=$(BUILD_DIR_BASE)/openwrt-$(BOARD)-$(OPENWRT_REVISION)-$(LINUX_VERSION) |
---|
32 | |
---|
33 | # Alternate OpenWrt download directory |
---|
34 | OPENWRT_DOWNLOAD_DIR:=$(call qstrip,$(CONFIG_OPENWRT_DOWNLOAD_DIR)) |
---|
35 | |
---|
36 | # Export defaults to other Makefiles |
---|
37 | export |
---|
38 | |
---|