Skip to content

Commit

Permalink
allow CROSS_COMPILE override
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyself committed May 10, 2024
1 parent 7b6cf0c commit 222b76f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/before_workload/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = before_workload
SRCS = before_workload.c
CROSS_COMPILE = riscv64-unknown-linux-gnu-
CROSS_COMPILE ?= riscv64-unknown-linux-gnu-

include $(RISCV_ROOTFS_HOME)/Makefile.compile
2 changes: 1 addition & 1 deletion apps/hello/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = hello
SRCS = hello.c
CROSS_COMPILE = riscv64-unknown-elf-
CROSS_COMPILE ?= riscv64-unknown-linux-gnu-

include $(RISCV_ROOTFS_HOME)/Makefile.compile
2 changes: 1 addition & 1 deletion apps/qemu_trap/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = qemu_trap
SRCS = qemu_trap.c
CROSS_COMPILE = riscv64-unknown-linux-gnu-
CROSS_COMPILE ?= riscv64-unknown-linux-gnu-

include $(RISCV_ROOTFS_HOME)/Makefile.compile
2 changes: 1 addition & 1 deletion apps/trap/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = trap
SRCS = trap.c
CROSS_COMPILE = riscv64-unknown-linux-gnu-
CROSS_COMPILE ?= riscv64-unknown-linux-gnu-

include $(RISCV_ROOTFS_HOME)/Makefile.compile

0 comments on commit 222b76f

Please sign in to comment.