From b401d50c8b3b367ea61af8fdf2ce44440a51a3a8 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 24 Jul 2005 19:58:14 +0000 Subject: 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@1540 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/nvram/src/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 openwrt/package/nvram/src/Makefile (limited to 'openwrt/package/nvram/src/Makefile') diff --git a/openwrt/package/nvram/src/Makefile b/openwrt/package/nvram/src/Makefile new file mode 100644 index 000000000..376c2b7de --- /dev/null +++ b/openwrt/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 -- cgit v1.2.3