summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2010-09-24dahdi: Add '+' on KMAKE definition to enable parallel make.Shaun Ruffell
Now 'make -j 5' works the way it's supposed to on multi core machines. On one test machine build times went from ~33 seconds to ~11 seconds. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Kinsey Moore <kmoore@digium.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Review: https://reviewboard.asterisk.org/r/940/ git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9409 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-09-21dahdi: Generate include/dahdi/version.h when building in a git repository.Shaun Ruffell
If building within a git repository search the last log message for a 'git-svn-id'. If found, the commit has a corresponding svn revision number and we will use the SVN-xxx-rxxx revision form. Otherwise use the output of 'git describe --long --always --tags --dirty=M' as the version. Signed-off-by: Shaun Ruffell <sruffell@digium.com> Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9396 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-09-20dahdi: Updating copyright date on MakefileShaun Ruffell
Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9349 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-19Remove generation of kernel-doc API docsTzafrir Cohen
It's not really useful, and it breaks building 'docs' without a kernel tree. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8538 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-15allow overriding udev rules dirTzafrir Cohen
Later versions of udev prefer installing (packaged) udev rules under /lib/udev/rules.d . Let's make our path easier to override by packagers. No functional change. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8040 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-15Don't generate static device files at install time.Tzafrir Cohen
* Most users use udev anyway * Don't attempt to create any device files in the 'install' target. * Setting DYNFS at build time should no longer be needed - Though remains harmless. * In order to create the static device files, use the script: build_tools/make_static_devs git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8034 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-10-11Add kernel-doc generation to the 'docs' targetTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7379 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-17Silence spurious warnings when trying to remove Zaptel directories during ↵Sean Bright
install. (closes issue #15479) Reported by: pprindeville Patches: dahdi-linux-rm.patch uploaded by pprindeville (license 347) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7027 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-28Fix 'make stackcheck' using the script of the kernel source.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6780 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-12remove another unused variableKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6606 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-02Remove explicit passing of ARCH to kernel build systemKevin P. Fleming
There is no value in setting a value for ARCH and passing it to the kernel build system; the configured kernel headers/sources already have an architecture specified and can't be used for any other architecture anyway. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6556 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-29voicebus: Move common vpmadt032 interface into voicebus module.Shaun Ruffell
The voicebus library was previously linked into both the wcte12xp and wctdm24xxp drivers. It is now broken out into it's own module and the common parts of the vpmadt032 interface are now located in that module to reduce duplication between the wcte12xp and wctdm24xxp drivers. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6527 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-04Also install dahdi_config.h to /usr/include/dahdiTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6325 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-29Don't echo the echo. Echo.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5619 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-11-27dahdi-linux: Remove README.Astribank.html generation.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5403 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-09-11Move udev rules xpp.rules from dahdi-tools to dahdi-linux .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4894 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-27Set a list of headers to install/uninstall, so the lists don't get out of ↵Jason Parker
sync (note the previously missing fasthdlc.h in the uninstall-include target) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4847 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-26"docs" target to generate documentation. Generate docs with asciidoc.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4841 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-26Don't try to clean modules if there's no kernel source available (likeTzafrir Cohen
in Zaptel). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4837 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-25Support MODULES_EXTRA and SUBDIRS_EXTRA to add extra modules from theTzafrir Cohen
make command line. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4829 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-25Make sure we remove headers that we installed in install-includeJason Parker
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4828 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-18minor cleanups, and allow DAHDI_BUILD_ALL to be overriden on the command lineKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4788 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-08-14Also install Astribank firmwares and init scripts to /usr/share/dahdi .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4781 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-30use a better technique to ensure that version.h gets updated when necessaryKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-30Delete Zaptel header directory on 'make install' and remove extraneous file fromKevin P. Fleming
.PHONY git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4636 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-29make an initial split of dahdi/kernel.h into userspace- and ↵Kevin P. Fleming
kernelspace-specific parts git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4628 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08minor improvements to uninstall-modules: add the PID to the temporary file ↵Kevin P. Fleming
name to make it less easy to accidentally duplicate, only search directories where we expect that DAHDI or Zaptel modules might be found (known installation locations, even old ones), and always uninstall old DAHDI modules before installing new ones, in case a module is no longer in the tree and shouldn't be left installed git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4575 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08minor cleanupsKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4572 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08clean up install and uninstall targets, and make 'uninstall' target ↵Kevin P. Fleming
completely functional git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4571 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-08make the uninstall-modules target actually work (except when DESTDIR is ↵Kevin P. Fleming
supplied), and automatically uninstall any Zaptel modules present for the KVERS kernel during installation of DAHDI git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4570 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-07the package name will be all lowercase, as is normalKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4552 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-06corrected sp3lling err0rDwayne M. Hubbard
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4545 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-06Point to DAHDI-tools instead of 'make config' in the end of 'makeTzafrir Cohen
install'. Closes issue #12998 . git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4540 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02install firmware last, so that if it fails, everything else will be done alreadyKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4526 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-02there is no need for the top-level Makefile to be involved in the kernel's ↵Kevin P. Fleming
build process, and removing it gets the modules installed into the proper directories in /lib/modules git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4506 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01remove some more unnecessary stuff, and update genmodconf to no longer ↵Kevin P. Fleming
support 2.4 kernels, have proper name references, etc. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01revert this... all of this stuff belongs in dahdi-toolsKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4502 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Add the remaining files and changes needed to get 'make config' to be ↵Kevin P. Fleming
functional. (closes issue #12968) Reported by: dimas git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Remove an incorrect comment.Jason Parker
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4494 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-07-01Build the modules before we install them, in case we don't call the install ↵Jason Parker
target (which calls all, which calls modules) directly. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4493 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17some more minor fixes... the equivalent of zaptel r4356 is now included hereKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4383 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-06-17commit a bunch of stuff, primarily basic support for allowing drivers/dahdi ↵Kevin P. Fleming
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
2008-06-16Don't look for kernel 2.4 source.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4366 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23generate version string properlyKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4343 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-23fix static device node directoryKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4334 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-22fix device names, udev rules, sysfs class name, proc directory nameKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4332 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-22remove some Makefile cruft, fix up a few more Zaptel referencesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4331 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-22fix up all remaining references to zaptel/zapata (except for the ones in ↵Kevin P. Fleming
credits that need to be left alone) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4324 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21replace Zaptel with DAHDI, ZAPTEL with DAHDI, ZAPATA with DAHDIKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4322 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-05-21rename modules from zt prefixes to dahdi prefixesKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4319 a0bf4364-ded3-4de4-8d8a-66a801d63aff