mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-09-02 18:06:13 +02:00

Add a small shared library that demonstrates the usage of the IOCTL interface. This library can be linked to but, is intended to be loaded and used by higher level languages Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
263 B
263 B
SPDX-License-Identifier: GPL-2.0-only
CFLAGS += -D__EXPORTED_HEADERS__ -I../../../include/uapi -I../../../include
TARGET = dbc_library.so
all: $(TARGET)
dbc_library.so: dbc.c $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< chmod -x $@
clean: $(RM) $(TARGET)