scripts/unit-tests: Don't build superfluous code for dependencies
scripts/unit-tests: Don't build superfluous code for dependencies

Tested:
    Built phosphor-net-ipmid which passes the expected disable flags to
    the phosphor-host-ipmid dependency but passes the expected enable
    flags to phosphor-net-ipmid.

Change-Id: I7c2d28404bfbdd06035629a15443d8316f6496b5
Signed-off-by: William A. Kennington III <30fff5198f4d10ca1117e5f3ec82f3b4b8900d81@google.com>

openbmc/openbmc-build-scripts,openbmc/openbmc-build-scripts