FILESEXTRAPATHS_prepend := "${THISDIR}/files:" SRC_URI_append = "file://cfg/00014-kgdb.cfg \ file://cfg/00027-lttng.cfg \ file://cfg/00028-perf.cfg \ file://cfg/00025-powertop.cfg \ file://cfg/00004-systemtap.cfg \ file://cfg/00003-fuse.cfg \ file://cfg/00034-cpusets.cfg \ file://cfg/00030-latencytop.cfg \ file://cfg/00022-mtd_tests.cfg \ " # # The linux-boundary recipe doesn't implement a method to merge config fragments # to the kernel config file, so we need to implement it ourselves. # # returns all the elements from the src uri that are kernel config files def find_cfgs(d): sources=src_patches(d, True) sources_list=[] for s in sources: base, ext = os.path.splitext(os.path.basename(s)) if ext and ext in ".cfg": sources_list.append(s) return sources_list # apply kernel configs from the src uri kernel_do_configure_prepend() { ${S}/scripts/kconfig/merge_config.sh -m ${S}/.config ${@" ".join(find_cfgs(d))} }