summaryrefslogtreecommitdiff
path: root/environment_example
diff options
context:
space:
mode:
Diffstat (limited to 'environment_example')
-rw-r--r--environment_example30
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