mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 11:23:34 +08:00
15 lines
364 B
Bash
Executable File
15 lines
364 B
Bash
Executable File
#! /bin/bash
|
|
|
|
echo "DEBUG: kconfiglib kconfig-conf wrapper, arguments: ${@}"
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
export APPSDIR="`pwd`/../apps"
|
|
export CONFIG_ARCH_BOARD_CUSTOM=y
|
|
|
|
if [ "${1}" = "--olddefconfig" ]; then
|
|
PYTHONPATH=${DIR} python ${DIR}/olddefconfig.py > /dev/null
|
|
else
|
|
echo "ERROR: ${@} unsupported"
|
|
exit 1
|
|
fi
|