summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux/linux-simtec.inc
blob: b9503cef9662dd2a587a62c23192f14284b9d247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require linux.inc

do_prepdefconfig() {
	cp ${S}/arch/arm/configs/s3c24xx_simtec_defconfig ${WORKDIR}/defconfig
	if test -e ${WORKDIR}/${MACHINE}-defconfig-append; then
	   cat ${WORKDIR}/${MACHINE}-defconfig-append >> ${WORKDIR}/defconfig
	fi
}

addtask prepdefconfig before do_configure after do_patch

do_deploy() {
	install -d ${DEPLOY_DIR_IMAGE}
	install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
	cd ${DEPLOY_DIR_IMAGE}
	ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${KERNEL_IMAGETYPE}-${MACHINE}.bin
	tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib	
}

do_deploy[dirs] = "${S}"

addtask deploy before do_populate_staging after do_install