mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
Add octscan package
This commit is contained in:
parent
36a8d6a33c
commit
4bcb9b5d63
@ -1,3 +1,4 @@
|
||||
source "$BR2_EXTERNAL/package/octonet/Config.in"
|
||||
source "$BR2_EXTERNAL/package/octoserve/Config.in"
|
||||
source "$BR2_EXTERNAL/package/octoscan/Config.in"
|
||||
source "$BR2_EXTERNAL/package/lunajson/Config.in"
|
||||
|
@ -44,4 +44,5 @@ BR2_PACKAGE_LUASOCKET=y
|
||||
BR2_TARGET_ROOTFS_TAR_BZIP2=y
|
||||
BR2_PACKAGE_OCTONET=y
|
||||
BR2_PACKAGE_OCTOSERVE=y
|
||||
BR2_PACKAGE_OCTOSCAN=y
|
||||
BR2_PACKAGE_LUNAJSON=y
|
||||
|
@ -13,7 +13,6 @@ define OCTONET_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/octokey $(TARGET_DIR)/usr/bin/octokey
|
||||
$(INSTALL) -m 0755 -D $(@D)/octonet $(TARGET_DIR)/usr/bin/octonet
|
||||
$(INSTALL) -m 0755 -D $(@D)/ddtest $(TARGET_DIR)/usr/bin/ddtest
|
||||
$(INSTALL) -m 0755 -D $(@D)/octoscan $(TARGET_DIR)/usr/bin/octoscan
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
5
buildroot.octonet/package/octoscan/Config.in
Normal file
5
buildroot.octonet/package/octoscan/Config.in
Normal file
@ -0,0 +1,5 @@
|
||||
config BR2_PACKAGE_OCTOSCAN
|
||||
bool "octoscan"
|
||||
default n
|
||||
help
|
||||
http://www.digitaldevices.de
|
15
buildroot.octonet/package/octoscan/octoscan.mk
Normal file
15
buildroot.octonet/package/octoscan/octoscan.mk
Normal file
@ -0,0 +1,15 @@
|
||||
OCTOSCAN_VERSION = 0.1
|
||||
OCTOSCAN_SOURCE =
|
||||
OCTOSCAN_SITE = ../octoscan
|
||||
OCTOSCAN_SITE_METHOD = local
|
||||
OCTOSCAN_INSTALL_TARGET = YES
|
||||
|
||||
define OCTOSCAN_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define OCTOSCAN_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/octoscan $(TARGET_DIR)/usr/bin/octoscan
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
7
octoscan/Makefile
Normal file
7
octoscan/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
all: octoscan
|
||||
|
||||
install: all
|
||||
install -m 0755 octoscan $(DESTDIR)/usr/bin
|
||||
|
||||
octoscan: octoscan.c
|
||||
$(CC) -o octoscan octoscan.c
|
Loading…
Reference in New Issue
Block a user