tar xvf linux-3.10.x.txz
tar xvf broadwell-gcc493_glibc220_linaro_x86_64-GPL.txz
alias dsm6make='make ARCH=x86_64 CROSS_COMPILE=C:\Windows\System32\x86_64-pc-linux-gnu-'
cd linux-3.10.x
cp synoconfigs/Broadwell .config
dsm6make menuconfig
dsm6make modules
I got this :
/mnt/c/WINDOWS/system32/linux-3.10.x/arch/x86/Makefile:162: CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.
make: C:WindowsSystem32x86_64-pc-linux-gnu-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
/mnt/c/WINDOWS/system32/linux-3.10.x/arch/x86/Makefile:162: CONFIG_RETPOLINE=y, but not supported by the compiler. Toolchain update recommended.
make: C:WindowsSystem32x86_64-pc-linux-gnu-gcc: Command not found
make[1]: Nothing to be done for 'all'.
make[1]: Nothing to be done for 'relocs'.
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
/bin/sh: 1: C:WindowsSystem32x86_64-pc-linux-gnu-gcc: not found
make[1]: *** [/mnt/c/WINDOWS/system32/linux-3.10.x/./Kbuild:36: kernel/bounds.s] Error 127
make: *** [Makefile:840: prepare0] Error 2
Tutorial: Compile Xpenology Drivers in Windows 10
in Tutorials and Guides
Posted
i have same problem!