aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/src/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-01 01:17:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-01 01:17:20 +0000
commit77b3b2f293e3b05a6c6145c1f27dc21adc73062f (patch)
tree21f5047f137482aa835d02a34556739afd50fb1d /package/nvram/src/Makefile
parentc1d8ac6c570323973e1cbacf16373732a86ca595 (diff)
downloadupstream-77b3b2f293e3b05a6c6145c1f27dc21adc73062f.tar.gz
upstream-77b3b2f293e3b05a6c6145c1f27dc21adc73062f.tar.bz2
upstream-77b3b2f293e3b05a6c6145c1f27dc21adc73062f.zip
add broadcom include files, fix build
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3887 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nvram/src/Makefile')
-rw-r--r--package/nvram/src/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/nvram/src/Makefile b/package/nvram/src/Makefile
index 376c2b7de7..3d98209e85 100644
--- a/package/nvram/src/Makefile
+++ b/package/nvram/src/Makefile
@@ -1,13 +1,12 @@
# $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 $@ $^
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -I. -Iinclude -o $@ $^
libshared.so: $(LIBSHARED_OBJS)
$(CC) -shared -o $@ $^