Skip to content

Instantly share code, notes, and snippets.

@johannfr
Last active April 26, 2017 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johannfr/248ee0f8e3ac22affa653c652fa40fa0 to your computer and use it in GitHub Desktop.
Save johannfr/248ee0f8e3ac22affa653c652fa40fa0 to your computer and use it in GitHub Desktop.
Target is zynq, therefore: "recipes-kernel/linux/linux-xlnx_4.6.bb" is used,
which includes "linux-xlnx.inc" and "linux-xlnx.inc" includes "linux-xilinx-configs.inc"
My modifications to "linux-xlnx.inc":
KERNEL_FEATURES_append = " \
bsp/xilinx/soc/linux-xlnx/drivers/xilinx.scc \
features/net/iptables-foss.scc \
My modifications to "linux-xilinx-configs.inc"
SRC_URI_append = " \
file://xilinx-common;type=kmeta;destsuffix=xilinx-common \
file://xilinx-machine;type=kmeta;destsuffix=xilinx-machine \
file://foss-common;type=kmeta;destsuffix=foss-common \
"
Then this is my scc file:
$ cat recipes-kernel/linux/config/foss-common/features/net/iptables-foss.scc
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_NF_CONNTRACK=y
......and so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment