[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] rumpkernel: rules: Add -DNUSB_DMA=1 to build with DMA in usb
From: |
Damien Zammit |
Subject: |
[PATCH] rumpkernel: rules: Add -DNUSB_DMA=1 to build with DMA in usb |
Date: |
Sun, 21 Aug 2022 07:02:26 +0000 |
This allows DMA in rump kernel usb drivers,
stops an assert() crashing the rump kernel.
---
debian/rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 3f2b637ad..2c8fc0648 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,7 +40,7 @@ override_dh_auto_build-arch:
-V TOOLS_BUILDRUMP=yes -V MKGROFF=no -V
TOPRUMP="$(CURDIR)/buildrump.sh/src/sys/rump" \
-V BUILDRUMP_CPPFLAGS="-Wno-error=stringop-overread" \
-V RUMPUSER_EXTERNAL_DPLIBS=pthread \
- -V
CPPFLAGS="-I../../obj/destdir.i386/usr/include -D_FILE_OFFSET_BITS=64
-DRUMP_REGISTER_T=int -DRUMPUSER_CONFIG=yes -DNO_PCI_MSI_MSIX=yes" \
+ -V
CPPFLAGS="-I../../obj/destdir.i386/usr/include -D_FILE_OFFSET_BITS=64
-DRUMP_REGISTER_T=int -DRUMPUSER_CONFIG=yes -DNO_PCI_MSI_MSIX=yes -DNUSB_DMA=1"
\
-V CWARNFLAGS="-Wno-error=maybe-uninitialized
-Wno-error=address-of-packed-member -Wno-error=unused-variable
-Wno-error=stack-protector -Wno-error=array-parameter -Wno-error=array-bounds
-Wno-error=stringop-overflow" \
-V LIBCRTBEGIN=" " -V LIBCRTEND=" " -V LIBCRT0=" " -V
LIBCRTI=" " \
-V _GCC_CRTENDS=" " -V _GCC_CRTEND=" " \
--
2.34.1
- [PATCH] rumpkernel: rules: Add -DNUSB_DMA=1 to build with DMA in usb,
Damien Zammit <=