build-sys: use a separate slirp-obj-y && slirp.mo
commit1fdf39927fc44e94c83d24ed92aa1913f3ab4dab
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 21 Nov 2018 22:06:30 +0000 (22 02:06 +0400)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 14 Jan 2019 22:36:32 +0000 (14 23:36 +0100)
tree78c662383d3e0b8cd9ff60788bb8dbe1308ee296
parente6dbff3fb8d2d7ce6cfad54b0c1d767d908bd791
build-sys: use a separate slirp-obj-y && slirp.mo

This will allow to have cflags for the whole slirp.mo -objs.
It makes it possible to build tests that links only with
slirp-obj-y (and not the whole common-obj).

It is also a step towards building slirp as a shared library, although
this requires a bit more thoughts to build with
net/slirp.o (CONFIG_SLIRP would need to be 'm') and other build issues.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Makefile
Makefile.objs
Makefile.target
slirp/Makefile.objs