Bump Buildroot to 2021.02-rc3 (#1260)

* Rebase patches to Buildroot 2021.02-rc3

* Update Buildroot to 2021.02-rc3

* Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
This commit is contained in:
Stefan Agner
2021-03-04 00:50:33 +01:00
committed by GitHub
parent b77d633382
commit f358f322da
2130 changed files with 23612 additions and 21038 deletions

View File

@@ -17,20 +17,25 @@ if [ $# -ne 2 ] ; then
exit 1
fi
if [ -z "${BR_PYTHON_VERSION}" ]; then
echo "Environment variable BR_PYTHON_VERSION not set." >&2
exit 1
fi
# The first argument is the path to python-config.py, ignore it.
case "$2" in
--includes)
echo "-I${STAGING_DIR}/usr/include/python2.7"
;;
echo "-I${STAGING_DIR}/usr/include/python${BR_PYTHON_VERSION}"
;;
--ldflags)
echo "-lpthread -ldl -lutil -lm -lpython2.7"
;;
echo "-lpthread -ldl -lutil -lm -lpython${BR_PYTHON_VERSION}"
;;
--exec-prefix)
echo "/usr"
;;
echo "/usr"
;;
*)
echo "Bad arg $2." >&2
exit 1
;;
echo "Bad arg $2." >&2
exit 1
;;
esac