[asterisk-bugs] [Asterisk 0015759]: [patch] Need makefile to do kbuild-like out-of-source-tree builds for Asterisk modules

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 5 17:34:01 CST 2009


The following issue has been CLOSED 
====================================================================== 
https://issues.asterisk.org/view.php?id=15759 
====================================================================== 
Reported By:                pprindeville
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15759
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-08-21 19:39 CDT
Last Modified:              2009-11-05 17:34 CST
====================================================================== 
Summary:                    [patch] Need makefile to do kbuild-like
out-of-source-tree builds for Asterisk modules
Description: 
Linux modules have "kbuild".

Apache modules have "apxs".

Asterisk needs something similar.  Building a bundled distro (like
Astlinux, for instance) means having two possible courses of action:

(a) have hairy "buildroot" makefiles that copy bits of source into the
asterisk/ source tree, apply patches to the makefiles, etc. and hope that
the next version bump doesn't break your patches and sources;

(b) have a way to build outside of the source tree with only the asterisk
include files (i.e. the "apxs" and "kbuild" way).

Obviously, (b) would be a lot more robust and simpler to maintain.

Tilghman wrote the following makefile, and we've been copying it into our
source tree (sigh) and using it.  It works great.  We'll swear by it.

We just would like to go the final step and have it be in the source tree
permanently.

====================================================================== 

---------------------------------------------------------------------- 
 (0113248) tilghman (administrator) - 2009-11-05 17:34
 https://issues.asterisk.org/view.php?id=15759#c113248 
---------------------------------------------------------------------- 
As Kevin noted in #asterisk-dev, if we were to do this, it would be as
arguments to the standard Makefile, not a separate Makefile, so that the
commands would never go stale.  Hence, what is here does not fit the bill. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-05 17:34 tilghman       Note Added: 0113248                          
2009-11-05 17:34 tilghman       Status                   assigned => closed  
2009-11-05 17:34 tilghman       Resolution               reopened => suspended
======================================================================




More information about the asterisk-bugs mailing list