summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-09-02 10:53:30 +0200
committerUlrich Müller <ulm@gentoo.org>2021-09-03 17:19:42 +0200
commitdb30408d83b4bcf779686e2c1e4944fc2a0088a9 (patch)
tree52360b0641fe88aae697b9838c434e40774f7c21 /eclass
parentkernel-2.eclass: Move EXPORT_FUNCTIONS below inherit (diff)
downloadgentoo-db30408d83b4bcf779686e2c1e4944fc2a0088a9.tar.gz
gentoo-db30408d83b4bcf779686e2c1e4944fc2a0088a9.tar.bz2
gentoo-db30408d83b4bcf779686e2c1e4944fc2a0088a9.zip
linux-mod.eclass: Move EXPORT_FUNCTIONS below inherit
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/linux-mod.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 4b61d2a8a62b..ca7bb2e219f5 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -154,8 +154,6 @@ case ${EAPI:-0} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst src_install src_compile pkg_postrm
-
if [[ -z ${_LINUX_MOD_ECLASS} ]] ; then
_LINUX_MOD_ECLASS=1
@@ -797,3 +795,6 @@ linux-mod_pkg_postrm() {
}
fi
+
+EXPORT_FUNCTIONS pkg_setup src_compile src_install \
+ pkg_preinst pkg_postinst pkg_postrm