mkimage-profiles/features.in/net-eth/config.mk
Michael Shigorin 8533f7e2b7 net-eth: added plus-shortcut
"use/stage2/net-eth use/net-eth" would be common enough
for installers or livecd images to just get these pulled in
together by a convenient shortcut thus reducing confusion
and chances to just forget one of these counterparts.
2014-08-26 22:24:45 +04:00

16 lines
503 B
Makefile

# NB: this is aimed at LiveCD/installer images
+net-eth: use/net-eth use/stage2/net-eth
# see also use/stage2/net-eth; do not depend on it though
# as stage2-less images need preconfigured networking too
use/net-eth: use/net
@$(call add_feature)
@$(call xport,NET_ETH)
@$(call add,BASE_PACKAGES,udev-rule-generator-net)
# typical boilerplate
use/net-eth/dhcp: use/net-eth use/net/dhcp
@$(call add,NET_ETH,eth0:dhcp)
# use e.g. eth0:static:10.0.0.2/24:10.0.0.1 for predefined static configuration