[Buildroot] [PATCH 07/13] toolchain: move sysroot to host dir
Gustavo Zacarias
gustavo at zacarias.com.ar
Thu Dec 16 11:00:07 UTC 2010
On 12/16/2010 07:49 AM, Thomas Petazzoni wrote:
>> include toolchain/Makefile.in
>> include package/Makefile.in
>>
>> +STAGING_DIR:=$(HOST_DIR)/usr/$(REAL_GNU_TARGET_NAME)/sysroot
>
> This change breaks the ccache support, because when
> --sysroot=$(STAGING_DIR) is used, STAGING_DIR expands to nothing,
> because the definition of STAGING_DIR has been moved *after* the
> inclusion of package/Makefile.in. Any reason why you moved the
> definition ?
>
> Regards,
>
> Thomas
Yes, REAL_GNU_TARGET_NAME is filled in package/Makefile.in and we need it.
Maybe we can move it to the toolchain directory where it even sounds
more appropiate?
Regards.
More information about the buildroot
mailing list