[oe] [PATCH] busybox: allow building when prefix is "", not "/usr".
Phil Blundell
philb at gnu.org
Fri Jun 5 13:57:10 UTC 2009
On Fri, 2009-06-05 at 09:29 -0400, Michael Smith wrote:
> This is in the defconfig (CONFIG_UDHCPC_DEFAULT_SCRIPT). We might be
> able to get around it by passing
> -DCONFIG_UDHCPC_DEFAULT_SCRIPT=${datadir}/udhcpc/default.script as a CFLAG.
Ah, so it is.
How about changing the defconfig file to read:
CONFIG_UDHCPC_DEFAULT_SCRIPT="!DATADIR!/udhcpc/default.script"
and then, in do_configure, replacing the straight "install" with
something like:
sed 's#!DATADIR!#${datadir}#' < ${WORKDIR}/defconfig > ${S}/.config
Those folks with custom defconfigs shouldn't notice any difference
unless they were unlucky enough to have written "!DATADIR!" somewhere in
them. :-}
p.
More information about the Openembedded-devel
mailing list