summaryrefslogtreecommitdiff
path: root/sub/kernel/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-10 02:14:32 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-10 02:14:32 +0000
commit72e31924295d306203dce8a8f4e0e4c7cf1e66ca (patch)
tree7c92659325907c469a008f83221aa15d6f61dd81 /sub/kernel/Makefile
parent5d3e4a9f8241b40a47a1262c92051a001eb6d776 (diff)
downloadlh-bootstrap-72e31924295d306203dce8a8f4e0e4c7cf1e66ca.tar.xz
Install layout early
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'sub/kernel/Makefile')
-rw-r--r--sub/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/kernel/Makefile b/sub/kernel/Makefile
index 99c67d2..31e143b 100644
--- a/sub/kernel/Makefile
+++ b/sub/kernel/Makefile
@@ -54,7 +54,7 @@ $(OUTPUT)/build-$(TRIPLE)/kernel/.lh_built: $(OUTPUT)/build-$(TRIPLE)/kernel/.lh
exec setuidgid $(NORMALUSER) cd $(OUTPUT)/build-$(TRIPLE)/kernel/linux-$(KERNEL_VERSION) $(MAKE) all $(KERNEL_ENV)
exec setuidgid $(NORMALUSER) s6-touch $@
-$(OUTPUT)/build-$(TRIPLE)/kernel/.lh_installed: $(OUTPUT)/build-$(TRIPLE)/kernel/.lh_built | $(OUTPUT)/build-build/.lh_skarnet_installed
+$(OUTPUT)/build-$(TRIPLE)/kernel/.lh_installed: $(OUTPUT)/build-$(TRIPLE)/kernel/.lh_built | $(OUTPUT)/tmp/.lh_layout_installed $(OUTPUT)/build-build/.lh_skarnet_installed
exec cp -f $(OUTPUT)/build-$(TRIPLE)/kernel/linux-$(KERNEL_VERSION)/System.map $(OUTPUT)/rootfs/boot/System.map-$(KERNEL_VERSION)
exec s6-ln -sf System.map-$(KERNEL_VERSION) $(OUTPUT)/rootfs/boot/System.map
cp -f $(OUTPUT)/build-$(TRIPLE)/kernel/linux-$(KERNEL_VERSION)/arch/$(KERNEL_GENERIC_ARCH)/boot/bzImage $(OUTPUT)/kernel || cp -f $(OUTPUT)/build-$(TRIPLE)/kernel/linux-$(KERNEL_VERSION)/arch/$(KERNEL_GENERIC_ARCH)/boot/zImage $(OUTPUT)/kernel || cp -f $(OUTPUT)/build-$(TRIPLE)/kernel/linux-$(KERNEL_VERSION)/arch/$(KERNEL_GENERIC_ARCH)/boot/Image $(OUTPUT)/kernel