From ab41efb987fc0b016b10f27b9dd77420e7e3a000 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 7 Mar 2022 11:57:38 -0800 Subject: 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 --- .../recipes-libraries/xilffs_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'meta-xilinx-standalone-experimental') 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" ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/src/" ESW_COMPONENT_NAME = "libxilffs.a" -EXTRA_OECMAKE += "-DXILFFS_use_mkfs=OFF" -EXTRA_OECMAKE += "-DXILFFS_read_only=ON" -EXTRA_OECMAKE += "-DXILFFS_word_access=OFF" +PACKAGECONFIG ??= "read_only" +PACKAGECONFIG[use_mkfs] ="-DXILFFS_use_mkfs=ON,-DXILFFS_use_mkfs=OFF,," +PACKAGECONFIG[read_only] ="-DXILFFS_read_only=ON,-DXILFFS_read_only=OFF,," +PACKAGECONFIG[word_access]="-DXILFFS_word_access=ON,-DXILFFS_word_access=OFF,," DEPENDS += "xilstandalone libxil" -- cgit v1.2.3-54-g00ecf