summaryrefslogtreecommitdiff
path: root/rules/Makefile.am
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-04-09 12:13:19 -0400
committerAnthony G. Basile <blueness@gentoo.org>2013-04-09 12:22:42 -0400
commitab0a37ddcf9c9a68a5340a657b11531a02925c46 (patch)
treec709883f79ff447c50e58740f10ffabf530dd93b /rules/Makefile.am
parent215c4a0faa69f3060baa601d32fec5464f8a3362 (diff)
rules/Makefile.am: conditionally install 80-net-name-slot.rules
We do not want to install 80-net-name-slot.rules if we --enable-rule-generator. In fact doing so will switch to the predictable network interface names. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'rules/Makefile.am')
-rw-r--r--rules/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/Makefile.am b/rules/Makefile.am
index baf1654c2d..73b36a3b7f 100644
--- a/rules/Makefile.am
+++ b/rules/Makefile.am
@@ -15,9 +15,13 @@ dist_udevrules_DATA = \
75-probe_mtd.rules \
75-tty-description.rules \
78-sound-card.rules \
- 80-net-name-slot.rules \
95-udev-late.rules
+if !ENABLE_RULE_GENERATOR
+dist_udevrules_DATA += \
+ 80-net-name-slot.rules
+endif
+
if ENABLE_FIRMWARE
dist_udevrules_DATA += \
50-firmware.rules