Changeset 732


Ignore:
Timestamp:
Mar 4, 2016, 9:13:14 PM (4 years ago)
Author:
amain
Message:

Add git repos to menuconfig

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/kernel/openwrt/extra.in

    r724 r732  
    11# DebWrt - Debian on Embedded devices
    22#
    3 # Copyright (C) 2010 Johan van Zoomeren <amain@debwrt.net>
     3# Copyright (C) 2010, 2016 Johan van Zoomeren <amain@debwrt.net>
    44#
    55# This program is free software: you can redistribute it and/or modify
     
    1616# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1717
    18 config OPENWRT_SVN_REPO_URL
     18config OPENWRT_GIT_REPO_URL
    1919        string
    20         default "svn://svn.openwrt.org/openwrt" if OPENWRT_SVN_REPO_URL_SVN
    21         default "https://github.com/openwrt-mirror/openwrt" if OPENWRT_SVN_REPO_URL_MIRROR1
    22         default "svn://svn.openwrt.org/openwrt"
     20        default "git://git.openwrt.org" if OPENWRT_GIT_REPO_URL_MAIN
     21        default "https://github.com/openwrt-mirror" if OPENWRT_GIT_REPO_URL_MIRROR1
     22        default "git://git.openwrt.org"
    2323
    2424choice
    25         prompt "OpenWrt SVN Repository"
    26         default OPENWRT_SVN_REPO_URL_MIRROR1
     25        prompt "OpenWrt git Repository"
     26        default OPENWRT_GIT_REPO_URL_MAIN
    2727
    28 config OPENWRT_SVN_REPO_URL_SVN
     28config OPENWRT_GIT_REPO_URL_MAIN
    2929        bool
    30         prompt "svn://svn.openwrt.org/openwrt"
     30        prompt "git://git.openwrt.org"
    3131        help
    32           Select the OpenWrt SVN Repository.
     32          Select the OpenWrt git Repository.
    3333          .
    34           Select this to access then OpenWrt SVN repository using the SVN
     34          Select this to access then OpenWrt git repository using the git
    3535          protocol
    3636
    37 config OPENWRT_SVN_REPO_URL_MIRROR1
     37config OPENWRT_GIT_REPO_URL_MIRROR1
    3838        bool
    39         prompt "https://github.com/openwrt-mirror/openwrt"
     39        prompt "https://github.com/openwrt-mirror"
    4040        help
    41           Access OpenWrt SVN mirror repository
     41          Access OpenWrt git mirror repository
    4242
    4343endchoice
  • trunk/openwrt/openwrt.mk

    r730 r732  
    158158        touch $@
    159159
    160 CONFIG_OPENWRT_SVN_REPO_URL=git://git.openwrt.org
    161160ifeq ($(OPENWRT_BRANCH),trunk)
    162 OPENWRT_GIT:=$(call qstrip,$(CONFIG_OPENWRT_SVN_REPO_URL))/openwrt.git
     161OPENWRT_GIT:=$(call qstrip,$(CONFIG_OPENWRT_GIT_REPO_URL))/openwrt.git
    163162else
    164 OPENWRT_GIT:=$(call qstrip,$(CONFIG_OPENWRT_SVN_REPO_URL))/$(OPENWRT_BRANCH)/openwrt.git
     163OPENWRT_GIT:=$(call qstrip,$(CONFIG_OPENWRT_GIT_REPO_URL))/$(OPENWRT_BRANCH)/openwrt.git
    165164endif
    166165
Note: See TracChangeset for help on using the changeset viewer.