ayufan-pine64 / linux-build

Pine64 Linux build scripts, tools and instructions (based on Longsleep work)
MIT License
154 stars 36 forks source link

newbie question #78

Closed Vayatoalla closed 5 years ago

Vayatoalla commented 5 years ago

Sorry if this is an obvious question. Anyway I hope it will be easy to answer. I have tested the built releases in a Pine A64+ and in a Pine A64 LTS and they worked perfectly with the default hardware for a headless server: Eth, basic screen in HDMI, Wifi, GPIO and battery. But I need to connect a 3G-USB adapter that requires the USB_ETH module, which is not installed in the built releases, and therefore, I am trying to compile a release with this module, followting the instructions and scripts that Ayufan left. The problem is that following the instructions without modifying anything compiles fine, but if I modify the configuration file with a "make menuconfig" compilation fails. I think I am doing something wrong at this point. Therefore, I have two questions:

Thank a lot for your work. Regards

Vayatoalla commented 5 years ago

OK. I found my error: I didnt add the ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- options to the make command.