• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/fs/jffs2/jffs2.mk
Yann E. MORINYann E. MORIN committed b6842c4097728 Dec 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# Build the jffs2 root filesystem image
4
#
5
################################################################################
6
​
7
JFFS2_OPTS := -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE)
8
SUMTOOL_OPTS := $(JFFS2_OPTS)
9
​
10
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_PAD),y)
11
ifneq ($(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE)),0x0)
12
JFFS2_OPTS += --pad=$(strip $(BR2_TARGET_ROOTFS_JFFS2_PADSIZE))
13
else
14
JFFS2_OPTS += -p
15
endif
16
SUMTOOL_OPTS += -p
17
endif
18
​
19
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y)
20
JFFS2_OPTS += -l
21
SUMTOOL_OPTS += -l
22
endif
23
​
24
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_BE),y)
25
JFFS2_OPTS += -b
26
SUMTOOL_OPTS += -b
27
endif
28
​
29
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_USE_CUSTOM_PAGESIZE),y)
30
JFFS2_OPTS += -s $(BR2_TARGET_ROOTFS_JFFS2_CUSTOM_PAGESIZE)
31
endif
32
​
33
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER),y)
34
JFFS2_OPTS += -n
35
SUMTOOL_OPTS += -n
36
endif
37
​
38
ROOTFS_JFFS2_DEPENDENCIES = host-mtd
39
​
40
ifneq ($(BR2_TARGET_ROOTFS_JFFS2_SUMMARY),)
41
define ROOTFS_JFFS2_CMD
42
    $(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $@.nosummary
43
    $(SUMTOOL) $(SUMTOOL_OPTS) -i $@.nosummary -o $@
44
    rm $@.nosummary
45
endef
46
else
47
define ROOTFS_JFFS2_CMD
48
    $(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $@
49
endef
50
endif
51
​
52
$(eval $(rootfs))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.