mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
ioport: Add ioport module (inb, outb)
Add ioport module, enable for librem_mini_v2. Only inb and outb are included, inw/outw/inl/outl aren't needed. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
206d59dc71
commit
6e0d241913
1
Makefile
1
Makefile
@ -499,6 +499,7 @@ bin_modules-$(CONFIG_OPENSSL) += openssl
|
|||||||
bin_modules-$(CONFIG_TPM2_TOOLS) += tpm2-tools
|
bin_modules-$(CONFIG_TPM2_TOOLS) += tpm2-tools
|
||||||
bin_modules-$(CONFIG_BASH) += bash
|
bin_modules-$(CONFIG_BASH) += bash
|
||||||
bin_modules-$(CONFIG_POWERPC_UTILS) += powerpc-utils
|
bin_modules-$(CONFIG_POWERPC_UTILS) += powerpc-utils
|
||||||
|
bin_modules-$(CONFIG_IOPORT) += ioport
|
||||||
|
|
||||||
$(foreach m, $(bin_modules-y), \
|
$(foreach m, $(bin_modules-y), \
|
||||||
$(call map,initrd_bin_add,$(call bins,$m)) \
|
$(call map,initrd_bin_add,$(call bins,$m)) \
|
||||||
|
@ -11,6 +11,7 @@ CONFIG_CRYPTSETUP2=y
|
|||||||
CONFIG_FLASHROM=y
|
CONFIG_FLASHROM=y
|
||||||
CONFIG_FLASHTOOLS=y
|
CONFIG_FLASHTOOLS=y
|
||||||
CONFIG_GPG2=y
|
CONFIG_GPG2=y
|
||||||
|
CONFIG_IOPORT=y
|
||||||
CONFIG_KEXEC=y
|
CONFIG_KEXEC=y
|
||||||
CONFIG_UTIL_LINUX=y
|
CONFIG_UTIL_LINUX=y
|
||||||
CONFIG_LVM2=y
|
CONFIG_LVM2=y
|
||||||
|
22
modules/ioport
Normal file
22
modules/ioport
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
modules-$(CONFIG_IOPORT) += ioport
|
||||||
|
|
||||||
|
ioport_version := 1.2
|
||||||
|
ioport_dir := ioport-$(ioport_version)
|
||||||
|
ioport_tar := ioport-$(ioport_version).tar.gz
|
||||||
|
ioport_url := https://people.redhat.com/rjones/ioport/files/$(ioport_tar)
|
||||||
|
ioport_hash := 7fac1c4b61eb9411275de0e1e7d7a8c3f34166f64f16413f50741e8fce2b8dc0
|
||||||
|
|
||||||
|
ioport_configure := CFLAGS=-Os ./configure \
|
||||||
|
$(CROSS_TOOLS) \
|
||||||
|
--prefix "/" \
|
||||||
|
--host i386-elf-linux
|
||||||
|
|
||||||
|
ioport_target := \
|
||||||
|
$(MAKE_JOBS) $(CROSS_TOOLS) inb && \
|
||||||
|
$(MAKE) -C "$(build)/$(ioport_dir)" all-local
|
||||||
|
|
||||||
|
ioport_output := \
|
||||||
|
inb \
|
||||||
|
outb
|
||||||
|
|
||||||
|
ioport_depends := $(musl_dep)
|
Loading…
Reference in New Issue
Block a user