X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=contrib%2Fuci%2FMakefile;h=31551af5762d66faa8c9be07a6892f88f85847d6;hb=d97b73c8c03137c4cf4842f2f5c25940f4fc3246;hp=d3f8403c2d2ae507d61d76f48585f1281fdfc4bf;hpb=c16a35d55106f598d41280e177c77b46f3dbfb59;p=project%2Fluci.git diff --git a/contrib/uci/Makefile b/contrib/uci/Makefile index d3f8403c2..31551af57 100644 --- a/contrib/uci/Makefile +++ b/contrib/uci/Makefile @@ -1,18 +1,27 @@ include ../../build/config.mk include ../../build/gccconfig.mk -UCI_VERSION = 0.4.4 -UCI_SITE = http://mirror2.openwrt.org/sources -UCI_DIR = uci-$(UCI_VERSION) -UCI_FILE = $(UCI_DIR).tar.gz -UCI_URL = $(UCI_SITE)/$(UCI_FILE) +UCI_VERSION = 0.6.1 +UCI_SITE = http://mirror2.openwrt.org/sources +UCI_DIR = uci-$(UCI_VERSION) +UCI_FILE = $(UCI_DIR).tar.gz +UCI_URL = $(UCI_SITE)/$(UCI_FILE) +#UCI_GITREV = 43124956bc9c1083e476f6cadaedf27b7788d004 +#UCI_SITE = http://nbd.name +#UCI_DIR = uci.git +#UCI_FILE = uci-$(UCI_VERSION)$(UCI_APPEND).tar.gz +#UCI_URL = $(UCI_SITE)/gitweb.cgi?p=uci.git;a=snapshot;h=$(UCI_GITREV) +UCI_PATCHDIR = patches all: compile include ../../build/module.mk $(UCI_FILE): - wget -O $@ $(UCI_URL) || rm -f $@ + wget -O $@ "$(UCI_URL)" || rm -f $@ + +$(UCI_PATCHDIR)/series: + (cd $(UCI_PATCHDIR); ls *.patch | sort > series) $(UCI_DIR)/.prepared: $(UCI_FILE) rm -rf $(UCI_DIR) @@ -26,7 +35,6 @@ compile: $(UCI_DIR)/.prepared $(MAKE) -C $(UCI_DIR)/lua CC=$(CC) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" OS="$(OS)" $(MAKE) -C $(UCI_DIR)/lua install DESTDIR=../../dist luadir=$(LUA_LIBRARYDIR) - compile-all: compile clean: