Skip to content

Commit

Permalink
build script updated
Browse files Browse the repository at this point in the history
  • Loading branch information
s-matyukevich committed Nov 23, 2017
1 parent 52939c5 commit 6ad2431
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ubuntu:16.04
MAINTAINER Sergey Matyukevich <[email protected]>
RUN apt-get update && apt-get install -y gcc-aarch64-linux-gnu
RUN apt-get update && apt-get install -y gcc-aarch64-linux-gnu build-essential
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ if [[ -z "$1" ]]; then
exit 1
fi

docker run -it smatyukevich/raspberry-pi-os-builder "cd src/$1 && make"
docker run -it -v $(pwd)"/src/$1:/app" smatyukevich/raspberry-pi-os-builder "cd app && make"
2 changes: 1 addition & 1 deletion src/lesson01/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARMGNU ?= aarch64-linux-gnu
ARMGNU ?= gcc-aarch64-linux-gnu

COPS = -Wall -nostdlib -nostartfiles -ffreestanding -Iinclude -mgeneral-regs-only

Expand Down

0 comments on commit 6ad2431

Please sign in to comment.