diff options
-rw-r--r-- | meta-emenlow/conf/machine/emenlow.conf | 2 | ||||
-rw-r--r-- | meta-emenlow/recipes/linux/linux-yocto_git.bbappend (renamed from meta-emenlow/recipes/linux/linux-wrs_git.bbappend) | 0 | ||||
-rw-r--r-- | meta/conf/distro/include/poky-default-revisions.inc | 24 | ||||
-rw-r--r-- | meta/conf/machine/atom-pc.conf | 2 | ||||
-rw-r--r-- | meta/conf/machine/beagleboard.conf | 2 | ||||
-rw-r--r-- | meta/conf/machine/include/qemu.inc | 2 | ||||
-rw-r--r-- | meta/conf/machine/mpc8315e-rdb.conf | 2 | ||||
-rw-r--r-- | meta/conf/machine/routerstationpro.conf | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb (renamed from meta/recipes-kernel/linux-libc-headers/linux-libc-headers-wrs_git.bb) | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_git.bb (renamed from meta/recipes-kernel/linux/linux-wrs_git.bb) | 73 |
10 files changed, 57 insertions, 56 deletions
diff --git a/meta-emenlow/conf/machine/emenlow.conf b/meta-emenlow/conf/machine/emenlow.conf index 897f36e62a..0f9ed8a299 100644 --- a/meta-emenlow/conf/machine/emenlow.conf +++ b/meta-emenlow/conf/machine/emenlow.conf | |||
@@ -16,7 +16,7 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \ | |||
16 | 16 | ||
17 | KERNEL_IMAGETYPE = "bzImage" | 17 | KERNEL_IMAGETYPE = "bzImage" |
18 | 18 | ||
19 | PREFERRED_PROVIDER_virtual/kernel = "linux-wrs" | 19 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" |
20 | PREFERRED_PROVIDER_libdrm = "libdrm-poulsbo" | 20 | PREFERRED_PROVIDER_libdrm = "libdrm-poulsbo" |
21 | PREFERRED_PROVIDER_drm = "libdrm-poulsbo" | 21 | PREFERRED_PROVIDER_drm = "libdrm-poulsbo" |
22 | PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim" | 22 | PREFERRED_PROVIDER_virtual/libx11 = "libx11-trim" |
diff --git a/meta-emenlow/recipes/linux/linux-wrs_git.bbappend b/meta-emenlow/recipes/linux/linux-yocto_git.bbappend index ed7e8509ee..ed7e8509ee 100644 --- a/meta-emenlow/recipes/linux/linux-wrs_git.bbappend +++ b/meta-emenlow/recipes/linux/linux-yocto_git.bbappend | |||
diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc index 09a7452da9..859e3ca7ac 100644 --- a/meta/conf/distro/include/poky-default-revisions.inc +++ b/meta/conf/distro/include/poky-default-revisions.inc | |||
@@ -82,18 +82,18 @@ SRCREV_pn-linux-omap-zoomsync ??= "015cbaf1035cd9a61d33a27de2a22902555db3c5" | |||
82 | SRCREV_pn-linux-omap2 ??= "d3b3ae0fe6c71641da19c8de466ec366d39847e3" | 82 | SRCREV_pn-linux-omap2 ??= "d3b3ae0fe6c71641da19c8de466ec366d39847e3" |
83 | SRCREV_pn-linux-omap3 ??= "de1121fdb899f762b9e717f44eaf3fae7c00cd3e" | 83 | SRCREV_pn-linux-omap3 ??= "de1121fdb899f762b9e717f44eaf3fae7c00cd3e" |
84 | SRCREV_pn-linux-omap3-pm ??= "totallybroken" | 84 | SRCREV_pn-linux-omap3-pm ??= "totallybroken" |
85 | SRCREV_machine_pn-linux-wrs_qemuarm ?= "4f4177b4bea5b8858acc1eeb788d80b7af0df962" | 85 | SRCREV_machine_pn-linux-yocto_qemuarm ?= "4f4177b4bea5b8858acc1eeb788d80b7af0df962" |
86 | SRCREV_machine_pn-linux-wrs_qemumips ?= "81f3cd467b9d51fa1dfa2d5939337cc756ae8061" | 86 | SRCREV_machine_pn-linux-yocto_qemumips ?= "81f3cd467b9d51fa1dfa2d5939337cc756ae8061" |
87 | SRCREV_machine_pn-linux-wrs_qemuppc ?= "9ac0daee43dd19d8bea828cf79450c9748ae0daa" | 87 | SRCREV_machine_pn-linux-yocto_qemuppc ?= "9ac0daee43dd19d8bea828cf79450c9748ae0daa" |
88 | SRCREV_machine_pn-linux-wrs_qemux86 ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" | 88 | SRCREV_machine_pn-linux-yocto_qemux86 ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" |
89 | SRCREV_machine_pn-linux-wrs_qemux86-64 ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" | 89 | SRCREV_machine_pn-linux-yocto_qemux86-64 ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" |
90 | SRCREV_machine_pn-linux-wrs_emenlow ?= "aae69fdf104b0a9d7b3710f808aac6ab303490f7" | 90 | SRCREV_machine_pn-linux-yocto_emenlow ?= "aae69fdf104b0a9d7b3710f808aac6ab303490f7" |
91 | SRCREV_machine_pn-linux-wrs_atom-pc ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" | 91 | SRCREV_machine_pn-linux-yocto_atom-pc ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" |
92 | SRCREV_machine_pn-linux-wrs_routerstationpro ?= "2ec2edaf256dd8500ee3d4763fee6ca3ecd6da4b" | 92 | SRCREV_machine_pn-linux-yocto_routerstationpro ?= "2ec2edaf256dd8500ee3d4763fee6ca3ecd6da4b" |
93 | SRCREV_machine_pn-linux-wrs_mpc8315e-rdb ?= "986e6eb66c26007cee7916d5d12f4756e6b5436f" | 93 | SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= "986e6eb66c26007cee7916d5d12f4756e6b5436f" |
94 | SRCREV_machine_pn-linux-wrs_beagleboard ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" | 94 | SRCREV_machine_pn-linux-yocto_beagleboard ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" |
95 | SRCREV_meta_pn-linux-wrs ?= "d1cd5c80ee97e81e130be8c3de3965b770f320d6" | 95 | SRCREV_meta_pn-linux-yocto ?= "d1cd5c80ee97e81e130be8c3de3965b770f320d6" |
96 | SRCREV_pn-linux-libc-headers-wrs ??= "09a39c638dd65dc27c549c119abe1af2631b2ae0" | 96 | SRCREV_pn-linux-libc-headers-yocto ??= "09a39c638dd65dc27c549c119abe1af2631b2ae0" |
97 | SRCREV_pn-matchbox-config-gtk ??= "2081" | 97 | SRCREV_pn-matchbox-config-gtk ??= "2081" |
98 | SRCREV_pn-matchbox-desktop-sato ??= "76" | 98 | SRCREV_pn-matchbox-desktop-sato ??= "76" |
99 | SRCREV_pn-matchbox-desktop ??= "2096" | 99 | SRCREV_pn-matchbox-desktop ??= "2096" |
diff --git a/meta/conf/machine/atom-pc.conf b/meta/conf/machine/atom-pc.conf index 61d3d943ab..7ca952a0a2 100644 --- a/meta/conf/machine/atom-pc.conf +++ b/meta/conf/machine/atom-pc.conf | |||
@@ -13,7 +13,7 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 wifi \ | |||
13 | 13 | ||
14 | KERNEL_IMAGETYPE = "bzImage" | 14 | KERNEL_IMAGETYPE = "bzImage" |
15 | 15 | ||
16 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-wrs" | 16 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
17 | PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" | 17 | PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" |
18 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri" | 18 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa-dri" |
19 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" | 19 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" |
diff --git a/meta/conf/machine/beagleboard.conf b/meta/conf/machine/beagleboard.conf index d44b7aaf60..657bd366ca 100644 --- a/meta/conf/machine/beagleboard.conf +++ b/meta/conf/machine/beagleboard.conf | |||
@@ -22,7 +22,7 @@ EXTRA_IMAGECMD_jffs2 = "-lnp " | |||
22 | # Guesswork | 22 | # Guesswork |
23 | SERIAL_CONSOLE = "115200 ttyS2" | 23 | SERIAL_CONSOLE = "115200 ttyS2" |
24 | 24 | ||
25 | PREFERRED_PROVIDER_virtual/kernel = "linux-wrs" | 25 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" |
26 | 26 | ||
27 | KERNEL_IMAGETYPE = "uImage" | 27 | KERNEL_IMAGETYPE = "uImage" |
28 | 28 | ||
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc index 1ef639f90e..1b1b8881c6 100644 --- a/meta/conf/machine/include/qemu.inc +++ b/meta/conf/machine/include/qemu.inc | |||
@@ -15,6 +15,6 @@ IMAGE_ROOTFS_SIZE_ext3 ?= "280000" | |||
15 | RDEPENDS_kernel-base = "" | 15 | RDEPENDS_kernel-base = "" |
16 | 16 | ||
17 | # Use a common kernel recipe for all QEMU machines | 17 | # Use a common kernel recipe for all QEMU machines |
18 | PREFERRED_PROVIDER_virtual/kernel = "linux-wrs" | 18 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" |
19 | 19 | ||
20 | EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" | 20 | EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" |
diff --git a/meta/conf/machine/mpc8315e-rdb.conf b/meta/conf/machine/mpc8315e-rdb.conf index e42a9f2a1a..334118668a 100644 --- a/meta/conf/machine/mpc8315e-rdb.conf +++ b/meta/conf/machine/mpc8315e-rdb.conf | |||
@@ -13,4 +13,4 @@ SERIAL_CONSOLE = "115200 ttyS0" | |||
13 | 13 | ||
14 | MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" | 14 | MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" |
15 | 15 | ||
16 | PREFERRED_PROVIDER_virtual/kernel = "linux-wrs" | 16 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" |
diff --git a/meta/conf/machine/routerstationpro.conf b/meta/conf/machine/routerstationpro.conf index ecacc9b873..485ee3c124 100644 --- a/meta/conf/machine/routerstationpro.conf +++ b/meta/conf/machine/routerstationpro.conf | |||
@@ -12,7 +12,7 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \ | |||
12 | KERNEL_IMAGETYPE = "vmlinux" | 12 | KERNEL_IMAGETYPE = "vmlinux" |
13 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" | 13 | KERNEL_ALT_IMAGETYPE = "vmlinux.bin" |
14 | 14 | ||
15 | PREFERRED_PROVIDER_virtual/kernel = "linux-wrs" | 15 | PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" |
16 | 16 | ||
17 | SERIAL_CONSOLE = "115200 ttyS0" | 17 | SERIAL_CONSOLE = "115200 ttyS0" |
18 | 18 | ||
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-wrs_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb index ab25e500ba..6ae6d5f642 100644 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-wrs_git.bb +++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb | |||
@@ -26,7 +26,7 @@ do_configure() { | |||
26 | oe_runmake allnoconfig ARCH=$ARCH | 26 | oe_runmake allnoconfig ARCH=$ARCH |
27 | } | 27 | } |
28 | 28 | ||
29 | do_wrlinux_checkout() { | 29 | do_kernel_checkout() { |
30 | if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then | 30 | if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then |
31 | rm -rf ${S} | 31 | rm -rf ${S} |
32 | mkdir ${S} | 32 | mkdir ${S} |
@@ -38,7 +38,7 @@ do_wrlinux_checkout() { | |||
38 | git checkout -f standard | 38 | git checkout -f standard |
39 | } | 39 | } |
40 | 40 | ||
41 | addtask wrlinux_checkout before do_patch after do_unpack | 41 | addtask kernel_checkout before do_patch after do_unpack |
42 | 42 | ||
43 | do_compile () { | 43 | do_compile () { |
44 | } | 44 | } |
diff --git a/meta/recipes-kernel/linux/linux-wrs_git.bb b/meta/recipes-kernel/linux/linux-yocto_git.bb index 209648b8e7..ef005aefca 100644 --- a/meta/recipes-kernel/linux/linux-wrs_git.bb +++ b/meta/recipes-kernel/linux/linux-yocto_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Wind River Kernel" | 1 | DESCRIPTION = "Yocto Kernel" |
2 | SECTION = "kernel" | 2 | SECTION = "kernel" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | 4 | ||
@@ -13,16 +13,17 @@ PV = "2.6.34+git${SRCPV}" | |||
13 | SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ | 13 | SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ |
14 | git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" | 14 | git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" |
15 | 15 | ||
16 | WRMACHINE = "UNDEFINED" | 16 | # map the poky machine to a 'kernel machine' |
17 | WRMACHINE_qemux86 = "common_pc" | 17 | KMACHINE = "UNDEFINED" |
18 | WRMACHINE_qemux86-64 = "common_pc_64" | 18 | KMACHINE_qemux86 = "common_pc" |
19 | WRMACHINE_qemuppc = "qemu_ppc32" | 19 | KMACHINE_qemux86-64 = "common_pc_64" |
20 | WRMACHINE_qemumips = "mti_malta32_be" | 20 | KMACHINE_qemuppc = "qemu_ppc32" |
21 | WRMACHINE_qemuarm = "arm_versatile_926ejs" | 21 | KMACHINE_qemumips = "mti_malta32_be" |
22 | WRMACHINE_atom-pc = "atom-pc" | 22 | KMACHINE_qemuarm = "arm_versatile_926ejs" |
23 | WRMACHINE_routerstationpro = "routerstationpro" | 23 | KMACHINE_atom-pc = "atom-pc" |
24 | WRMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb" | 24 | KMACHINE_routerstationpro = "routerstationpro" |
25 | WRMACHINE_beagleboard = "beagleboard" | 25 | KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb" |
26 | KMACHINE_beagleboard = "beagleboard" | ||
26 | 27 | ||
27 | # Determine which branch to fetch and build. Not all branches are in the | 28 | # Determine which branch to fetch and build. Not all branches are in the |
28 | # upstream repo (but will be locally created after the fetchers run) so | 29 | # upstream repo (but will be locally created after the fetchers run) so |
@@ -36,11 +37,11 @@ WRMACHINE_beagleboard = "beagleboard" | |||
36 | python __anonymous () { | 37 | python __anonymous () { |
37 | import bb, re | 38 | import bb, re |
38 | 39 | ||
39 | bb.data.setVar("KBRANCH", "${WRMACHINE}-${LINUX_KERNEL_TYPE}", d) | 40 | bb.data.setVar("KBRANCH", "${KMACHINE}-${LINUX_KERNEL_TYPE}", d) |
40 | mach = bb.data.getVar("WRMACHINE", d, 1) | 41 | mach = bb.data.getVar("KMACHINE", d, 1) |
41 | if mach == "UNDEFINED": | 42 | if mach == "UNDEFINED": |
42 | bb.data.setVar("KBRANCH", "standard", d) | 43 | bb.data.setVar("KBRANCH", "standard", d) |
43 | bb.data.setVar("WRMACHINE", "${MACHINE}", d) | 44 | bb.data.setVar("KMACHINE", "${MACHINE}", d) |
44 | # track the global configuration on a bootstrapped BSP | 45 | # track the global configuration on a bootstrapped BSP |
45 | bb.data.setVar("SRCREV_machine", "${SRCREV_meta}", d) | 46 | bb.data.setVar("SRCREV_machine", "${SRCREV_meta}", d) |
46 | bb.data.setVar("BOOTSTRAP", "t", d) | 47 | bb.data.setVar("BOOTSTRAP", "t", d) |
@@ -53,7 +54,7 @@ LINUX_VERSION_EXTENSION = "-wr-${LINUX_KERNEL_TYPE}" | |||
53 | PR = "r13" | 54 | PR = "r13" |
54 | 55 | ||
55 | S = "${WORKDIR}/linux" | 56 | S = "${WORKDIR}/linux" |
56 | B = "${WORKDIR}/linux-${WRMACHINE}-${LINUX_KERNEL_TYPE}-build" | 57 | B = "${WORKDIR}/linux-${KMACHINE}-${LINUX_KERNEL_TYPE}-build" |
57 | 58 | ||
58 | # functionality flags | 59 | # functionality flags |
59 | KERNEL_REVISION_CHECKING ?= "t" | 60 | KERNEL_REVISION_CHECKING ?= "t" |
@@ -66,9 +67,9 @@ do_patch() { | |||
66 | fi | 67 | fi |
67 | 68 | ||
68 | # simply ensures that a branch of the right name has been created | 69 | # simply ensures that a branch of the right name has been created |
69 | createme ${ARCH} ${WRMACHINE}-${LINUX_KERNEL_TYPE} ${defconfig} | 70 | createme ${ARCH} ${KMACHINE}-${LINUX_KERNEL_TYPE} ${defconfig} |
70 | if [ $? -ne 0 ]; then | 71 | if [ $? -ne 0 ]; then |
71 | echo "ERROR. Could not create ${WRMACHINE}-${LINUX_KERNEL_TYPE}" | 72 | echo "ERROR. Could not create ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
72 | exit 1 | 73 | exit 1 |
73 | fi | 74 | fi |
74 | 75 | ||
@@ -78,14 +79,14 @@ do_patch() { | |||
78 | fi | 79 | fi |
79 | updateme ${addon_features} ${ARCH} ${WORKDIR} | 80 | updateme ${addon_features} ${ARCH} ${WORKDIR} |
80 | if [ $? -ne 0 ]; then | 81 | if [ $? -ne 0 ]; then |
81 | echo "ERROR. Could not update ${WRMACHINE}-${LINUX_KERNEL_TYPE}" | 82 | echo "ERROR. Could not update ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
82 | exit 1 | 83 | exit 1 |
83 | fi | 84 | fi |
84 | 85 | ||
85 | # executes and modifies the source tree as required | 86 | # executes and modifies the source tree as required |
86 | patchme ${WRMACHINE}-${LINUX_KERNEL_TYPE} | 87 | patchme ${KMACHINE}-${LINUX_KERNEL_TYPE} |
87 | if [ $? -ne 0 ]; then | 88 | if [ $? -ne 0 ]; then |
88 | echo "ERROR. Could not modify ${WRMACHINE}-${LINUX_KERNEL_TYPE}" | 89 | echo "ERROR. Could not modify ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
89 | exit 1 | 90 | exit 1 |
90 | fi | 91 | fi |
91 | } | 92 | } |
@@ -100,9 +101,9 @@ validate_branches() { | |||
100 | if [ -n "${KERNEL_REVISION_CHECKING}" ]; then | 101 | if [ -n "${KERNEL_REVISION_CHECKING}" ]; then |
101 | git show ${target_branch_head} > /dev/null 2>&1 | 102 | git show ${target_branch_head} > /dev/null 2>&1 |
102 | if [ $? -eq 0 ]; then | 103 | if [ $? -eq 0 ]; then |
103 | echo "Forcing branch ${WRMACHINE}-${LINUX_KERNEL_TYPE} to ${target_branch_head}" | 104 | echo "Forcing branch ${KMACHINE}-${LINUX_KERNEL_TYPE} to ${target_branch_head}" |
104 | git branch -m ${WRMACHINE}-${LINUX_KERNEL_TYPE} ${WRMACHINE}-${LINUX_KERNEL_TYPE}-orig | 105 | git branch -m ${KMACHINE}-${LINUX_KERNEL_TYPE} ${KMACHINE}-${LINUX_KERNEL_TYPE}-orig |
105 | git checkout -b ${WRMACHINE}-${LINUX_KERNEL_TYPE} ${target_branch_head} | 106 | git checkout -b ${KMACHINE}-${LINUX_KERNEL_TYPE} ${target_branch_head} |
106 | else | 107 | else |
107 | echo "ERROR ${target_branch_head} is not a valid commit ID." | 108 | echo "ERROR ${target_branch_head} is not a valid commit ID." |
108 | echo "The kernel source tree may be out of sync" | 109 | echo "The kernel source tree may be out of sync" |
@@ -127,9 +128,9 @@ validate_branches() { | |||
127 | fi | 128 | fi |
128 | } | 129 | } |
129 | 130 | ||
130 | do_wrlinux_checkout() { | 131 | do_kernel_checkout() { |
131 | if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then | 132 | if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then |
132 | echo "Fixing up git directory for ${WRMACHINE}-${LINUX_KERNEL_TYPE}" | 133 | echo "Fixing up git directory for ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
133 | rm -rf ${S} | 134 | rm -rf ${S} |
134 | mkdir ${S} | 135 | mkdir ${S} |
135 | mv ${WORKDIR}/.git ${S} | 136 | mv ${WORKDIR}/.git ${S} |
@@ -165,17 +166,17 @@ IFS=' | |||
165 | # our initial checkout. So we do it a second time to be sure | 166 | # our initial checkout. So we do it a second time to be sure |
166 | git checkout -f ${KBRANCH} | 167 | git checkout -f ${KBRANCH} |
167 | } | 168 | } |
168 | do_wrlinux_checkout[dirs] = "${S}" | 169 | do_kernel_checkout[dirs] = "${S}" |
169 | 170 | ||
170 | addtask wrlinux_checkout before do_patch after do_unpack | 171 | addtask kernel_checkout before do_patch after do_unpack |
171 | 172 | ||
172 | do_wrlinux_configme() { | 173 | do_kernel_configme() { |
173 | echo "Doing wrlinux configme" | 174 | echo "Doing kernel configme" |
174 | 175 | ||
175 | cd ${S} | 176 | cd ${S} |
176 | configme --reconfig | 177 | configme --reconfig |
177 | if [ $? -ne 0 ]; then | 178 | if [ $? -ne 0 ]; then |
178 | echo "ERROR. Could not configure ${WRMACHINE}-${LINUX_KERNEL_TYPE}" | 179 | echo "ERROR. Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}" |
179 | exit 1 | 180 | exit 1 |
180 | fi | 181 | fi |
181 | 182 | ||
@@ -184,13 +185,13 @@ do_wrlinux_configme() { | |||
184 | echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config | 185 | echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config |
185 | } | 186 | } |
186 | 187 | ||
187 | do_wrlinux_configcheck() { | 188 | do_kernel_configcheck() { |
188 | echo "[INFO] validating kernel configuration" | 189 | echo "[INFO] validating kernel configuration" |
189 | cd ${B}/.. | 190 | cd ${B}/.. |
190 | kconf_check ${B}/.config ${B} ${S} ${B} ${LINUX_VERSION} ${WRMACHINE}-${LINUX_KERNEL_TYPE} | 191 | kconf_check ${B}/.config ${B} ${S} ${B} ${LINUX_VERSION} ${KMACHINE}-${LINUX_KERNEL_TYPE} |
191 | } | 192 | } |
192 | 193 | ||
193 | do_wrlinux_link_vmlinux() { | 194 | do_kernel_link_vmlinux() { |
194 | if [ ! -d "${B}/arch/${ARCH}/boot" ]; then | 195 | if [ ! -d "${B}/arch/${ARCH}/boot" ]; then |
195 | mkdir ${B}/arch/${ARCH}/boot | 196 | mkdir ${B}/arch/${ARCH}/boot |
196 | fi | 197 | fi |
@@ -207,9 +208,9 @@ do_install_perf() { | |||
207 | } | 208 | } |
208 | 209 | ||
209 | do_patch[depends] = "kern-tools-native:do_populate_sysroot" | 210 | do_patch[depends] = "kern-tools-native:do_populate_sysroot" |
210 | addtask wrlinux_configme before do_configure after do_patch | 211 | addtask kernel_configme before do_configure after do_patch |
211 | addtask wrlinux_link_vmlinux after do_compile before do_install | 212 | addtask kernel_link_vmlinux after do_compile before do_install |
212 | addtask wrlinux_configcheck after do_configure before do_compile | 213 | addtask kernel_configcheck after do_configure before do_compile |
213 | 214 | ||
214 | inherit kernel | 215 | inherit kernel |
215 | 216 | ||