build: convert libhw to nested Makefile.objs

After this patch, the libhw* directories will have a hierarchy
that mimics the source tree.  This is useful because we do have
a couple of files there that are in the top source directory.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2012-05-29 11:10:55 +02:00
parent 3d5a3f9a7f
commit be1029ec30
7 changed files with 150 additions and 147 deletions

7
configure vendored
View file

@ -3996,10 +3996,11 @@ done
for hwlib in 32 64; do
d=libhw$hwlib
mkdir -p $d
mkdir -p $d/ide
mkdir -p $d/usb
mkdir -p $d/hw
mkdir -p $d/hw/ide
mkdir -p $d/hw/usb
symlink "$source_path/Makefile.hw" "$d/Makefile"
mkdir -p $d/9pfs
mkdir -p $d/hw/9pfs
echo "QEMU_CFLAGS+=-DTARGET_PHYS_ADDR_BITS=$hwlib" > $d/config.mak
done