From 149f2262135ca87608783a8801c9c2d978d8c8ef Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sun, 10 Oct 2010 14:11:07 -0400 Subject: routerstationpro: create machine conf and compatibility BUGID: 422 Add the machine configuration and kernel infrastructure for building the routerstation pro BSP. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-wrs_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'meta/recipes-kernel') diff --git a/meta/recipes-kernel/linux/linux-wrs_git.bb b/meta/recipes-kernel/linux/linux-wrs_git.bb index f6b0aead55..f99be25c75 100644 --- a/meta/recipes-kernel/linux/linux-wrs_git.bb +++ b/meta/recipes-kernel/linux/linux-wrs_git.bb @@ -26,12 +26,13 @@ WRMACHINE_qemuppc = "qemu_ppc32" WRMACHINE_qemumips = "mti_malta32_be" WRMACHINE_qemuarm = "arm_versatile_926ejs" WRMACHINE_atom-pc = "common_pc" +WRMACHINE_routerstationpro = "routerstationpro" -COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc)" +COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc|routerstationpro)" LINUX_VERSION = "v2.6.34" LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" -PR = "r7" +PR = "r8" S = "${WORKDIR}/linux" B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" @@ -166,6 +167,9 @@ do_wrlinux_configcheck() { } do_wrlinux_link_vmlinux() { + if [ ! -d "${B}/arch/${ARCH}/boot" ]; then + mkdir ${B}/arch/${ARCH}/boot + fi cd ${B}/arch/${ARCH}/boot ln -sf ../../../vmlinux } -- cgit v1.2.3