diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-07-24 19:58:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-07-24 19:58:14 +0000 |
commit | 8304dfdacebbabb05cf8301c66c4002c543e8888 (patch) | |
tree | 056c21ee081ea7e79141723c2b6a0d083c49a348 /package/nvram/src/Makefile | |
parent | f91aad926f9e0d34d806454a99f25bac63500b12 (diff) | |
download | upstream-8304dfdacebbabb05cf8301c66c4002c543e8888.tar.gz upstream-8304dfdacebbabb05cf8301c66c4002c543e8888.tar.bz2 upstream-8304dfdacebbabb05cf8301c66c4002c543e8888.zip |
move wificonf and nvram stuff back to package/, remove build_mipsel/root, run install part of package/ for every board/kernel - fixes dependency mess
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1540 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nvram/src/Makefile')
-rw-r--r-- | package/nvram/src/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/nvram/src/Makefile b/package/nvram/src/Makefile new file mode 100644 index 0000000000..376c2b7de7 --- /dev/null +++ b/package/nvram/src/Makefile @@ -0,0 +1,22 @@ +# $Id$ + +EXTRA_CFLAGS := -c -I. -I../include +LIBSHARED_OBJS := shutils.o wl.o wl_linux.o defaults.o linux_timer.o +LIBNVRAM_OBJS := nvram_linux.o nvram_convert.o + +all: libshared.so libnvram.so nvram + +%.o: %.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ + +libshared.so: $(LIBSHARED_OBJS) + $(CC) -shared -o $@ $^ + +libnvram.so: $(LIBNVRAM_OBJS) + $(CC) -shared -o $@ $^ + +nvram: main.o + $(CC) -o $@ $^ -L. -lnvram + +clean: + rm -f *.o *.so nvram |