blob: e2996f95cc0a89ea227310e742be96e93e4b1484 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
# Enable support for AR9271
SRC_URI_append = " file://ath9k_htc.cfg"
# Enable support for Bluetooth HCI USB devices
SRC_URI_append = " file://btusb.cfg"
# Enable support for Bluetooth HCI USB devices
SRC_URI_append = " file://btusb.cfg"
# Enable support for HID multitouch
SRC_URI_append = " file://hid.cfg"
# Enable support for RTLSDR
SRC_URI_append = " file://rtl_sdr.cfg"
# Set security default to SMACK
SRC_URI_append = " file://smack.cfg"
SRC_URI_append = " file://smack-default-lsm.cfg"
# returns all the elements from the src uri that are .cfg files
def find_cfgs(d):
sources=src_patches(d, True)
sources_list=[]
for s in sources:
if s.endswith('.cfg'):
sources_list.append(s)
return sources_list
do_configure_prepend () {
cp -a ${WORKDIR}/defconfig .config
merge_config.sh -m .config ${@" ".join(find_cfgs(d))}
}
|