diff options
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux/linux-wrs_git.bb | 8 |
1 files changed, 6 insertions, 2 deletions
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" | |||
26 | WRMACHINE_qemumips = "mti_malta32_be" | 26 | WRMACHINE_qemumips = "mti_malta32_be" |
27 | WRMACHINE_qemuarm = "arm_versatile_926ejs" | 27 | WRMACHINE_qemuarm = "arm_versatile_926ejs" |
28 | WRMACHINE_atom-pc = "common_pc" | 28 | WRMACHINE_atom-pc = "common_pc" |
29 | WRMACHINE_routerstationpro = "routerstationpro" | ||
29 | 30 | ||
30 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc)" | 31 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc|routerstationpro)" |
31 | 32 | ||
32 | LINUX_VERSION = "v2.6.34" | 33 | LINUX_VERSION = "v2.6.34" |
33 | LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" | 34 | LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" |
34 | PR = "r7" | 35 | PR = "r8" |
35 | 36 | ||
36 | S = "${WORKDIR}/linux" | 37 | S = "${WORKDIR}/linux" |
37 | B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" | 38 | B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" |
@@ -166,6 +167,9 @@ do_wrlinux_configcheck() { | |||
166 | } | 167 | } |
167 | 168 | ||
168 | do_wrlinux_link_vmlinux() { | 169 | do_wrlinux_link_vmlinux() { |
170 | if [ ! -d "${B}/arch/${ARCH}/boot" ]; then | ||
171 | mkdir ${B}/arch/${ARCH}/boot | ||
172 | fi | ||
169 | cd ${B}/arch/${ARCH}/boot | 173 | cd ${B}/arch/${ARCH}/boot |
170 | ln -sf ../../../vmlinux | 174 | ln -sf ../../../vmlinux |
171 | } | 175 | } |