diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-02-03 13:59:46 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-02-03 13:59:46 +0000 |
commit | a8f79b8d50115af4c36c07f83ec7dd9bc4475710 (patch) | |
tree | f30a0668ae41f06be86a037d6d4ef8e265ff4582 /Makefile | |
parent | b0c2b7e56e62aeb2bca8b4d2ab396f3d83a48def (diff) | |
download | lh-bootstrap-a8f79b8d50115af4c36c07f83ec7dd9bc4475710.tar.xz |
Add strace and an optional mechanism
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -30,6 +30,12 @@ rwfs: $(OUTPUT)/tmp/.lh_rwfs_installed userfs: $(OUTPUT)/tmp/.lh_userfs_installed images: $(OUTPUT)/tmp/.lh_diskimages_done +ifeq ($(LH_DEV),true) +include sub/strace/Makefile +LH_DEV_TARGETS := $(OUTPUT)/build-host/.lh_strace_installed +else +LH_DEV_TARGETS := +endif # clean everything distclean: @@ -57,7 +63,8 @@ $(OUTPUT)/build-build/.lh_done: $(OUTPUT)/build-build/.lh_skarnet_installed $(OU # The filesystems -$(OUTPUT)/tmp/.lh_rootfs_installed: $(OUTPUT)/tmp/.lh_layout_installed $(OUTPUT)/build-host/.lh_skarnet_installed $(OUTPUT)/build-host/.lh_socklog_installed $(OUTPUT)/build-host/.lh_bb_installed $(OUTPUT)/build-host/.lh_dropbear_installed +$(OUTPUT)/tmp/.lh_rootfs_installed: $(OUTPUT)/tmp/.lh_layout_installed $(OUTPUT)/build-host/.lh_skarnet_installed $(OUTPUT)/build-host/.lh_socklog_installed $(OUTPUT)/build-host/.lh_bb_installed $(OUTPUT)/build-host/.lh_dropbear_installed $(LH_DEV_TARGETS) + exec setuidgid $(NORMALUSER) touch $@ $(OUTPUT)/tmp/.lh_rwfs_installed: $(OUTPUT)/tmp/.lh_layout_installed |