initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
From aef3d9bca4d77db833f71d50b1c84b16c69d7deb Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sun, 23 Oct 2016 22:53:21 +0200
|
||||
Subject: [PATCH] build: get rid of sdkdir
|
||||
|
||||
Use of sdkdir causes problems during cross-compilation, where the full
|
||||
path is then appended to the DESTDIR, leading to host paths being
|
||||
appended in the target:
|
||||
https://bugs.busybox.net/show_bug.cgi?id=8696
|
||||
|
||||
Other drivers (e.g. keyboard) got rid of sdkdir. Do the same.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
Makefile.am | 3 ---
|
||||
configure.ac | 10 ----------
|
||||
include/Makefile.am | 4 +++-
|
||||
xorg-mouse.pc.in | 3 +--
|
||||
4 files changed, 4 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 7142485..efe66cb 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -34,9 +34,6 @@ ChangeLog:
|
||||
|
||||
dist-hook: ChangeLog INSTALL
|
||||
|
||||
-# Provide an sdk location that is writable by this module
|
||||
-DISTCHECK_CONFIGURE_FLAGS = --with-sdkdir='$${includedir}/xorg'
|
||||
-
|
||||
if LINT
|
||||
# Check source code with tools like lint & sparse
|
||||
lint:
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 15d9047..515681d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -60,16 +60,6 @@ AC_ARG_WITH(xorg-module-dir,
|
||||
inputdir=${moduledir}/input
|
||||
AC_SUBST(inputdir)
|
||||
|
||||
-# X Server SDK location is required to install xf86-mouse-properties.h
|
||||
-# This location is also relayed in the xorg-mouse.pc file
|
||||
-sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
|
||||
-
|
||||
-# Workaround overriding sdkdir to be able to create a tarball when user has no
|
||||
-# write permission in sdkdir. See DISTCHECK_CONFIGURE_FLAGS in Makefile.am
|
||||
-AC_ARG_WITH([sdkdir], [], [sdkdir="$withval"])
|
||||
-AC_SUBST([sdkdir])
|
||||
-
|
||||
-
|
||||
# Work out which OS mouse driver we need to build
|
||||
case $host_os in
|
||||
linux*)
|
||||
diff --git a/include/Makefile.am b/include/Makefile.am
|
||||
index 27ce0fb..2b85e4e 100644
|
||||
--- a/include/Makefile.am
|
||||
+++ b/include/Makefile.am
|
||||
@@ -1 +1,3 @@
|
||||
-sdk_HEADERS = xf86-mouse-properties.h
|
||||
+# Location formerly known as 'sdkdir'
|
||||
+xorgincludedir = $(includedir)/xorg
|
||||
+xorginclude_HEADERS = xf86-mouse-properties.h
|
||||
diff --git a/xorg-mouse.pc.in b/xorg-mouse.pc.in
|
||||
index 57df596..8355e61 100644
|
||||
--- a/xorg-mouse.pc.in
|
||||
+++ b/xorg-mouse.pc.in
|
||||
@@ -1,6 +1,7 @@ prefix=@prefix@
|
||||
-sdkdir=@sdkdir@
|
||||
+prefix=@prefix@
|
||||
+includedir=@includedir@
|
||||
|
||||
Name: xorg-mouse
|
||||
Description: X.Org mouse input driver for non-evdev OS'es
|
||||
Version: @PACKAGE_VERSION@
|
||||
-Cflags: -I${sdkdir}
|
||||
+Cflags: -I${includedir}/xorg
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
config BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE
|
||||
bool "xf86-input-mouse"
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
help
|
||||
X.Org driver for mouse input devices
|
||||
@@ -0,0 +1,7 @@
|
||||
# From https://lists.x.org/archives/xorg-announce/2018-June/002903.html
|
||||
md5 a2104693bbcfe1413397f7905eecd3dc xf86-input-mouse-1.9.3.tar.bz2
|
||||
sha1 b3982998808ba43117fc066c4ecc94ce67c5818e xf86-input-mouse-1.9.3.tar.bz2
|
||||
sha256 93ecb350604d05be98b7d4e5db3b8155a44890069a7d8d6b800c0bea79c85cc5 xf86-input-mouse-1.9.3.tar.bz2
|
||||
sha512 d99f5b4b1ef1aa4cbf1a92549e412f54f121bc804e4d6643248ad7ea18081b38b958bd289dc8476ebc0f6ef5f7424c2f2a8abcfaa30cae5378829549af6b148f xf86-input-mouse-1.9.3.tar.bz2
|
||||
# Locally computed
|
||||
sha256 472ff645ead9bf3ffb48d42c596376ffc595897e0c0993a071a7ada0da1f4f10 COPYING
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# xdriver_xf86-input-mouse
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XDRIVER_XF86_INPUT_MOUSE_VERSION = 1.9.3
|
||||
XDRIVER_XF86_INPUT_MOUSE_SOURCE = xf86-input-mouse-$(XDRIVER_XF86_INPUT_MOUSE_VERSION).tar.bz2
|
||||
XDRIVER_XF86_INPUT_MOUSE_SITE = http://xorg.freedesktop.org/releases/individual/driver
|
||||
XDRIVER_XF86_INPUT_MOUSE_LICENSE = MIT
|
||||
XDRIVER_XF86_INPUT_MOUSE_LICENSE_FILES = COPYING
|
||||
XDRIVER_XF86_INPUT_MOUSE_DEPENDENCIES = xserver_xorg-server xorgproto
|
||||
XDRIVER_XF86_INPUT_MOUSE_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user