diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2008-06-17 20:22:36 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2008-06-17 20:22:36 +0000 |
commit | bbc307b2b0b37108190de6ba4743a5d712cc6fc4 (patch) | |
tree | 557fa8042cf113919ba6e0e626f3d7f9da099db2 /drivers/dahdi/xpp/Kbuild | |
parent | 5b937d8b8c168e124442874b56a593a587160427 (diff) |
commit a bunch of stuff, primarily basic support for allowing drivers/dahdi and include/dahdi to be 'dropped in' to a Linux kernel tree and be part of the buildsystem
also includes a bunch of minor Makefile improvements, and relocating the firmware directory to the directory where the modules live, since that is the only place it is needed
still left to do: handle version.h creation when in native-kernel-tree mode, fix up lots of problems left with firmware file handling
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4377 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/Kbuild')
-rw-r--r-- | drivers/dahdi/xpp/Kbuild | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/drivers/dahdi/xpp/Kbuild b/drivers/dahdi/xpp/Kbuild index f47edf0..3f0774e 100644 --- a/drivers/dahdi/xpp/Kbuild +++ b/drivers/dahdi/xpp/Kbuild @@ -5,7 +5,6 @@ else endif EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \ - -I$(ZAP_KERNEL) \ -DDEBUG \ -DPOLL_DIGITAL_INPUTS \ -DWITH_ECHO_SUPPRESSION \ @@ -14,7 +13,11 @@ EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \ -g # -obj-m += xpp.o xpd_fxs.o xpd_fxo.o xpd_pri.o +obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPP) += xpp.o +obj-$(CONFIG_DAHDI_XPP_USB) += xpp_usb.o +obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_FXS) += xpd_fxs.o +obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_FXO) += xpd_fxo.o +obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_PRI) += xpd_pri.o HAS_BRISTUFF := $(shell grep '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_ZAPATA_BRI_DCHANS\>' $(ZAP_KERNEL)/dahdi_config.h) @@ -26,11 +29,11 @@ ifneq (,$(HAS_BRISTUFF)) obj-m += xpd_bri.o endif -xpp-y += xbus-core.o xbus-sysfs.o xbus-pcm.o xframe_queue.o xpp_zap.o xproto.o card_global.o zap_debug.o -xpd_fxs-y += card_fxs.o -xpd_fxo-y += card_fxo.o -xpd_bri-y += card_bri.o -xpd_pri-y += card_pri.o +xpp-objs += xbus-core.o xbus-sysfs.o xbus-pcm.o xframe_queue.o xpp_zap.o xproto.o card_global.o zap_debug.o +xpd_fxs-objs += card_fxs.o +xpd_fxo-objs += card_fxo.o +xpd_bri-objs += card_bri.o +xpd_pri-objs += card_pri.o ifeq (y,$(PARPORT_DEBUG)) EXTRA_CFLAGS += -DDEBUG_SYNC_PARPORT |