Initial Commit
- initial default booting image
This commit is contained in:
14
package/iotools/Config.in
Normal file
14
package/iotools/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_IOTOOLS
|
||||
bool "iotools"
|
||||
help
|
||||
Tools for poking all types of IO, supported are:
|
||||
- CMOS NVRAM (via /dev/nvram)
|
||||
- CPU ID (x86)
|
||||
- IO port (x86, PowerPC)
|
||||
- MMIO
|
||||
- MSR (x86)
|
||||
- PCI configuration space
|
||||
- SCOM (PowerPC)
|
||||
- SMBus
|
||||
|
||||
https://github.com/andy-shev/iotools
|
||||
3
package/iotools/iotools.hash
Normal file
3
package/iotools/iotools.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 9cb6184030b2e5c2e6a7c7a2d016d29d42d4075a77e1ba982bdc3cd919491faf iotools-1.8.tar.gz
|
||||
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
|
||||
29
package/iotools/iotools.mk
Normal file
29
package/iotools/iotools.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# iotools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IOTOOLS_VERSION = 1.8
|
||||
IOTOOLS_SITE = $(call github,andy-shev,iotools,v$(IOTOOLS_VERSION))
|
||||
IOTOOLS_LICENSE = GPL-2.0+
|
||||
IOTOOLS_LICENSE_FILES = COPYING
|
||||
|
||||
IOTOOLS_MAKE_OPTS = \
|
||||
CROSS_COMPILE=$(TARGET_CROSS)
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
IOTOOLS_MAKE_OPTS += STATIC=1
|
||||
else
|
||||
IOTOOLS_MAKE_OPTS += STATIC=0
|
||||
endif
|
||||
|
||||
define IOTOOLS_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(IOTOOLS_MAKE_OPTS) all
|
||||
endef
|
||||
|
||||
define IOTOOLS_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/iotools $(TARGET_DIR)/usr/bin/iotools
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user