Compare commits
1 Commits
fc137a63d6
...
d4b86e3fb5
| Author | SHA1 | Date |
|---|---|---|
|
|
d4b86e3fb5 |
|
|
@ -75,6 +75,7 @@ jobs:
|
||||||
gcc \
|
gcc \
|
||||||
gcc-aarch64-linux-gnu \
|
gcc-aarch64-linux-gnu \
|
||||||
gcc-arm-linux-gnueabihf \
|
gcc-arm-linux-gnueabihf \
|
||||||
|
gcc-mips-linux-gnu \
|
||||||
libgps-dev \
|
libgps-dev \
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|
@ -138,6 +139,13 @@ jobs:
|
||||||
podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=cmake/${toolchain}.cmake -DENABLE_WERROR=ON -DENABLE_GPS=${gps} -B build-${toolchain}
|
podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=cmake/${toolchain}.cmake -DENABLE_WERROR=ON -DENABLE_GPS=${gps} -B build-${toolchain}
|
||||||
podman exec -i stable cmake --build build-${toolchain}
|
podman exec -i stable cmake --build build-${toolchain}
|
||||||
|
|
||||||
|
- name: Configure & Build with mips-linux-gnu-gcc
|
||||||
|
env:
|
||||||
|
toolchain: mips-linux-gnu-gcc
|
||||||
|
run: |
|
||||||
|
podman exec -i stable cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=cmake/${toolchain}.cmake -DENABLE_WERROR=ON -B build-${toolchain}
|
||||||
|
podman exec -i stable cmake --build build-${toolchain}
|
||||||
|
|
||||||
- name: Configure & Build with gcc (Makefile)
|
- name: Configure & Build with gcc (Makefile)
|
||||||
env:
|
env:
|
||||||
cc: gcc
|
cc: gcc
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,8 @@ int mcp251xfd_regmap_read(struct mcp251xfd_priv *priv,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* maybe it's something like "spi0.0" */
|
/* maybe it's something like "spi0.0" */
|
||||||
if (strchr(file_path, '/'))
|
tmp = strchr(file_path, '/');
|
||||||
|
if (tmp)
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
|
|
||||||
/* first try literally */
|
/* first try literally */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue