Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tools #240

Merged
merged 4 commits into from
Feb 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ src/collect/collect
src/mtd_probe/mtd_probe
src/scsi_id/scsi_id
src/v4l_id/v4l_id
src/dmi_memory_id/dmi_memory_id
src/fido_id/fido_id

src/udev/keyboard-keys-from-name.gperf
src/udev/keyboard-keys-from-name.h
Expand Down
3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ AC_CHECK_FUNCS(
[],
[AC_MSG_ERROR([*** POSIX function not found])]
)
AC_CHECK_FUNCS([explicit_bzero])
AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX librt not found])])
LT_LIB_M

Expand Down Expand Up @@ -299,6 +300,8 @@ AC_CONFIG_FILES([Makefile
src/ata_id/Makefile
src/cdrom_id/Makefile
src/collect/Makefile
src/dmi_memory_id/Makefile
src/fido_id/Makefile
src/mtd_probe/Makefile
src/scsi_id/Makefile
src/v4l_id/Makefile
Expand Down
2 changes: 2 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ PROGRAMS_SUBDIRS += \
ata_id \
cdrom_id \
collect \
dmi_memory_id \
fido_id \
scsi_id \
v4l_id

Expand Down
16 changes: 16 additions & 0 deletions src/dmi_memory_id/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

AM_CPPFLAGS = \
-I $(top_srcdir)/src/shared \
-I $(top_srcdir)/src/udev \
-I $(top_srcdir)/src/libudev

udevlibexec_PROGRAMS = \
dmi_memory_id

dmi_memory_id_SOURCES = \
dmi_memory_id.c

dmi_memory_id_LDADD = \
$(top_builddir)/src/libudev/libudev-private.la \
$(top_builddir)/src/udev/libudev-core.la
Loading