|
From: Anders J. <and...@us...> - 2001-07-30 15:45:29
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
Makefile 1.22 1.23=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Added option to include/exclude unplug test code.
The diff of the modified file(s):
--- Makefile 2001/06/06 15:52:13 1.22
+++ Makefile 2001/07/30 15:45:28 1.23
@@ -9,6 +9,10 @@
BOBJS =3D bcsp.o bcsp_datagram.o bcsp_integrity.o bcsp_mux.o \
bcsp_sequence.o bcsp_slip.o
=20
+# Uncomment this line to enable the unplugged testcases. If you
+# don't know what this is just leave it commented.
+#INCLUDE_UNPLUG_TEST =3D 1
+
ifeq ($(TOPDIR)/Rules.make,$(wildcard $(TOPDIR)/Rules.make))
=20
#---------------------------------------------------------------------
@@ -29,6 +33,10 @@
endif
M_OBJS =3D $(O_TARGET)
=20
+ifdef INCLUDE_UNPLUG_TEST
+O_OBJS +=3D unplug_test.o
+endif
+
include $(TOPDIR)/Rules.make
=20
else
@@ -49,6 +57,11 @@
=20
MODFLAGS =3D -DMODVERSIONS -include $(INCLUDEDIR)/linux/modversions.h
CFLAGS =3D -D__KERNEL__ -DMODULE -I../../../include -I$(INCLUDEDIR) -Wa=
ll -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce $(MODF=
LAGS) -MD
+
+ifdef INCLUDE_UNPLUG_TEST
+OBJS +=3D unplug_test.o
+CFLAGS +=3D -DINCLUDE_UNPLUG_TEST
+endif
=20
all: $(O_TARGET)
=20
|