../libraries/AP_Common/Arduino.mk:107: /root/apm/ardupilot-mega/config.mk: No such file or directory
../libraries/AP_Common/Arduino.mk:109: *** ERROR: could not locate /root/apm/ardupilot-mega/config.mk, please run 'make configure' first. Stop.