aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2020-01-13 15:26:17 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2020-01-13 15:26:17 +0100
commit1c1236edda92c101a69bd875f56955d213b91bfa (patch)
treec5097414cf1844215afc828019d2d2b7765c301e /build
parent135a2d14ff25f1565d913057345f1a27a0b56cac (diff)
downloadrpi-MMU-example-1c1236edda92c101a69bd875f56955d213b91bfa.tar.gz
rpi-MMU-example-1c1236edda92c101a69bd875f56955d213b91bfa.zip
split too long lines
Diffstat (limited to 'build')
-rw-r--r--build/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/build/Makefile b/build/Makefile
index fe8986b..cc5c6f0 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -6,7 +6,8 @@ ARM_BASE ?= arm-none-eabi
ARM_CC ?= $(ARM_BASE)-gcc
-ARM_CFLAGS ?= -mcpu=cortex-a7 -ffreestanding -std=gnu11 -Wall -Wextra $(addprefix -I, $(dirs))
+ARM_CFLAGS ?= -mcpu=cortex-a7 -ffreestanding -std=gnu11 -Wall \
+ -Wextra $(addprefix -I, $(dirs))
ARM_AS ?= $(ARM_BASE)-as
@@ -14,7 +15,9 @@ ARM_OBJCOPY ?= $(ARM_BASE)-objcopy
ARM_ELFFLAGS ?= -nostdlib -lgcc
-KERNEL_STAGE2_OBJECTS := setup.o interrupt_vector.o interrupts.o uart.o demo_functionality.o paging.o ramfs_embeddable.o ramfs.o strings.o io.o atags.o scheduler.o
+KERNEL_STAGE2_OBJECTS := setup.o interrupt_vector.o interrupts.o \
+ uart.o demo_functionality.o paging.o ramfs_embeddable.o \
+ ramfs.o strings.o io.o atags.o scheduler.o
PL_0_TEST_OBJECTS := PL0_utils.o svc.o PL0_test.o strings.o io.o
@@ -70,10 +73,12 @@ qemu-bin : kernel.img
qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $^
qemu-loader : loader.img kernel.img pipe_image
- ./pipe_image --stdout | qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $<
+ ./pipe_image --stdout | \
+ qemu-system-arm -m 256 -M raspi2 -serial stdio -kernel $<
run-on-rpi : kernel.img pipe_image
- ./pipe_image --stdout | sudo socat FILE:/dev/ttyUSB0,b115200,raw -
+ ./pipe_image --stdout | \
+ sudo socat FILE:/dev/ttyUSB0,b115200,raw -
screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl
pipe_image : pipe_image.o rs232.o