summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2009-12-29 22:06:13 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-02-06 17:19:43 +0100
commitda79030f47788d755031e0903be14bb5559eac94 (patch)
tree84221b09d0168eb3d1d882ce07723f621a2e1fb5 /Makefile.target
parent95ff895f79c75ba13b63a3408d3b8a49791179c6 (diff)
downloadqemu-da79030f47788d755031e0903be14bb5559eac94.tar.gz
linux-user: adapt uname machine to emulated CPU
This patch for linux-user adapts the output of the emulated uname() syscall to match the configured CPU. Tested with x86, x86-64 and arm emulation. Signed-off-by: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Loïc Minier <lool@dooz.org>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index 178edbf018..f498574696 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -95,7 +95,7 @@ $(call set-vpath, $(SRC_PATH)/linux-user:$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR
QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user -I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR)
obj-y = main.o syscall.o strace.o mmap.o signal.o thunk.o \
- elfload.o linuxload.o uaccess.o gdbstub.o
+ elfload.o linuxload.o uaccess.o gdbstub.o cpu-uname.o
obj-$(TARGET_HAS_BFLT) += flatload.o
obj-$(TARGET_HAS_ELFLOAD32) += elfload32.o