Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173396061
D37234.id112536.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37234.id112536.diff
View Options
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -11,7 +11,7 @@
LICENSE= GPLv2
.if ${FLAVOR:U} != tools
-ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
+ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le
# We need to check if it build with other ARCHS
# For i386 we have unknown type name 'vm_page_t'
.endif
@@ -207,9 +207,9 @@
USE_GCC= yes
.endif
-.if ${ARCH:Mpowerpc64*}
+.if ${ARCH:Mpowerpc64*} || ${ARCH:Maarch64}
CONFIGURE_ARGS+= --disable-bsd-user
-MAKE_ARGS+= ARCH=ppc64
+MAKE_ARGS+= ARCH=${ARCH:C/powerpc64.*/ppc64/}
PLIST_SUB+= BSDUSER="@comment "
.else
PLIST_SUB+= BSDUSER=""
@@ -226,7 +226,7 @@
@${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h
do-build:
- cd ${WRKSRC} && ${GMAKE}
+ cd ${WRKSRC} && ${GMAKE} -j${MAKE_JOBS_NUMBER}
do-install:
cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install
diff --git a/emulators/qemu70/Makefile b/emulators/qemu70/Makefile
--- a/emulators/qemu70/Makefile
+++ b/emulators/qemu70/Makefile
@@ -11,7 +11,7 @@
LICENSE= GPLv2
.if ${FLAVOR:U} != tools
-ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
+ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le
# We need to check if it build with other ARCHS
# For i386 we have unknown type name 'vm_page_t'
.endif
@@ -207,9 +207,9 @@
USE_GCC= yes
.endif
-.if ${ARCH:Mpowerpc64*}
+.if ${ARCH:Mpowerpc64*} || ${ARCH:Maarch64}
CONFIGURE_ARGS+= --disable-bsd-user
-MAKE_ARGS+= ARCH=ppc64
+MAKE_ARGS+= ARCH=${ARCH:C/powerpc64.*/ppc64/}
PLIST_SUB+= BSDUSER="@comment "
.else
PLIST_SUB+= BSDUSER=""
@@ -226,7 +226,7 @@
@${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h
do-build:
- cd ${WRKSRC} && ${GMAKE}
+ cd ${WRKSRC} && ${GMAKE} -j${MAKE_JOBS_NUMBER}
do-install:
cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 4:50 PM (8 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39671534
Default Alt Text
D37234.id112536.diff (1 KB)
Attached To
Mode
D37234: emulators/qemu{,70}: enable for aarch64
Attached
Detach File
Event Timeline
Log In to Comment