blob: c5430c89caf7c72ee26eebd813e40b926dceff4b (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
require recipes-kernel/linux/enea-common.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://b4860-hard_irq_disable-bug.patch \
file://0001-sdhci-fix-Timeout-error-messages.patch \
file://powerpc-fsl-booke64-Set-vmemmap_psize-to-4K.patch \
"
ENEA_KERNEL_FRAGMENTS += "\
cfg/00013-localversion.cfg \
cfg/00006-with_modules.cfg \
cfg/00001-embedded.cfg \
cfg/00012-preempt.cfg \
cfg/00002-root_nfs.cfg \
cfg/00029-devtmpfs.cfg \
cfg/00021-bootlogd.cfg \
cfg/00022-mtd_tests.cfg \
cfg/00030-latencytop.cfg \
cfg/00026-ltp.cfg \
cfg/00003-fuse.cfg \
cfg/00032-dpa.cfg \
cfg/00033-kprobes.cfg \
cfg/00019-i2c.cfg \
cfg/00027-lttng.cfg \
cfg/00025-powertop.cfg \
cfg/00004-systemtap.cfg \
cfg/00014-kgdb.cfg \
cfg/00049-gpio.cfg \
cfg/00034-cpusets.cfg \
"
ENEA_KERNEL_FRAGMENTS_append_p2020rdb=" \
cfg/00015-uio.cfg \
"
DELTA_KERNEL_DEFCONFIG += " ${ENEA_KERNEL_FRAGMENTS} \
"
require recipes-kernel/linux/pramfs-3.12.inc
do_unpack_append() {
import shutil
workdir = d.getVar("WORKDIR", True)
sourcedir = d.getVar("S", True)
print "Copy cfg folder from workdir %s to source directory %s" % (workdir, sourcedir)
src = workdir + "/cfg"
dst = sourcedir + "/cfg"
try:
shutil.copytree(src, dst)
except shutil.Error as e:
print "Directory not copied. Error: %s" % e
except OSError as e:
print "Directory not copied. Error: %s" % e
}
|