]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
ofono: fix the build when toolchain has old linux headers
authorRoss Burton <ross.burton@arm.com>
Thu, 19 Dec 2024 13:54:23 +0000 (13:54 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 Dec 2024 15:46:55 +0000 (15:46 +0000)
commit0313ea48a75480c2bcc6d35035f74a4dcf22f263
treea60776e44ff28531a1d794111ceda93b3185b70c
parent5da817ca4d58eb70ad42fc1fa0f7f4edf696585d
ofono: fix the build when toolchain has old linux headers

Whilst our default toolchain has modern kernel headers (6.12, at time of
writing), some external toolchains may use old kernel headers.

As ofono's rmnet module uses kernel defines which were added in 5.14,
add some compatibility defines in case they are not set.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/ofono/ofono/rmnet.patch [new file with mode: 0644]
meta/recipes-connectivity/ofono/ofono_2.14.bb