X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=contrib%2Fuci%2FMakefile;h=19625aa723241363e47193247100ecf0a6e8393a;hp=cf3020ffb6778d3f2af0069923938f7db252b9fb;hb=e795b1b2048a3e0b4b5ad9f72724a2b508ed54c5;hpb=a215d44a354c02924b45d2de4f86b108194d2f67 diff --git a/contrib/uci/Makefile b/contrib/uci/Makefile index cf3020ffb..19625aa72 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.5 -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.7.5 +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 = c79cc497e7b0caa0f9f6a2c978fa9a5f0f097463 +#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: