heads/modules/ioport
Manuel Mendez a4ba76fd90
modules: minor refactor/tweaks
Just some minor clean ups like fixing whitespace and sorting things. I
added (bash)/removed (libusb) white space in order to look like the
other modules.

I sorted the --enable/--disable/--with blocks so that common stuff
looked similar which should aid in comparing modules. I also removed a
couple of duplicate config options (--disable-fallback-curses &
--disable-regex).

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2024-05-02 13:00:27 -04:00

23 lines
579 B
Makefile

modules-$(CONFIG_IOPORT) += ioport
ioport_version := 1.2.orig
ioport_dir := ioport-$(ioport_version)
ioport_tar := ioport_$(ioport_version).tar.gz
ioport_url := https://deb.debian.org/debian/pool/main/i/ioport/$(ioport_tar)
ioport_hash := 7fac1c4b61eb9411275de0e1e7d7a8c3f34166f64f16413f50741e8fce2b8dc0
ioport_configure := CFLAGS=-Os ./configure \
$(CROSS_TOOLS) \
--host i386-elf-linux \
--prefix "/" \
ioport_target := \
$(MAKE_JOBS) $(CROSS_TOOLS) inb && \
$(MAKE) -C "$(build)/$(ioport_dir)" all-local
ioport_output := \
inb \
outb
ioport_depends := $(musl_dep)