summaryrefslogtreecommitdiff
path: root/hald/run-hald.sh
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2006-09-23 19:15:30 -0400
committerDavid Zeuthen <davidz@redhat.com>2006-09-23 19:15:30 -0400
commit499e981a3055ef8bf09ef7b2737721a275698d09 (patch)
tree023a2ac1f5c9045c9def6820f6856a854cb75dae /hald/run-hald.sh
parentaee0e0ba2e734506f5c430374e9896c025b7a655 (diff)
make cpufreq support optional
This is part of a larger effort to make HAL better support embedded systems.
Diffstat (limited to 'hald/run-hald.sh')
-rwxr-xr-xhald/run-hald.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/hald/run-hald.sh b/hald/run-hald.sh
index 69dd17eb..d8e6cb3e 100755
--- a/hald/run-hald.sh
+++ b/hald/run-hald.sh
@@ -2,9 +2,13 @@
export HALD_RUNNER_PATH=`pwd`/linux:`pwd`/linux/probing:`pwd`/linux/addons:`pwd`/.:`pwd`/../tools:`pwd`/../tools/linux
export PATH=`pwd`/../hald-runner:$PATH
-export HAL_FDI_SOURCE_PREPROBE=../fdi/preprobe
-export HAL_FDI_SOURCE_INFORMATION=../fdi/information
-export HAL_FDI_SOURCE_POLICY=../fdi/policy
+
+rm -rf .local-fdi
+make -C ../fdi install DESTDIR=`pwd`/.local-fdi prefix=/
+export HAL_FDI_SOURCE_PREPROBE=.local-fdi/share/hal/fdi/preprobe
+export HAL_FDI_SOURCE_INFORMATION=.local-fdi/share/hal/fdi/information
+export HAL_FDI_SOURCE_POLICY=.local-fdi/share/hal/fdi/policy
+
./hald --daemon=no --verbose=yes
#./hald --daemon=no