mirror of https://github.com/OpenIPC/firmware.git
[no ci] Overlay: export soc environment variable
parent
73dd5a6182
commit
4b64bfb5a7
|
@ -3,6 +3,7 @@ export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
|
|||
export HOME=${HOME:-/root}
|
||||
export TZ=$(cat /etc/TZ)
|
||||
export SENSOR=$(fw_printenv -n sensor)
|
||||
export SOC=$(fw_printenv -n soc)
|
||||
|
||||
echo_c() { echo -ne "\e[1;$1m$2\e[0m"; }
|
||||
|
||||
|
|
|
@ -17,6 +17,6 @@ if grep -q "USES_MUSL" ${BR2_CONFIG}; then
|
|||
LIST=${BR2_EXTERNAL}/scripts/excludes/${OPENIPC_SOC_MODEL}_${OPENIPC_FLAVOR}.list
|
||||
test -e ${LIST} && xargs -a ${LIST} -I % rm -rf ${TARGET_DIR}/%
|
||||
|
||||
ln -sf /lib/libc.so ${TARGET_DIR}/lib/ld-uClibc.so.0
|
||||
ln -sf libc.so ${TARGET_DIR}/lib/ld-uClibc.so.0
|
||||
ln -sf ../../lib/libc.so ${TARGET_DIR}/usr/bin/ldd
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue