sifive / freedom-u540-c000-bootloader

Freedom U540-C000 Bootloader Code
Other
85 stars 39 forks source link

Fix clean rule to make it safe for dash as /bin/sh. #25

Closed jim-wilson closed 4 years ago

jim-wilson commented 4 years ago

Put program lists in variables, and use those variables in build and clean rules. Also delete a spurious tab on an empty line.

jim-wilson commented 4 years ago

Verified with a build and make clean that this works on Ubuntu 18.04 which uses dash as /bin/sh.

jim-wilson commented 4 years ago

I'll just self approve it as I doubt that anyone will bother to review it. Trivially correct as it doesn't change the bootloader binaries.