guowenxue
2024-04-05 256f9500617fc2374cbb07cfb73cc2a428bdb607
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
DESCRIPTION = "U-boot Env from config.txt"
SECTION = "app"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
 
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
FILES:${PN} = "/boot"
 
S = "${WORKDIR}"
 
SRC_URI = " " 
SRC_URI = " \ 
    file://config-${MACHINE}.txt \
"
 
do_install() {
    install -d ${D}/boot
    install -m 0644 ${S}/config-${MACHINE}.txt ${D}/boot/config.txt
}
 
inherit deploy
addtask deploy after do_install
 
do_deploy () {
    install -m 0644 ${D}/boot/config.txt ${DEPLOYDIR}
}
 
COMPATIBLE_MACHINE = "(igkboardbase)"
PACKAGE_ARCH = "${MACHINE_ARCH}"