“Build drivers notes”的版本间的差异
来自个人维基
free6d1823(讨论 | 贡献) |
free6d1823(讨论 | 贡献) |
||
第3行: | 第3行: | ||
:toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu | :toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu | ||
− | # | + | # Preparation once |
− | + | ||
<source lang="c"> | <source lang="c"> | ||
export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH | export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH | ||
第10行: | 第9行: | ||
make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24 | make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24 | ||
</source> | </source> | ||
− | + | # build gdc drive | |
− | # | + | <source lang="c"> |
− | + | ||
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/ | make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/ | ||
− | + | </source> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
2020年3月20日 (五) 15:41的版本
1. Build GDC
- Kernel: 4.19 at $/HOME/linux
- toolchain at /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
- Preparation once
export PATH=/opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin:$PATH make ARCH=arm64 defconfig make ARCH=arm64 CROS_COMPILE=aarch64-linux-gnu- -j24
- build gdc drive
make ARCH=arm64 CROS_COMPILE=/aarch64-linux-gnu- KDIR=$HOME/linux/