summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-libre.eclass13
1 files changed, 8 insertions, 5 deletions
diff --git a/eclass/kernel-libre.eclass b/eclass/kernel-libre.eclass
index 4e7dbc0..a042ab1 100644
--- a/eclass/kernel-libre.eclass
+++ b/eclass/kernel-libre.eclass
@@ -8,12 +8,15 @@
#
inherit kernel-2
-EXPORT_FUNCTIONS src_unpack
+EXPORT_FUNCTIONS pkg_setup src_unpack
-DEBLOB_CHECK="deblob-check"
-LIBRE_URI_BASE="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre"
-LIBREKERNEL_URI="${LIBRE_URI_BASE}/linux-${PV}-libre.tar.bz2"
-DEBLOB_URI="${LIBRE_URI_BASE}/${DEBLOB_CHECK}"
+kernel-libre_pkg_setup() {
+ libre_uri_base="http://www.linux-libre.fsfla.org/pub/linux-libre/releases/${PV}-libre"
+
+ DEBLOB_CHECK="deblob-check"
+ KERNEL_URI="${LIBRE_URI_BASE}/linux-${PV}-libre.tar.bz2"
+ DEBLOB_URI="${LIBRE_URI_BASE}/${DEBLOB_CHECK}"
+}
kernel-libre_src_unpack() {
# kernel revision patches included in tarball