sim: fix handling of 2nd arg to SIM_AC_OPTION_HARDWARE
authorMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 21:53:27 +0000 (21:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 21:53:27 +0000 (21:53 +0000)
commitcb11d1f450c9319dbce0018bf3e41acf675f4a39
treefc1f26207365fcaed1abbe724ca8560ec3acd033
parent5f78776ab10ca691df6a39760795257e30121be5
sim: fix handling of 2nd arg to SIM_AC_OPTION_HARDWARE

The 2nd arg to SIM_AC_OPTION_HARDWARE is described as "a space separated
list of devices that override the defaults" while the 3rd arg is "a space
separated list of extra target specific devices".  But the macro doesn't
seem to treat the 2nd arg this way.

Instead, it will always add the default list of devices, and only add the
extra target specific devices if the 2nd arg is not specified.  So rework
the logic slightly to handle the 2nd arg as documented.

This shouldn't affect any targets in the tree as no one passes in a non-
empty value as the 2nd arg.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/aclocal.m4
This page took 0.036974 seconds and 4 git commands to generate.