commit | author | age
|
ad923e
|
1 |
DESCRIPTION = "U-boot Env from config.txt" |
G |
2 |
SECTION = "app" |
|
3 |
LICENSE = "GPLv2" |
|
4 |
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
|
5 |
|
|
6 |
FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
|
7 |
FILES:${PN} = "/boot" |
|
8 |
|
|
9 |
S = "${WORKDIR}" |
|
10 |
|
|
11 |
SRC_URI = " " |
|
12 |
SRC_URI = " \ |
|
13 |
file://config-${MACHINE}.txt \ |
|
14 |
" |
|
15 |
|
|
16 |
do_install() { |
|
17 |
install -d ${D}/boot |
|
18 |
install -m 0644 ${S}/config-${MACHINE}.txt ${D}/boot/config.txt |
|
19 |
} |
|
20 |
|
|
21 |
inherit deploy |
|
22 |
addtask deploy after do_install |
|
23 |
|
|
24 |
do_deploy () { |
|
25 |
install -m 0644 ${D}/boot/config.txt ${DEPLOYDIR} |
|
26 |
} |
|
27 |
|
|
28 |
COMPATIBLE_MACHINE = "(igkboardbase)" |
|
29 |
PACKAGE_ARCH = "${MACHINE_ARCH}" |