summaryrefslogtreecommitdiff
path: root/package/qemu/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-04 18:49:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-04 18:49:12 +0200
commit5b582722781320d42a69d9398f8d5bdaac2abd52 (patch)
treed56740d3de6380a370551329f99a16e144f7f685 /package/qemu/Makefile
parentcf494122e89c1f3674079ad3de3604f8d8e94b0b (diff)
fix musl compile
Diffstat (limited to 'package/qemu/Makefile')
-rw-r--r--package/qemu/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/qemu/Makefile b/package/qemu/Makefile
index 6ca93afa3..6f5d3956a 100644
--- a/package/qemu/Makefile
+++ b/package/qemu/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= qemu
PKG_VERSION:= 1.7.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 9541063d999cf9659ed7fdce71314f31
PKG_DESCR:= cpu and system emulator
PKG_SECTION:= misc
@@ -25,6 +25,9 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call HOST_template,QEMU,qemu,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,QEMU,qemu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_TARGET_LIB_MUSL),y)
+TARGET_CFLAGS+= -DF_EXLCK=4 -DF_SHLCK=8 -D__SIGRTMIN=32 -D__SIGRTMAX=\(NSIG-1\)
+endif
CONFIG_STYLE:= minimal
CONFIGURE_ARGS+= --host-cc=$(CC_FOR_BUILD) \
--cross-prefix=$(GNU_TARGET_NAME)- \