mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 03:11:36 +08:00
- this is a workaround for PATH variables that exceed the maximum cmake custom command length
11 lines
317 B
Bash
Executable File
11 lines
317 B
Bash
Executable File
#! /bin/bash
|
|
|
|
NUTTX_DIR=${1}
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
# update PATH to include kconfiglib scripts
|
|
export PATH=${DIR}:${PATH}
|
|
|
|
make --no-print-directory --silent -C ${NUTTX_DIR} CONFIG_ARCH_BOARD_CUSTOM=y CONFIG_APPS_DIR="../apps" olddefconfig > nuttx_olddefconfig.log
|