summaryrefslogtreecommitdiff
path: root/packages/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'packages/modutils')
-rw-r--r--packages/modutils/modutils-cross_2.4.27.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/modutils/modutils-cross_2.4.27.bb b/packages/modutils/modutils-cross_2.4.27.bb
index e69de29bb2..8bd037707b 100644
--- a/packages/modutils/modutils-cross_2.4.27.bb
+++ b/packages/modutils/modutils-cross_2.4.27.bb
@@ -0,0 +1,26 @@
+SECTION = "base"
+include modutils_${PV}.bb
+PR = "r5"
+inherit cross
+S = "${WORKDIR}/modutils-${PV}"
+DEPENDS = ""
+PACKAGES = ""
+PROVIDES += "virtual/${TARGET_PREFIX}depmod"
+DEFAULT_PREFERENCE = "1"
+
+SRC_URI += "file://modutils-cross/module.h.diff;patch=1"
+
+sbindir = "${prefix}/bin"
+
+EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"
+
+CFLAGS_prepend_mipsel = "-D__MIPSEL__"
+CFLAGS_prepend_mipseb = "-D__MIPSEB__"
+
+do_stage () {
+ oe_runmake install
+}
+
+do_install () {
+ :
+}