This repository has been archived by the owner on Jan 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change the CFLAGS controlled by menuselect to be placed in a header file
instead of being added to the compiler commands. This header file will be installed and modules built outside of the main tree will be able to use the same build options used to build the rest of Asterisk. git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@26808 f38db490-d61c-443f-a65b-d21fe96a405b
- Loading branch information
Showing
7 changed files
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
15 | ||
16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<category name="MENUSELECT_CFLAGS" displayname="Compiler Flags" positive_output="yes" force_clean_on_change="yes"> | ||
<member name="-DDEBUG_SCHEDULER"> | ||
<member name="DEBUG_SCHEDULER"> | ||
</member> | ||
<member name="-DDEBUG_THREADS"> | ||
<member name="DEBUG_THREADS"> | ||
</member> | ||
<member name="-DDETECT_DEADLOCKS"> | ||
<member name="DETECT_DEADLOCKS"> | ||
</member> | ||
<member name="-DDUMP_SCHEDULER"> | ||
<member name="DUMP_SCHEDULER"> | ||
</member> | ||
<member name="-DLOW_MEMORY"> | ||
<member name="LOW_MEMORY"> | ||
</member> | ||
<member name="-DMALLOC_DEBUG"> | ||
<member name="MALLOC_DEBUG"> | ||
</member> | ||
<member name="-DRADIO_RELAX"> | ||
<member name="RADIO_RELAX"> | ||
</member> | ||
<member name="-DTRACE_FRAMES"> | ||
<member name="TRACE_FRAMES"> | ||
</member> | ||
<member name="-DMTX_PROFILE"> | ||
<member name="MTX_PROFILE"> | ||
</member> | ||
</category> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
cat << END | ||
/* | ||
* buildopts.h | ||
* Automatically generated | ||
*/ | ||
END | ||
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g` | ||
for x in ${TMP}; do | ||
echo "#define ${x}" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters