2022-11-28 20:06:16 +00:00
|
|
|
modules-$(CONFIG_IOPORT) += ioport
|
|
|
|
|
2023-08-11 15:55:05 +00:00
|
|
|
ioport_version := 1.2.orig
|
2022-11-28 20:06:16 +00:00
|
|
|
ioport_dir := ioport-$(ioport_version)
|
2023-08-11 15:55:05 +00:00
|
|
|
ioport_tar := ioport_$(ioport_version).tar.gz
|
2023-08-11 16:06:26 +00:00
|
|
|
ioport_url := https://deb.debian.org/debian/pool/main/i/ioport/$(ioport_tar)
|
2022-11-28 20:06:16 +00:00
|
|
|
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)
|