mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 15:00:56 +07:00
944803d916
Add persistent symlinks for MTD devices like SPI-NOR flash, based on the partition names specified on the cmdline, in a Device Tree, or by other MTD partitioning parser drivers. Using the persistent name can be preferable to using the numbered /dev/mtdX device, as the latter can change depending on probe order or when partitioning has changed.
63 lines
1.2 KiB
Makefile
63 lines
1.2 KiB
Makefile
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
|
|
|
|
EXTRA_DIST = \
|
|
64-btrfs.rules.in
|
|
|
|
CLEANFILES = \
|
|
64-btrfs.rules
|
|
|
|
dist_udevrules_DATA = \
|
|
50-udev-default.rules \
|
|
60-autosuspend.rules \
|
|
60-block.rules \
|
|
60-cdrom_id.rules \
|
|
60-drm.rules \
|
|
60-evdev.rules \
|
|
60-fido-id.rules \
|
|
60-input-id.rules \
|
|
60-persistent-alsa.rules \
|
|
60-persistent-input.rules \
|
|
60-persistent-storage-mtd.rules \
|
|
60-persistent-storage-tape.rules \
|
|
60-persistent-v4l.rules \
|
|
60-sensor.rules \
|
|
60-serial.rules \
|
|
64-btrfs.rules \
|
|
70-camera.rules \
|
|
70-joystick.rules \
|
|
70-memory.rules \
|
|
70-mouse.rules \
|
|
70-touchpad.rules \
|
|
75-net-description.rules \
|
|
78-sound-card.rules \
|
|
81-net-dhcp.rules
|
|
|
|
if !ENABLE_RULE_GENERATOR
|
|
dist_udevrules_DATA += \
|
|
80-net-name-slot.rules
|
|
endif
|
|
|
|
if HAVE_BLKID
|
|
dist_udevrules_DATA += \
|
|
60-persistent-storage.rules
|
|
endif
|
|
|
|
if HAVE_KMOD
|
|
dist_udevrules_DATA += \
|
|
80-drivers.rules
|
|
endif
|
|
|
|
if ENABLE_MTD_PROBE
|
|
dist_udevrules_DATA += \
|
|
75-probe_mtd.rules
|
|
endif
|
|
|
|
do_subst = $(SED) \
|
|
-e 's,{{ROOTBINDIR}},$(bindir),g'
|
|
|
|
64-btrfs.rules: $(srcdir)/64-btrfs.rules.in Makefile
|
|
$(do_subst) $(srcdir)/64-btrfs.rules.in > 64-btrfs.rules
|
|
|
|
install-data-local:
|
|
$(MKDIR_P) $(DESTDIR)$(udevconfdir)/rules.d
|