mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
27 lines
728 B
Makefile
Executable File
27 lines
728 B
Makefile
Executable File
.PHONY: build_docker docker buildBBB install_docker
|
|
|
|
DEVICE:=
|
|
|
|
owrt:
|
|
/bin/bash build_Rpi4_owrt.sh
|
|
|
|
yocto:
|
|
/bin/bash build_Rpi4_yocto.sh
|
|
|
|
install_docker:
|
|
bash install_docker.sh
|
|
|
|
build_docker:
|
|
docker build -t docker-embedded Docker
|
|
|
|
docker:
|
|
docker run --rm -it --user $(id -u):$(id -g) \
|
|
--name "${USER}_embedded" \
|
|
--mount type=bind,source="${HOME}/.bash_history",target=/home/qca-user/.bash_history \
|
|
--mount type=bind,source="${HOME}/.bashrc",target=/home/qca-user/.bashrc \
|
|
--mount type=bind,source="${HOME}/.gitconfig",target=/home/qca-user/.gitconfig \
|
|
--mount type=bind,source="${HOME}/.ssh",target=/home/qca-user/.ssh \
|
|
--mount type=bind,source="${PWD}",target=/workdir \
|
|
--workdir=/workdir \
|
|
docker-embedded
|