[libcamera-devel] [Buildroot] [PATCH v2, 1/1] package/libcamera: link with atomic when needed

Kieran Bingham kieran.bingham at ideasonboard.com
Mon Sep 16 14:01:15 CEST 2019


Hi Fabrice,

On 16/09/2019 12:54, Fabrice Fontaine wrote:
> Le lun. 16 sept. 2019 à 13:40, Kieran Bingham
> <kieran.bingham at ideasonboard.com> a écrit :
>>
>> Hi Fabrice,

<snip>

>> Is there a clean way to mark libcamera as not supported on /really/ old
>> toolchains?
> From my understanding, there is no clean way to check for the
> availability of O_TMPFILE.
> However, O_TMPFILE is only used by tests and tests can be disabled
> through -Dtest=false.

You're right. Disabling tests was renamed from -Dtests=false to
-Dtest=false.

The buildroot package was already disabling tests through -Dtests=false,
so if we fix this up - then the tests will no longer be built again, and
we won't have any issue with O_TMPFILE ...

Problem (well two problems) solved :-D

Thanks I should have remembered to fix up the -Dtests issue when I knew
it was being changed!

Do you want to update the buildroot package and bump the version?
or shall I do it?
-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list