Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 2b8c7c5f4b71726806de0d718c4c56eeba2c7332 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Feb 2025 22:14:47 -0800
|
||||
Subject: [PATCH] Include time.h for timespec struct definition
|
||||
|
||||
Fixes
|
||||
git/isobusfs/../libj1939.h:33:18: error: field has incomplete type 'struct timespec'
|
||||
33 | struct timespec next_send_time;
|
||||
| ^
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
|
||||
Upstream: https://github.com/linux-can/can-utils/commit/2b8c7c5f4b71726806de0d718c4c56eeba2c7332
|
||||
---
|
||||
libj1939.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libj1939.h b/libj1939.h
|
||||
index 44393a2a..7c19f43e 100644
|
||||
--- a/libj1939.h
|
||||
+++ b/libj1939.h
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <linux/can/j1939.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
+#include <time.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#ifndef J1939_LIB_H
|
||||
@@ -0,0 +1,37 @@
|
||||
From 59716ea66203b4d5f70dd0e41fe6f9661f8ad686 Mon Sep 17 00:00:00 2001
|
||||
From: Yegor Yefremov <yegorslists@googlemail.com>
|
||||
Date: Wed, 12 Mar 2025 10:27:48 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: add an option to control shared library
|
||||
creation
|
||||
|
||||
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
|
||||
Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
|
||||
Upstream: Backported from https://github.com/linux-can/can-utils/commit/a904183b4e65a6d982db3d12ad9d0a9a883edc1d
|
||||
---
|
||||
CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 01f90f9..318a236 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -14,6 +14,7 @@ endif()
|
||||
|
||||
# Add an option to enable treating warnings as errors
|
||||
option(ENABLE_WERROR "Treat all compiler warnings as errors" OFF)
|
||||
+option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
||||
|
||||
if(ENABLE_WERROR)
|
||||
add_compile_options(-Werror)
|
||||
@@ -114,7 +115,7 @@ if(NOT ANDROID)
|
||||
PRIVATE can
|
||||
)
|
||||
|
||||
- add_library(isobusfs SHARED
|
||||
+ add_library(isobusfs
|
||||
isobusfs/isobusfs_cmn.c
|
||||
isobusfs/isobusfs_cmn_dh.c
|
||||
)
|
||||
--
|
||||
2.43.0
|
||||
|
||||
8
package/can-utils/Config.in
Normal file
8
package/can-utils/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_CAN_UTILS
|
||||
bool "can-utils"
|
||||
help
|
||||
SocketCAN is a set of open source CAN drivers and a
|
||||
networking stack.
|
||||
This package provides various tools for this stack.
|
||||
|
||||
https://github.com/linux-can/can-utils
|
||||
4
package/can-utils/can-utils.hash
Normal file
4
package/can-utils/can-utils.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 88b30feace372c4a61e6adb2534791c0cfba6123ebcca7f59bbb76580d4a6915 can-utils-2025.01.tar.gz
|
||||
sha256 c3dc748f5e725cf5ed89784fe78e4ff1b05d309bf1e7ade4c572e8fde1b8406c LICENSES/BSD-3-Clause
|
||||
sha256 995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91 LICENSES/GPL-2.0-only.txt
|
||||
12
package/can-utils/can-utils.mk
Normal file
12
package/can-utils/can-utils.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
################################################################################
|
||||
#
|
||||
# can-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CAN_UTILS_VERSION = 2025.01
|
||||
CAN_UTILS_SITE = $(call github,linux-can,can-utils,v$(CAN_UTILS_VERSION))
|
||||
CAN_UTILS_LICENSE = BSD-3-Clause or GPL-2.0
|
||||
CAN_UTILS_LICENSE_FILES = LICENSES/BSD-3-Clause LICENSES/GPL-2.0-only.txt
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user