source: debwrt/trunk/rules/debwrt.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 <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]
19BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD))
20
21# Linux version [2.6.X(.X)]
22LINUX_VERSION:=$(call qstrip,$(CONFIG_DEBWRT_KERNEL_VERSION))
23
24# OpenWrt Revision to checkout [rXXXX]
25OPENWRT_REVISION:=$(call qstrip, $(CONFIG_OPENWRT_REVISION))
26
27# OpenWrt Revision is trunk [y or emtpy]
28IS_OPENWRT_TRUNK:=$(call qstrip, $(CONFIG_OPENWRT_REVISION_TRUNK))
29
30# OpenWrt Build (checkout) directory
31BUILD_DIR:=$(BUILD_DIR_BASE)/openwrt-$(BOARD)-$(OPENWRT_REVISION)-$(LINUX_VERSION)
32
33# Alternate OpenWrt download directory
34OPENWRT_DOWNLOAD_DIR:=$(call qstrip,$(CONFIG_OPENWRT_DOWNLOAD_DIR))
35
36# Export defaults to other Makefiles
37export
38
Note: See TracBrowser for help on using the repository browser.