于 2012-11-16 20:49, Paolo Bonzini 写道:
Il 16/11/2012 13:40, Wenchao Xia ha scritto:
I guess "make distclean" for second time would fail in this case,
because $(SRC_PATH) is not set. I found a better way to do it without
MAKEFILES:
-ifneq ($(wildcard config-host.mak),)
- include $(SRC_PATH)/
Il 16/11/2012 13:40, Wenchao Xia ha scritto:
> I guess "make distclean" for second time would fail in this case,
> because $(SRC_PATH) is not set. I found a better way to do it without
> MAKEFILES:
>
> -ifneq ($(wildcard config-host.mak),)
> - include $(SRC_PATH)/tests/Makefile
> + include t
于 2012-11-16 19:16, Paolo Bonzini 写道:
Il 16/11/2012 12:01, Wenchao Xia ha scritto:
ifneq ($(wildcard config-host.mak),)
include $(SRC_PATH)/tests/Makefile
endif
to
-include $(SRC_PATH)/tests/Makefile
?
yes, but original author seems not include tests/Makefile in
this condition on purpo
Il 16/11/2012 12:01, Wenchao Xia ha scritto:
>>
>>
>> ifneq ($(wildcard config-host.mak),)
>> include $(SRC_PATH)/tests/Makefile
>> endif
>>
>> to
>>
>> -include $(SRC_PATH)/tests/Makefile
>>
>> ?
>>
> yes, but original author seems not include tests/Makefile in
> this condition on purpose, so us
于 2012-11-16 18:56, Paolo Bonzini 写道:
Il 16/11/2012 11:31, Wenchao Xia ha scritto:
于 2012-11-16 18:23, Peter Maydell 写道:
On 16 November 2012 10:12, Wenchao Xia
wrote:
Currently make clean only clean tests/tcg and hard to extend.
This patch added command make check-clean, which clean all
g
Il 16/11/2012 11:31, Wenchao Xia ha scritto:
> 于 2012-11-16 18:23, Peter Maydell 写道:
>> On 16 November 2012 10:12, Wenchao Xia
>> wrote:
>>>Currently make clean only clean tests/tcg and hard to extend.
>>> This patch added command make check-clean, which clean all
>>> generated files used in t
Currently make clean only clean tests/tcg and hard to extend.
This patch added command make check-clean, which clean all
generated files used in tests. With this command root Makefile
do not care tests clean method any more, it simply calls the
command to do it, so any more clean script could be
于 2012-11-16 18:23, Peter Maydell 写道:
On 16 November 2012 10:12, Wenchao Xia wrote:
Currently make clean only clean tests/tcg and hard to extend.
This patch added command make check-clean, which clean all
generated files used in tests. With this command root Makefile
do not care tests clean
On 16 November 2012 10:12, Wenchao Xia wrote:
> Currently make clean only clean tests/tcg and hard to extend.
> This patch added command make check-clean, which clean all
> generated files used in tests. With this command root Makefile
> do not care tests clean method any more, it simply calls t