summaryrefslogtreecommitdiff
path: root/drivers/dahdi/Kbuild
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-01-05 20:12:48 +0200
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-01-05 20:12:48 +0200
commita4ee69b5300fddb961c6f0c521d204d849e52a0c (patch)
tree844e20af088a4c7a6799b93e1b07617848641a98 /drivers/dahdi/Kbuild
parent7f2c8c423162af1f81bfbea5a3185b457d2cdcb5 (diff)
Introduce the build system
The Makefile supports either building modules locally or generating a patch vs. dahdi-linux SVN. * drivers/dahdi/{Kbuild,Kconfig} - will be merged with existing ones * dahdi_echocan_oslec.c: Copied as-is from dahdi. Provides a better sanity check that the 'echo' module was built OK.
Diffstat (limited to 'drivers/dahdi/Kbuild')
-rw-r--r--drivers/dahdi/Kbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild
new file mode 100644
index 0000000..7de6212
--- /dev/null
+++ b/drivers/dahdi/Kbuild
@@ -0,0 +1,6 @@
+obj-$(DAHDI_BUILD_ALL)$(CONFIG_ECHO) += ../staging/echo/
+obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_ECHOCAN_OSLEC) += dahdi_echocan_oslec.o
+
+####### END OF DATA ########
+
+CFLAGS_MODULE = -I/usr/include