diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-05-21 15:11:48 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-05-21 15:11:48 +0000 |
commit | 802b567e6c7ba7803a950324cbed13f7d57944cb (patch) | |
tree | 6b90ca3119aaa2e4073d3b651ac965dea5d3430e /drivers/dahdi/wctdm24xxp/Makefile | |
parent | ec5ce88e015b41c2f46f6c9b783339b945f9502a (diff) |
start copying kernel bits
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4315 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/Makefile')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/dahdi/wctdm24xxp/Makefile b/drivers/dahdi/wctdm24xxp/Makefile new file mode 100644 index 0000000..9c4cd51 --- /dev/null +++ b/drivers/dahdi/wctdm24xxp/Makefile @@ -0,0 +1,27 @@ +ifneq ($(KBUILD_EXTMOD),) +# We only get here on kernels 2.6.0-2.6.9 . +# For newer kernels, Kbuild will be included directly by the kernel +# build system. +include $(src)/Kbuild + +else + +all: wctdm24xxp.o + +%.o: %.c + $(CC) $(KFLAGS) -o $@ -c $< + +base.o: ../zaptel.h GpakCust.h ../wctdm.h + +GpakCust.o: GpakCust.h + +../firmware/zaptel-fw-vpmadt032.o: base.o + $(MAKE) -C ../firmware zaptel-fw-vpmadt032.o + +wctdm24xxp.o: base.o GpakCust.o GpakApi.o ../firmware/zaptel-fw-vpmadt032.o + $(LD) -r -o $@ $^ + +clean: + rm -f *.o + +endif |