[zaptel-commits] branch group/kernelmove r1037 - in /team/group/kernelmove/kernel: ./ datamods...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue May 9 05:50:03 MST 2006


Author: jcollie
Date: Tue May  9 07:50:03 2006
New Revision: 1037

URL: http://svn.digium.com/view/zaptel?rev=1037&view=rev
Log:
Check in initial kernel 2.6 Kbuild files.

Added:
    team/group/kernelmove/kernel/Kbuild   (with props)
    team/group/kernelmove/kernel/datamods/Kbuild   (with props)
    team/group/kernelmove/kernel/xpp/Kbuild   (with props)

Added: team/group/kernelmove/kernel/Kbuild
URL: http://svn.digium.com/view/zaptel/team/group/kernelmove/kernel/Kbuild?rev=1037&view=auto
==============================================================================
--- team/group/kernelmove/kernel/Kbuild (added)
+++ team/group/kernelmove/kernel/Kbuild Tue May  9 07:50:03 2006
@@ -1,0 +1,35 @@
+EXTRA_CFLAGS =-I$(src)/.. -I$(obj) -DSTANDALONE_ZAPATA 
+
+obj-m = zaptel.o tor2.o torisa.o wcusb.o wcfxo.o wctdm.o wctdm24xxp.o	\
+	ztdynamic.o ztd-eth.o wct1xxp.o wct4xxp.o wcte11xp.o		\
+	pciradio.o ztd-loc.o ztdummy.o
+
+$(obj)/tor2.o: $(obj)/tor2fw.h
+
+$(obj)/tor2fw.h: $(src)/tormenta2.rbt
+	$(src)/makefw $(src)/tormenta2.rbt tor2fw > $(obj)/tor2fw.h
+
+$(obj)/pciradio.o: $(obj)/radfw.h
+
+$(obj)/radfw.h: $(src)/pciradio.rbt
+	$(src)/makefw $(src)/pciradio.rbt radfw > $(obj)/radfw.h
+
+$(src)/../tones.h: 
+	make -C $(src)/.. tones.h
+
+$(src)/../version.h:
+	make -C $(src)/.. version.h
+
+clean-files = $(obj)/tor2fw.h $(obj)/radfw.h
+
+# Also build xpp in the subdirectory xpp/ . But only for >=2.6.10 and only 
+# for i386. On other archs the module will probably build but panic.
+# This line is only meaningful when this Makefile is used as kconfig for 
+# 2.6 build
+
+ifneq (,$(shell [ 0$(SUBLEVEL) -ge 10 ] && [ "$(ARCH)" = 'i386' ] && echo 1))
+obj-m += xpp/
+endif
+
+# probably need to make this conditional
+obj-m += datamods/

Propchange: team/group/kernelmove/kernel/Kbuild
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/group/kernelmove/kernel/Kbuild
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/group/kernelmove/kernel/Kbuild
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/group/kernelmove/kernel/datamods/Kbuild
URL: http://svn.digium.com/view/zaptel/team/group/kernelmove/kernel/datamods/Kbuild?rev=1037&view=auto
==============================================================================
--- team/group/kernelmove/kernel/datamods/Kbuild (added)
+++ team/group/kernelmove/kernel/datamods/Kbuild Tue May  9 07:50:03 2006
@@ -1,0 +1,3 @@
+
+obj-m = hdlc_cisco.o hdlc_generic.o hdlc_raw.o syncppp.o	\
+	hdlc_fr.o hdlc_ppp.o hdlc_raw_eth.o  

Propchange: team/group/kernelmove/kernel/datamods/Kbuild
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/group/kernelmove/kernel/datamods/Kbuild
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/group/kernelmove/kernel/datamods/Kbuild
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: team/group/kernelmove/kernel/xpp/Kbuild
URL: http://svn.digium.com/view/zaptel/team/group/kernelmove/kernel/xpp/Kbuild?rev=1037&view=auto
==============================================================================
--- team/group/kernelmove/kernel/xpp/Kbuild (added)
+++ team/group/kernelmove/kernel/xpp/Kbuild Tue May  9 07:50:03 2006
@@ -1,0 +1,21 @@
+EXTRA_CFLAGS=-I$(src)/../.. -I$(src)/.. -I$(obj) -DDEBUG # -DHARD_CODED_INIT # -DOLD_CARD # -DWITH_RBS
+
+obj-m			= xpp.o xpd_fxs.o xpd_fxo.o xpp_usb.o
+xpp-y			= xbus-core.o xpp_zap.o xproto.o card_global.o
+xpd_fxs-y		= card_fxs.o slic.o
+xpd_fxo-y		= card_fxo.o slic.o
+
+
+GENERATE_INIT_DATA	:= 1
+INIT_DATA		= init_data_3_19.inc init_data_3_20.inc init_data_4_19.inc init_data_4_20.inc
+clean-files		:= $(INIT_DATA)
+
+ifeq ($(GENERATE_INIT_DATA),1)
+
+$(obj)/%.inc: $(src)/%.cmd
+	$(src)/cmd2inc $^ $@
+
+$(obj)/card_fxs.o: $(obj)/init_data_3_19.inc $(obj)/init_data_3_20.inc
+$(obj)/card_fxo.o: $(obj)/init_data_4_19.inc $(obj)/init_data_4_20.inc
+
+endif

Propchange: team/group/kernelmove/kernel/xpp/Kbuild
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/group/kernelmove/kernel/xpp/Kbuild
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/group/kernelmove/kernel/xpp/Kbuild
------------------------------------------------------------------------------
    svn:mime-type = text/plain



More information about the zaptel-commits mailing list