summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2022-03-07 11:57:38 -0800
committerMark Hatle <mark.hatle@xilinx.com>2022-03-07 11:59:10 -0800
commitab41efb987fc0b016b10f27b9dd77420e7e3a000 (patch)
treefac66616c10ea9bc8a03188394d73e698e8bd973 /meta-xilinx-standalone-experimental
parenta57c38d7535e3d7907916eb8e420903d39e1631d (diff)
downloadmeta-xilinx-ab41efb987fc0b016b10f27b9dd77420e7e3a000.tar.gz
xilffs: Allow per recipe configuration
The recipe can have: use_mkfs, read_only, and word_access specified as a per recipe configuration. Only read_only is enabled by default. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental')
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb
index 1ca8648b..0649d3d8 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilffs_git.bb
@@ -5,8 +5,9 @@ REQUIRED_DISTRO_FEATURES = "sdps"
5ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/" 5ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/"
6ESW_COMPONENT_NAME = "libxilffs.a" 6ESW_COMPONENT_NAME = "libxilffs.a"
7 7
8EXTRA_OECMAKE += "-DXILFFS_use_mkfs=OFF" 8PACKAGECONFIG ??= "read_only"
9EXTRA_OECMAKE += "-DXILFFS_read_only=ON" 9PACKAGECONFIG[use_mkfs] ="-DXILFFS_use_mkfs=ON,-DXILFFS_use_mkfs=OFF,,"
10EXTRA_OECMAKE += "-DXILFFS_word_access=OFF" 10PACKAGECONFIG[read_only] ="-DXILFFS_read_only=ON,-DXILFFS_read_only=OFF,,"
11PACKAGECONFIG[word_access]="-DXILFFS_word_access=ON,-DXILFFS_word_access=OFF,,"
11 12
12DEPENDS += "xilstandalone libxil" 13DEPENDS += "xilstandalone libxil"