plant SHELL beacons into all config-forming rules
As noted in doc/assumptions.txt, the SHELL based target tracing only works for rules with recipes, even empty but present ones. The simplest thing to do is hooking "; @:" onto the rule's tail (one-liner with a non-printing shell builting "true" command).
This commit is contained in:
parent
788cad885e
commit
79bb3f8d6e
@ -7,18 +7,15 @@ distro/.desktop-base: distro/.installer \
|
|||||||
|
|
||||||
distro/.desktop-mini: distro/.desktop-base \
|
distro/.desktop-mini: distro/.desktop-base \
|
||||||
use/lowmem use/x11/xdm use/power/acpi/button \
|
use/lowmem use/x11/xdm use/power/acpi/button \
|
||||||
use/cleanup/alterator
|
use/cleanup/alterator; @:
|
||||||
|
|
||||||
distro/icewm: distro/.desktop-mini +icewm
|
distro/tde: distro/.desktop-mini +tde
|
||||||
|
|
||||||
distro/tde: distro/.desktop-mini use/x11/kdm
|
|
||||||
@$(call add,BASE_LISTS, \
|
@$(call add,BASE_LISTS, \
|
||||||
$(call tags,(base || desktop) && (network || tde)))
|
$(call tags,(base || desktop) && network))
|
||||||
|
|
||||||
distro/ltsp-icewm: distro/icewm +ltsp
|
distro/icewm: distro/.desktop-mini +icewm; @:
|
||||||
|
distro/ltsp-icewm: distro/icewm +ltsp; @:
|
||||||
distro/ltsp-tde: distro/tde +ltsp
|
distro/ltsp-tde: distro/tde +ltsp; @:
|
||||||
|
distro/desktop-systemd: distro/icewm use/systemd; @:
|
||||||
distro/desktop-systemd: distro/icewm use/systemd
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -2,15 +2,14 @@
|
|||||||
ifeq (distro,$(IMAGE_CLASS))
|
ifeq (distro,$(IMAGE_CLASS))
|
||||||
|
|
||||||
distro/syslinux: distro/.init \
|
distro/syslinux: distro/.init \
|
||||||
use/syslinux/localboot.cfg use/syslinux/ui-vesamenu \
|
use/syslinux/localboot.cfg use/syslinux/ui-vesamenu use/hdt; @:
|
||||||
use/hdt use/memtest
|
|
||||||
|
|
||||||
distro/dos: distro/.init use/dos use/syslinux/ui-menu
|
distro/dos: distro/.init use/dos use/syslinux/ui-menu; @:
|
||||||
distro/rescue: distro/.base use/rescue use/syslinux/ui-menu
|
distro/rescue: distro/.base use/rescue use/syslinux/ui-menu; @:
|
||||||
distro/live-systemd: distro/.base use/live/base use/systemd
|
distro/live-systemd: distro/.base use/live/base use/systemd; @:
|
||||||
|
|
||||||
distro/.live-base: distro/.base use/live/base use/power/acpi/button
|
distro/.live-base: distro/.base use/live/base use/power/acpi/button; @:
|
||||||
distro/.live-desktop: distro/.base use/syslinux/ui-vesamenu +live
|
distro/.live-desktop: distro/.base use/syslinux/ui-vesamenu +live; @:
|
||||||
|
|
||||||
distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum
|
distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum
|
||||||
@$(call add,LIVE_PACKAGES,livecd-isomd5sum)
|
@$(call add,LIVE_PACKAGES,livecd-isomd5sum)
|
||||||
@ -26,9 +25,9 @@ distro/live-builder: distro/.live-base use/dev/mkimage use/dev/repo
|
|||||||
distro/live-install: distro/.live-base use/syslinux/localboot.cfg
|
distro/live-install: distro/.live-base use/syslinux/localboot.cfg
|
||||||
@$(call add,LIVE_PACKAGES,live-install)
|
@$(call add,LIVE_PACKAGES,live-install)
|
||||||
|
|
||||||
distro/live-icewm: distro/.live-desktop use/live/autologin +icewm
|
distro/live-icewm: distro/.live-desktop use/live/autologin +icewm; @:
|
||||||
distro/live-razorqt: distro/.live-desktop +razorqt
|
distro/live-razorqt: distro/.live-desktop +razorqt; @:
|
||||||
distro/live-tde: distro/.live-desktop +tde
|
distro/live-tde: distro/.live-desktop +tde; @:
|
||||||
|
|
||||||
distro/live-rescue: distro/live-icewm
|
distro/live-rescue: distro/live-icewm
|
||||||
@$(call add,LIVE_LISTS,$(call tags,rescue && (fs || live || x11)))
|
@$(call add,LIVE_LISTS,$(call tags,rescue && (fs || live || x11)))
|
||||||
|
@ -12,7 +12,7 @@ distro/server-mini: distro/.server-base use/cleanup/x11-alterator
|
|||||||
$(call tags,base && (server || network || security || pkg)))
|
$(call tags,base && (server || network || security || pkg)))
|
||||||
@$(call add,BASE_LISTS,$(call tags,extra (server || network)))
|
@$(call add,BASE_LISTS,$(call tags,extra (server || network)))
|
||||||
|
|
||||||
distro/server-systemd: distro/server-mini use/systemd use/bootloader/lilo
|
distro/server-systemd: distro/server-mini use/systemd use/bootloader/lilo; @:
|
||||||
|
|
||||||
distro/server-ovz: distro/server-mini \
|
distro/server-ovz: distro/server-mini \
|
||||||
use/hdt use/rescue use/firmware/server use/power/acpi/button
|
use/hdt use/rescue use/firmware/server use/power/acpi/button
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
use/hdt: use/syslinux use/memtest
|
# optimized out use/syslinux due to use/memtest
|
||||||
|
use/hdt: use/memtest
|
||||||
@$(call add_feature)
|
@$(call add_feature)
|
||||||
@$(call add,STAGE1_PACKAGES,pciids)
|
@$(call add,STAGE1_PACKAGES,pciids)
|
||||||
@$(call add,SYSLINUX_MODULES,hdt)
|
@$(call add,SYSLINUX_MODULES,hdt)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
+live: use/live/desktop
|
+live: use/live/desktop; @:
|
||||||
|
|
||||||
# copy stage2 as live
|
# copy stage2 as live
|
||||||
use/live: use/stage2 sub/stage2/live
|
use/live: use/stage2 sub/stage2/live
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
+ltsp: use/ltsp/base
|
+ltsp: use/ltsp/base; @:
|
||||||
|
|
||||||
use/ltsp:
|
use/ltsp:
|
||||||
@$(call add,INSTALL2_PACKAGES,installer-feature-ltsp-stage2)
|
@$(call add,INSTALL2_PACKAGES,installer-feature-ltsp-stage2)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
+icewm: use/x11/icewm
|
+icewm: use/x11/icewm; @:
|
||||||
+razorqt: use/x11/razorqt use/x11/lightdm
|
+razorqt: use/x11/razorqt use/x11/lightdm; @:
|
||||||
+tde: use/x11/tde use/x11/kdm
|
+tde: use/x11/tde use/x11/kdm; @:
|
||||||
|
|
||||||
use/x11/xorg:
|
use/x11/xorg:
|
||||||
@$(call add,THE_LISTS,xorg)
|
@$(call add,THE_LISTS,xorg)
|
||||||
|
@ -11,12 +11,12 @@ sub/%:
|
|||||||
@$(call add,SUBPROFILES,$(@:sub/%=%))
|
@$(call add,SUBPROFILES,$(@:sub/%=%))
|
||||||
|
|
||||||
# install media bootloader
|
# install media bootloader
|
||||||
boot/%: use/syslinux
|
boot/%:
|
||||||
@$(call set,BOOTLOADER,$*)
|
@$(call set,BOOTLOADER,$*)
|
||||||
|
|
||||||
# fundamental targets
|
# fundamental targets
|
||||||
|
|
||||||
distro/.init: profile/bare
|
distro/.init: profile/bare; @:
|
||||||
|
|
||||||
# NB: the last flavour in KFLAVOURS gets to be the default one;
|
# NB: the last flavour in KFLAVOURS gets to be the default one;
|
||||||
# the kernel packages regexp evaluation has to take place at build stage
|
# the kernel packages regexp evaluation has to take place at build stage
|
||||||
@ -29,6 +29,6 @@ distro/installer: distro/.base use/install2 use/syslinux/localboot.cfg
|
|||||||
@$(call set,INSTALLER,altlinux-generic)
|
@$(call set,INSTALLER,altlinux-generic)
|
||||||
@$(call set,STAGE1_KMODULES_REGEXP,drm.*) # for KMS
|
@$(call set,STAGE1_KMODULES_REGEXP,drm.*) # for KMS
|
||||||
|
|
||||||
distro/.installer: distro/installer use/bootloader/grub use/repo/main
|
distro/.installer: distro/installer use/bootloader/grub use/repo/main; @:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -15,4 +15,4 @@ config/name/%:
|
|||||||
@$(call set,IMAGE_NAME,$*)
|
@$(call set,IMAGE_NAME,$*)
|
||||||
|
|
||||||
# the final thing will pull the rest in
|
# the final thing will pull the rest in
|
||||||
build: postclean
|
build: postclean; @:
|
||||||
|
Loading…
Reference in New Issue
Block a user