summaryrefslogtreecommitdiff
path: root/classes/module_strip.bbclass
blob: 63e65697999bcb2a53e703518257f6cc455ece4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#DEPENDS_append = " module-strip"

do_strip_modules () {
	for p in ${PACKAGES}; do
		if test -e ${WORKDIR}/install/$p/lib/modules; then
			modules="`find ${WORKDIR}/install/$p/lib/modules -name \*${KERNEL_OBJECT_SUFFIX}`"
			if [ -n "$modules" ]; then
				for module in $modules ; do
					if ! [ -d "$module"  ] ; then
						${STRIP} -v -g $module
					fi
				done	
#				NM="${CROSS_DIR}/bin/${HOST_PREFIX}nm" OBJCOPY="${CROSS_DIR}/bin/${HOST_PREFIX}objcopy" strip_module $modules
			fi
		fi
	done
}

python do_package_append () {
	if (bb.data.getVar('INHIBIT_PACKAGE_STRIP', d, 1) != '1'):
		bb.build.exec_func('do_strip_modules', d)
}
g'> 2009-02-18linux-omap-pm: add patch to register all OPPs, tweak defconfigKoen Kooi1 2009-02-17linux-omap-pm: update to current HEAD, refresh patchesKoen Kooi1 2009-01-14linux-omap-pm git: move to latest pm branch, SD boot works againKoen Kooi1 2009-01-13linux-omap-pm: correctly re-diff beagle-cpufreq patchKoen Kooi1 2009-01-12linx-omap pm git: fix DSS2 patch, rediff beagle-cpufreq, add ECHI supportKoen Kooi1 2009-01-11linux-omap-pm git: add patch to add rate tables to beagleboard board fileKoen Kooi1 2009-01-11linux-omap-pm : Add recipe for OMAP3 kernel with power management. This tracksPhilip Balister1 Kevin Hilmans git tree. When the OMAP3 pm stuff is merged into the linux-omap git, this recipe should be removed.