mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
target/common: do not use IMAGE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f840a2b28c
commit
d2b07919ac
@ -31,8 +31,8 @@ FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
|
|||||||
|
|
||||||
define ROOTFS_TARGET_INTERNAL
|
define ROOTFS_TARGET_INTERNAL
|
||||||
|
|
||||||
$(IMAGE).$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
$(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
|
||||||
@$(call MESSAGE,"Generating root filesystem image $(IMAGE).$(1)")
|
@$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
|
||||||
$(foreach hook,$(ROOTFS_$(2)_PRE_GEN_HOOKS),$(call $(hook))$(sep))
|
$(foreach hook,$(ROOTFS_$(2)_PRE_GEN_HOOKS),$(call $(hook))$(sep))
|
||||||
rm -f $(FAKEROOT_SCRIPT)
|
rm -f $(FAKEROOT_SCRIPT)
|
||||||
touch $(BUILD_DIR)/.fakeroot.00000
|
touch $(BUILD_DIR)/.fakeroot.00000
|
||||||
@ -56,7 +56,7 @@ ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y)
|
|||||||
$(LZMA) -9 -c $$@ > $$@.lzma
|
$(LZMA) -9 -c $$@ > $$@.lzma
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(1)-root: $(IMAGE).$(1)
|
$(1)-root: $(BINARIES_DIR)/rootfs.$(1)
|
||||||
|
|
||||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
|
||||||
TARGETS += $(1)-root
|
TARGETS += $(1)-root
|
||||||
|
Loading…
x
Reference in New Issue
Block a user