test: Fix parallel build error on tests

The test was using LDADD to link the objects, this results in below
error when building with `make check -j`

    *** No rule to make target '../openpower_update_manager-activation.o', needed by 'utest'. Stop.

Because the test depends on the objects to be pre-build, but there is no
rule in test/Makefile.am to build t he objects.

This commit changes it to add sources instead of linking to objects, so
parallel build works fine.

Tested: run `make check -j` without error.

Change-Id: Ie7aaac49756fdd3b8941c1dec8f693ec66f659ab
Signed-off-by: Lei YU <mine260309@gmail.com>
1 file changed
tree: de889391789bcc534ccbcdf45bef70eb26371d23
  1. m4/
  2. org/
  3. static/
  4. test/
  5. ubi/
  6. .clang-format
  7. .gitignore
  8. activation.cpp
  9. activation.hpp
  10. bootstrap.sh
  11. configure.ac
  12. generate-tar
  13. generate-ubi
  14. image_verify.cpp
  15. image_verify.hpp
  16. item_updater.cpp
  17. item_updater.hpp
  18. item_updater_main.cpp
  19. LICENSE
  20. MAINTAINERS
  21. Makefile.am
  22. msl_verify.cpp
  23. msl_verify.hpp
  24. msl_verify_main.cpp
  25. openpower-pnor-update@.service
  26. README.md
  27. utils.cpp
  28. utils.hpp
  29. version.cpp
  30. version.hpp
README.md

openpower-pnor-code-mgmt

OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.