1 include ..
/..
/build
/config.mk
2 include ..
/..
/build
/gccconfig.mk
5 UCI_SITE
= http
://mirror2.openwrt.org
/sources
6 UCI_DIR
= uci-
$(UCI_VERSION
)
7 UCI_FILE
= $(UCI_DIR
).
tar.gz
8 UCI_URL
= $(UCI_SITE
)/$(UCI_FILE
)
12 include ..
/..
/build
/module.mk
15 wget
-O
$@
$(UCI_URL
) ||
rm -f
$@
17 $(UCI_DIR
)/.prepared
: $(UCI_FILE
)
22 compile
: $(UCI_DIR
)/.prepared
23 $(MAKE
) -C
$(UCI_DIR
) CC
=$(CC
) CFLAGS
="$(CFLAGS)" LDFLAGS
="$(LDFLAGS)" OS
="$(OS)"
24 mkdir
-p
dist/usr
/lib
dist/usr
/bin
25 $(MAKE
) -C
$(UCI_DIR
) install DESTDIR
=..
/dist prefix=/usr
26 $(MAKE
) -C
$(UCI_DIR
)/lua CC
=$(CC
) CFLAGS
="$(CFLAGS)" LDFLAGS
="$(LDFLAGS)" OS
="$(OS)"
27 $(MAKE
) -C
$(UCI_DIR
)/lua
install DESTDIR
=..
/..
/dist luadir
=$(LUA_LIBRARYDIR
)
33 rm -rf
$(UCI_DIR
) $(UCI_FILE
)