OSDN Git Service

migration-test: Only generate a single target architecture
authorJuan Quintela <quintela@redhat.com>
Thu, 13 Sep 2018 13:23:13 +0000 (15:23 +0200)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 11 Oct 2018 18:58:26 +0000 (19:58 +0100)
commit36bd9e3c8b049cb9124e04ed8bf8f9451d63de03
tree66e05da35ffb20d3229130fb7ec3ade8bbb55c86
parent18613dc6d9f2f33c333440fecab4c584281305ee
migration-test: Only generate a single target architecture

Several changes:
- We only allow generate header "inside" the tree.  Why?  Because we
  need to connit the result, so it makes no sense to generate them on
  the build dir.
- We only generate a single target each time.  Getting all the
  cross-compilers correctly is an impossible task.  So know you do:
     make -C tests/migration $target (native)
     make CROSS_PREFIX=foo- -C tests/migratiion $target (cross)
  And you are done.

- If we are building out of tree, we have no data about if we are
  cross-compile or whatever.  So instead of guess what is happening,
  just do what I pointed on previous point.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20180913132313.11370-1-quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tests/migration/Makefile