diff options
author | Guillaume Knispel <gknispel@avencall.com> | 2013-02-01 17:34:07 +0100 |
---|---|---|
committer | Guillaume Knispel <gknispel@avencall.com> | 2013-02-01 17:34:07 +0100 |
commit | 1a42ba1e73d71867cacc55938d8c43666f349219 (patch) | |
tree | e4110bcb9c6ad1d4bba30ef8d1229ea1557cc22e /environment_example | |
parent | 32cdd1cafca041021082a1386f5a5b51a7f18cbc (diff) |
document environment_example
Diffstat (limited to 'environment_example')
-rw-r--r-- | environment_example | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/environment_example b/environment_example index e917593..143754a 100644 --- a/environment_example +++ b/environment_example @@ -1,7 +1,29 @@ -export KSRC=/usr/src/linux-source-2.6.32 -export KERNEL_SOURCE_ROOT=$KSRC -export DAHDI_SYMVERS=/usr/src/modules/dahdi-linux/drivers/dahdi/Module.symvers -export DAHDI_INCLUDE=/usr/src/modules/dahdi-linux/include +# To build properly, you must have your target dahdi-linux tree with complete +# build results in it. +# You can build it in its directory with the following commands mimicking +# a Debian build under Squeeze: +# make dist-clean +# dh_clean +# fakeroot /usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules +DAHDI_LINUX=$HOME/dahdi-linux + +# ICP_ROOT used to need to be at root because of a fucked-up build-sys +# (we modified it to be somehow less fucked-up, but I'm not sure everything +# is correct) export ICP_ROOT=/EP805XX + +# VP-API from Legerity^W Zarlink^W Microsemi +# TODO: update VP-API export VP_API=/home/xilun/hard/zarlink/Le71SDKAPIL_P2.17.0 + +# KSRC: usual target Linux source tree +export KSRC=/usr/src/linux-source-2.6.32 + + +################################################## +# You should not have to touch anything down there +# +export KERNEL_SOURCE_ROOT=$KSRC +export DAHDI_SYMVERS=$DAHDI_LINUX/drivers/dahdi/Module.symvers +export DAHDI_INCLUDE=$DAHDI_LINUX/include export XIVO_AUDIO=1 |