mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
Merge branch 'thingos' into dev
This commit is contained in:
commit
270d2c98d7
@ -453,6 +453,7 @@ endmenu
|
|||||||
source "package/irda-utils/Config.in"
|
source "package/irda-utils/Config.in"
|
||||||
source "package/iucode-tool/Config.in"
|
source "package/iucode-tool/Config.in"
|
||||||
source "package/kbd/Config.in"
|
source "package/kbd/Config.in"
|
||||||
|
source "package/lan951x-led-ctl/Config.in"
|
||||||
source "package/lcdproc/Config.in"
|
source "package/lcdproc/Config.in"
|
||||||
source "package/libuio/Config.in"
|
source "package/libuio/Config.in"
|
||||||
source "package/libump/Config.in"
|
source "package/libump/Config.in"
|
||||||
|
23
package/lan951x-led-ctl/0001-fix-cross-compile.patch
Normal file
23
package/lan951x-led-ctl/0001-fix-cross-compile.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
diff -uNr lan951x-led-ctl-master/Makefile lan951x-led-ctl-fix/Makefile
|
||||||
|
--- lan951x-led-ctl-master/Makefile 2017-02-11 22:50:52.000000000 +0200
|
||||||
|
+++ lan951x-led-ctl-fix/Makefile 2018-06-24 23:45:57.925879678 +0300
|
||||||
|
@@ -1,12 +1,12 @@
|
||||||
|
-ECHO = /bin/echo -e
|
||||||
|
-SHELL = /bin/sh
|
||||||
|
-RM = /bin/rm -f
|
||||||
|
-CC = gcc
|
||||||
|
-STRIP = strip
|
||||||
|
+ECHO ?= /bin/echo -e
|
||||||
|
+SHELL ?= /bin/sh
|
||||||
|
+RM ?= /bin/rm -f
|
||||||
|
+CC ?= gcc
|
||||||
|
+STRIP ?= strip
|
||||||
|
|
||||||
|
-CFLAGS = -g -Os -std=c11 -I./include -Wall -Wstrict-prototypes -Wconversion
|
||||||
|
+CFLAGS ?= -g -Os -std=c11 -I./include -Wall -Wstrict-prototypes -Wconversion
|
||||||
|
CFLAGS += -Wmissing-prototypes -Wshadow -Wextra -Wunused
|
||||||
|
-LDFLAGS = -lusb-1.0
|
||||||
|
+LDFLAGS += -lusb-1.0
|
||||||
|
|
||||||
|
PROGS = lan951x-led-ctl
|
||||||
|
|
3
package/lan951x-led-ctl/Config.in
Normal file
3
package/lan951x-led-ctl/Config.in
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
config BR2_PACKAGE_LAN951X_LED_CTL
|
||||||
|
bool "lan951x-led-ctl"
|
||||||
|
|
13
package/lan951x-led-ctl/lan951x-led-ctl.mk
Normal file
13
package/lan951x-led-ctl/lan951x-led-ctl.mk
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
LAN951X_LED_CTL_VERSION = 0291b91702f5742fa56aa5e0942c28261777de7c
|
||||||
|
LAN951X_LED_CTL_SITE = $(call github,dumpsite,lan951x-led-ctl,$(LAN951X_LED_CTL_VERSION))
|
||||||
|
LAN951X_LED_CTL_DEPENDENCIES = libusb
|
||||||
|
|
||||||
|
define LAN951X_LED_CTL_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) CFLAGS="$(TARGET_CLFAGS) -Iinclude -std=c99"
|
||||||
|
endef
|
||||||
|
|
||||||
|
define LAN951X_LED_CTL_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -D -m 0755 $(@D)/lan951x-led-ctl $(TARGET_DIR)/usr/bin/lan951x-led-ctl
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
Loading…
x
Reference in New Issue
Block a user