Hi there, and welcome.
Excuse my ignorance, but what is "LFS"? Possibly Linux From Scratch
to build your own minimal Linux distro for just this one purpose?
Presumably you are referring to a hardware sensor of some sort. In that case, the software needed to drive it will very much depend on what sensor it is, what computer you are using, and how the two are connected.
One interesting possibility might be to use the GPIO
port on a Raspberry Pi