Closed Tiryoh closed 3 years ago
kernel 5.xでもビルドできることを確認できるようにテストケースを増やしました。 また、GCCのバージョンがOSごとにそれぞれ以下のように変わっているので、GCCのバージョンを指定できるようにしました。
Jessie: GCC 4.8 Strech: GCC 6.3 Buster: GCC 8.3
主な変更は以下の通りです。
.github/workflows/driver-cross-build.yml
Makefile.crosscompile
しません。
手元でGCCのぞれぞれのバージョンについてtest.shを実行できることを確認しています。
test.sh
kernel 5.10では以下のコミットで後方互換性が失われているので、ビルドでエラーが出ます。 これは別PRにて修正します。 https://github.com/raspberrypi/linux/commit/390fd0475af565d2fc31de98fcc84f3c2922e008 (i2c: remove deprecated i2c_new_device API) https://github.com/raspberrypi/linux/commit/4bdc0d676a643140bdf17dbf7eafedee3d496a3c (remove ioremap_nocache and devm_ioremap_nocache)
What does this implement/fix?
kernel 5.xでもビルドできることを確認できるようにテストケースを増やしました。 また、GCCのバージョンがOSごとにそれぞれ以下のように変わっているので、GCCのバージョンを指定できるようにしました。
Jessie: GCC 4.8 Strech: GCC 6.3 Buster: GCC 8.3
主な変更は以下の通りです。
.github/workflows/driver-cross-build.yml
を更新Makefile.crosscompile
を修正Does this close any currently open issues?
しません。
How has this been tested?
手元でGCCのぞれぞれのバージョンについて
test.sh
を実行できることを確認しています。Any other comments?
kernel 5.10では以下のコミットで後方互換性が失われているので、ビルドでエラーが出ます。 これは別PRにて修正します。 https://github.com/raspberrypi/linux/commit/390fd0475af565d2fc31de98fcc84f3c2922e008 (i2c: remove deprecated i2c_new_device API) https://github.com/raspberrypi/linux/commit/4bdc0d676a643140bdf17dbf7eafedee3d496a3c (remove ioremap_nocache and devm_ioremap_nocache)
Checklists