mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-07 10:27:42 +00:00
- add option to create a jffs2 filesystem in srec format. Thanks to Xride.
This commit is contained in:
parent
d458e75746
commit
48b3e0c94f
@ -32,6 +32,11 @@ config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
|
|||||||
depends on BR2_TARGET_ROOTFS_JFFS2
|
depends on BR2_TARGET_ROOTFS_JFFS2
|
||||||
default 0x20000
|
default 0x20000
|
||||||
|
|
||||||
|
config BR2_JFFS2_TARGET_SREC
|
||||||
|
bool "RootFS in SREC file formet"
|
||||||
|
depends on BR2_TARGET_ROOTFS_JFFS2
|
||||||
|
default n
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_JFFS2_PAD
|
config BR2_TARGET_ROOTFS_JFFS2_PAD
|
||||||
bool "Pad output"
|
bool "Pad output"
|
||||||
depends on BR2_TARGET_ROOTFS_JFFS2
|
depends on BR2_TARGET_ROOTFS_JFFS2
|
||||||
|
@ -71,6 +71,10 @@ endif
|
|||||||
$(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
$(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
||||||
-@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
-@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
||||||
@ls -l $(JFFS2_TARGET)
|
@ls -l $(JFFS2_TARGET)
|
||||||
|
ifeq ($(BR2_JFFS2_TARGET_SREC),y)
|
||||||
|
$(TARGET_CROSS)objcopy -I binary -O srec --adjust-vma 0xa1000000 $(JFFS2_TARGET) $(JFFS2_TARGET).srec
|
||||||
|
@ls -l $(JFFS2_TARGET).srec
|
||||||
|
endif
|
||||||
|
|
||||||
JFFS2_COPYTO := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_COPYTO)))
|
JFFS2_COPYTO := $(strip $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_COPYTO)))
|
||||||
#"))
|
#"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user