Page MenuHomeFreeBSD

make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH
ClosedPublic

Authored by arichardson on Thu, Nov 29, 10:34 AM.

Details

Summary

This fixes building in CheriBSD with a strict tmp path since we don't
bootstrap a cpp but pass the full path to clang-cpp instead.

While touching this file also fix all shellcheck warnings in make_dtb.sh.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson created this revision.Thu, Nov 29, 10:34 AM
manu added a comment.Thu, Nov 29, 11:02 AM

LGTM, could you also do this for make_dtbo.sh ?

Also adjust make_dtbo.sh

manu accepted this revision.Fri, Dec 14, 9:31 PM
This revision is now accepted and ready to land.Fri, Dec 14, 9:31 PM
This revision was automatically updated to reflect the committed changes.