Projecte

General

Perfil

« Anterior | Següent » 

Revisió fe09acd6

Afegit per Pau Escrich fa casi 11 anys

Change OpenWRT version to trunk
Use git instead of svn
Change default name for builds to "openwrt"

Visualitza les diferències:

Makefile
# Contributors: Pau Escrich <p4u@dabax.net>, Simó Albert i Beltran, Agustí Moll
#OWRT_SVN_REV = 29592
OWRT_SVN = svn://svn.openwrt.org/openwrt/branches/attitude_adjustment
OWRT_PKG_SVN = svn://svn.openwrt.org/openwrt/branches/packages_12.09
OWRT_SCM = git clone git://git.openwrt.org/openwrt.git
OWRT_PKG_SCM = git clone git://git.openwrt.org/packages.git
QMP_GIT_RW = ssh://gitosis@qmp.cat:221/qmp.git
QMP_GIT_RO = git://qmp.cat/qmp.git
QMP_GIT_BRANCH ?= testing
......
endef
define checkout_src
svn --quiet co $(OWRT_SVN) $(BUILD_PATH)
$(OWRT_SCM) $(BUILD_PATH)
mkdir -p dl
ln -fs ../../dl $(BUILD_PATH)/dl
ln -fs ../qmp/files $(BUILD_PATH)/files
......
endef
define checkout_owrt_pkg_override
svn --quiet co ${OWRT_PKG_SVN} $(BUILD_DIR)/packages.$(TARGET)
$(OWRT_PKG_SCM) $(BUILD_DIR)/packages.$(TARGET)
sed -i -e "s|src-link packages .*|src-link packages `pwd`/$(BUILD_DIR)/packages.$(TARGET)|" $(BUILD_PATH)/feeds.conf
endef
......
@touch $@
.checkout_owrt_pkg:
svn --quiet co ${OWRT_PKG_SVN} $(BUILD_DIR)/packages
$(OWRT_PKG_SCM) $(BUILD_DIR)/packages
@touch $@
.checkout_owrt_pkg_override:
$(if $(filter $(origin OWRT_PKG_SVN),override),$(if $(wildcard .checkout_owrt_pkg_override_$(TARGET)),,$(call checkout_owrt_pkg_override)),)
$(if $(filter $(origin OWRT_PKG_SCM),override),$(if $(wildcard .checkout_owrt_pkg_override_$(TARGET)),,$(call checkout_owrt_pkg_override)),)
@touch .checkout_owrt_pkg_override_$(TARGET)
.checkout_owrt:

També disponible a: Unified diff