projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
[openwrt-10.03/.git]
/
package
/
nvram
/
src
/
Makefile
diff --git
a/package/nvram/src/Makefile
b/package/nvram/src/Makefile
index 376c2b7de7794fb4a6948453abdf039ae13eceac..144499ca652ac16b6358639d60ee77219c4bf66c 100644
(file)
--- a/
package/nvram/src/Makefile
+++ b/
package/nvram/src/Makefile
@@
-1,16
+1,10
@@
-# $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
+LIBNVRAM_OBJS := nvram.o
-all: lib
shared.so lib
nvram.so nvram
+all: libnvram.so nvram
%.o: %.c
%.o: %.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^
-
-libshared.so: $(LIBSHARED_OBJS)
- $(CC) -shared -o $@ $^
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
libnvram.so: $(LIBNVRAM_OBJS)
$(CC) -shared -o $@ $^
libnvram.so: $(LIBNVRAM_OBJS)
$(CC) -shared -o $@ $^