diff options
author | Richard Purdie <richard@openedhand.com> | 2006-08-27 16:01:33 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-08-27 16:01:33 +0000 |
commit | 93a8d0662ed361c76defe75a5cd84f203fdb1af1 (patch) | |
tree | 3481256915c4474980290e53c086af8f8389a10e /meta/classes/kernel.bbclass | |
parent | 37d03b1b00610716b27259a42c8718c8628b2ad3 (diff) | |
download | poky-93a8d0662ed361c76defe75a5cd84f203fdb1af1.tar.gz |
classes: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index ad51c4e035..c81112ede7 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -109,6 +109,21 @@ kernel_do_stage() { | |||
109 | mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia | 109 | mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia |
110 | cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/ | 110 | cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/ |
111 | 111 | ||
112 | if [ -d drivers/crypto ]; then | ||
113 | mkdir -p ${STAGING_KERNEL_DIR}/drivers/crypto | ||
114 | cp -fR drivers/crypto/* ${STAGING_KERNEL_DIR}/drivers/crypto/ | ||
115 | fi | ||
116 | |||
117 | if [ -d include/media ]; then | ||
118 | mkdir -p ${STAGING_KERNEL_DIR}/include/media | ||
119 | cp -fR include/media/* ${STAGING_KERNEL_DIR}/include/media/ | ||
120 | fi | ||
121 | |||
122 | if [ -d include/acpi ]; then | ||
123 | mkdir -p ${STAGING_KERNEL_DIR}/include/acpi | ||
124 | cp -fR include/acpi/* ${STAGING_KERNEL_DIR}/include/acpi/ | ||
125 | fi | ||
126 | |||
112 | if [ -d include/sound ]; then | 127 | if [ -d include/sound ]; then |
113 | mkdir -p ${STAGING_KERNEL_DIR}/include/sound | 128 | mkdir -p ${STAGING_KERNEL_DIR}/include/sound |
114 | cp -fR include/sound/* ${STAGING_KERNEL_DIR}/include/sound/ | 129 | cp -fR include/sound/* ${STAGING_KERNEL_DIR}/include/sound/ |
@@ -133,7 +148,7 @@ kernel_do_stage() { | |||
133 | # Check if arch/${ARCH}/Makefile exists and install it | 148 | # Check if arch/${ARCH}/Makefile exists and install it |
134 | if [ -e arch/${ARCH}/Makefile ]; then | 149 | if [ -e arch/${ARCH}/Makefile ]; then |
135 | install -d ${STAGING_KERNEL_DIR}/arch/${ARCH} | 150 | install -d ${STAGING_KERNEL_DIR}/arch/${ARCH} |
136 | install -m 0644 arch/${ARCH}/Makefile ${STAGING_KERNEL_DIR}/arch/${ARCH} | 151 | install -m 0644 arch/${ARCH}/Makefile* ${STAGING_KERNEL_DIR}/arch/${ARCH} |
137 | fi | 152 | fi |
138 | cp -fR include/config* ${STAGING_KERNEL_DIR}/include/ | 153 | cp -fR include/config* ${STAGING_KERNEL_DIR}/include/ |
139 | install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} | 154 | install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} |
@@ -199,7 +214,7 @@ fi | |||
199 | if [ -n "$D" ]; then | 214 | if [ -n "$D" ]; then |
200 | ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_RELEASE} ${KERNEL_VERSION} | 215 | ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_RELEASE} ${KERNEL_VERSION} |
201 | else | 216 | else |
202 | depmod -A | 217 | depmod -a |
203 | fi | 218 | fi |
204 | } | 219 | } |
205 | 220 | ||
@@ -207,7 +222,7 @@ pkg_postinst_modules () { | |||
207 | if [ -n "$D" ]; then | 222 | if [ -n "$D" ]; then |
208 | ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_RELEASE} ${KERNEL_VERSION} | 223 | ${HOST_PREFIX}depmod-${KERNEL_MAJOR_VERSION} -A -b $D -F ${STAGING_KERNEL_DIR}/System.map-${KERNEL_RELEASE} ${KERNEL_VERSION} |
209 | else | 224 | else |
210 | depmod -A | 225 | depmod -a |
211 | update-modules || true | 226 | update-modules || true |
212 | fi | 227 | fi |
213 | } | 228 | } |