summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-07-10 19:40:20 +0200
committerRichard Braun <rbraun@sceen.net>2018-07-10 21:46:41 +0200
commitc2bd2fdd98d68d37982f95e813c83c1688311f9e (patch)
treed1d8a727ca16a65911e53a18a568479ec19fb882 /Makefile
parent9ea1595a9156f2818b216d883e25f63bd74459c0 (diff)
x86: add portable architecture-specific qemu make target
This target makes running QEMU simpler on non-x86 hosts.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c7a44fbd..45b4f5be 100644
--- a/Makefile
+++ b/Makefile
@@ -233,8 +233,9 @@ ifneq ($(TOOLCHAIN_NAME),)
TOOLCHAIN_PREFIX = $(TOOLCHAIN_NAME)-
endif
-CPP := $(CC) -E
-NM := $(TOOLCHAIN_PREFIX)nm
+CPP := $(CC) -E
+NM := $(TOOLCHAIN_PREFIX)nm
+OBJCOPY := $(TOOLCHAIN_PREFIX)objcopy
CFLAGS ?= -O2 -g