Ignore:
Timestamp:
Feb 2, 2010, 12:22:21 AM (13 years ago)
Author:
amain
Message:

Add OpenWrt checkout, patch and menuconfig.
Add general support for shell scripts and make functions
Set DebWrt RELEASE and REVISION

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/rules/debwrt.mk

    r1 r2  
    1616# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717
     18RELEASE:=Angel
     19REVISION:=$(shell $(SCRIPT_GET_REVISION))
     20DEBWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
     21
     22# Include DebWrt config
     23-include $(TOPDIR)/.config
     24
    1825# Board [example: ar7xx]
    1926BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD))
     
    2330
    2431# OpenWrt Revision to checkout [rXXXX]
    25 OPENWRT_REVISION:=$(call qstrip, $(CONFIG_OPENWRT_REVISION))
     32OPENWRT_REVISION:=$(call qstrip,$(CONFIG_OPENWRT_REVISION))
    2633
    2734# OpenWrt Revision is trunk [y or emtpy]
    28 IS_OPENWRT_TRUNK:=$(call qstrip, $(CONFIG_OPENWRT_REVISION_TRUNK))
     35IS_OPENWRT_TRUNK:=$(call qstrip,$(CONFIG_OPENWRT_REVISION_TRUNK))
     36
     37# Base BuildDir
     38BUILD_DIR_BASE:=$(TOPDIR)/build
    2939
    3040# OpenWrt Build (checkout) directory
    31 BUILD_DIR:=$(BUILD_DIR_BASE)/openwrt-$(BOARD)-$(OPENWRT_REVISION)-$(LINUX_VERSION)
     41OPENWRT_BUILD_DIR:=$(BUILD_DIR_BASE)/openwrt-$(BOARD)-$(OPENWRT_REVISION)-$(LINUX_VERSION)
    3242
    3343# Alternate OpenWrt download directory
Note: See TracChangeset for help on using the changeset viewer.