Skip to content

Commit

Permalink
Merge pull request #240 from bbonev/missing-tools
Browse files Browse the repository at this point in the history
Missing tools
  • Loading branch information
bbonev authored Feb 18, 2023
2 parents 8bc3169 + c2a042e commit 9bcbc13
Show file tree
Hide file tree
Showing 16 changed files with 2,294 additions and 6 deletions.
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

0 comments on commit 9bcbc13

Please sign in to comment.