Setting data path in a cross-compile environment

Soh Kam Yung sohkamyung at gmail.com
Tue May 27 01:12:17 PDT 2008


I am cross-compiling dbus on a i386 linux platform to run on an arm
linux platform.

How do I tell configure to compile and put ('install') the dbus data
files in directory 'x' (~/armbuild/dbus) on my build system (i386) but
to expect them to be in directory y (/etc/dbus-1/services) on the
cross-compiled platform (arm)?

I tried using --datadir=/etc/dbus-1/services but this causes 'make
install' to try to install them in /etc/dbus-1/services on my build
platform which is not what I want.

Should I be using another make target?

Regards,
Kam-Yung
-- 
Soh Kam Yung
my Google Reader Shared links:
(http://www.google.com/reader/shared/16851815156817689753)
my Google Reader Shared SFAS links:
(http://www.google.com/reader/shared/user/16851815156817689753/label/sfas)


More information about the dbus mailing list