summaryrefslogtreecommitdiff
path: root/packages/modutils
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-18 01:01:16 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-18 01:01:16 +0000
commit2650645237555cc24c532a4c9ccd81d8c01bcaf7 (patch)
tree297cb8213bb881f96893b6246a623718af50a8e1 /packages/modutils
parent6e012296c2dc513ae301654b3d4d3eb826068c81 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/17 19:01:15-06:00 ti.com!kergoth Move 'patcher-native' into a PATCH_DEPENDS variable. 2005/01/17 18:35:01-06:00 ti.com!kergoth Teach base_do_patch to unapply all the patches before it starts applying things. This ensures that a patch being 'already applied' isn't a problem. BKrev: 41ec5fdcZyPXKe57f5FM3PpA19zcww
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 () {
+ :
+}