mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 03:36:34 +00:00
Odroid C1: fix compiling alsa-lib
This commit is contained in:
parent
711d65e2c5
commit
72e3d7f7b6
@ -0,0 +1,15 @@
|
||||
diff -uNr alsa-lib-1.2.2-orig/include/sound/uapi/asound.h alsa-lib-1.2.2-patched/include/sound/uapi/asound.h
|
||||
--- alsa-lib-1.2.2-orig/include/sound/uapi/asound.h 2020-08-12 14:42:09.597313755 +0300
|
||||
+++ alsa-lib-1.2.2-patched/include/sound/uapi/asound.h 2020-08-12 14:43:15.576887697 +0300
|
||||
@@ -876,6 +876,11 @@
|
||||
#define SNDRV_TIMER_IOCTL_PAUSE _IO('T', 0xa3)
|
||||
#define SNDRV_TIMER_IOCTL_TREAD64 _IOW('T', 0xa4, int)
|
||||
|
||||
+#ifndef __kernel_long_t
|
||||
+typedef long __kernel_long_t;
|
||||
+typedef unsigned long __kernel_ulong_t;
|
||||
+#endif
|
||||
+
|
||||
#if __BITS_PER_LONG == 64
|
||||
#define SNDRV_TIMER_IOCTL_TREAD SNDRV_TIMER_IOCTL_TREAD_OLD
|
||||
#else
|
@ -6,6 +6,7 @@ BR2_ARM_FPU_NEON_VFPV4=y
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="$(TOPDIR)/.buildroot-ccache-odroidc1"
|
||||
BR2_OPTIMIZE_2=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/odroidc1"
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
|
||||
|
Loading…
x
Reference in New Issue
Block a user