Re: [Qemu-devel] [PATCH] Makefile: Fix broken build

2011-09-17 Thread Blue Swirl
Thanks, applied. On Fri, Sep 16, 2011 at 7:50 PM, Stefan Weil wrote: > make -C mybuilddir no longer works (regression caused by commit) > 388d475815c23901010a25c845eb078d47ee0740. > > PWD is the directory of the caller (not mybuilddir), > so BUILD_DIR is set to the wrong value. > > GNU make sets

[Qemu-devel] [PATCH] Makefile: Fix broken build

2011-09-16 Thread Stefan Weil
make -C mybuilddir no longer works (regression caused by commit) 388d475815c23901010a25c845eb078d47ee0740. PWD is the directory of the caller (not mybuilddir), so BUILD_DIR is set to the wrong value. GNU make sets CURDIR to the correct value. Use this macro instead of PWD. Cc: LluĂ­s Vilanova Cc