]> git.ozlabs.org Git - petitboot/commit
Allow host programs to be configured
authorJeremy Kerr <jk@ozlabs.org>
Tue, 5 Mar 2013 05:54:55 +0000 (13:54 +0800)
committerGeoff Levand <geoff@infradead.org>
Tue, 5 Mar 2013 14:08:20 +0000 (06:08 -0800)
commit76fdd1c6932624e1783d5d53683919c35728c945
tree77ef35d0b6008a242b26f1dbbaceefb737a76ced
parent6f381004c354e0e0e2ce5303eb7a675cd1b32c57
Allow host programs to be configured

Rather than hard-coding in lib/system/system.c, this change adds a set
of #defines for host programs, through the autoheader config.h

These host programs can then be set through configure:

 ./configure HOST_PROG_MOUNT=/usr/bin/mount

Because we need to define nine host programs, we add an autoconf macro
to avoid repeating the definition code.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
configure.ac.in
lib/system/system.c