Revisió e6c8d8eb
Afegit per Agustí Moll Garcia fa aproximadament 13 anys
Makefile | ||
---|---|---|
QMP_GIT_BRANCH = master
|
||
EIGENNET_GIT = git://gitorious.org/eigennet/packages.git
|
||
EIGENNET_GIT_REV = 7467D68855991FE35797B0A5958B000F65C0134F
|
||
B6M_GIT = git://qmp.cat/b6m.git
|
||
B6M_GIT_BRANCH = openwrt
|
||
BUILD_DIR = build
|
||
CONFIG_DIR = configs
|
||
MY_CONFIGS = $(BUILD_DIR)/configs
|
||
... | ... | |
cd $(BUILD_DIR)/eigennet/packages && git reset --hard $(EIGENNET_GIT_REV)
|
||
@touch $@
|
||
|
||
.checkout_b6m:
|
||
git clone $(B6M_GIT) $(BUILD_DIR)/b6m
|
||
cd $(BUILD_DIR)/qmp; git checkout --track origin/$(B6M_GIT_BRANCH); cd ..
|
||
@touch $@
|
||
|
||
checkout: .checkout_qmp .checkout_eig
|
||
$(if $(T),,$(call target_error))
|
||
$(if $(wildcard .checkout_$(T)),,$(call checkout_src))
|
||
... | ... | |
$(if $(wildcard .checkout_$(T)),,$(call copy_config))
|
||
@touch .checkout_$(T)
|
||
|
||
update: .checkout_eig .checkout_qmp
|
||
update: .checkout_eig .checkout_qmp .checkout_b6m
|
||
cd $(BUILD_DIR)/qmp && git pull
|
||
# cd $(BUILD_DIR)/eigennet/packages && git pull
|
||
|
També disponible a: Unified diff
Makefile with using map