summaryrefslogtreecommitdiff
path: root/packages/util-linux
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-05-31 22:47:24 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-31 22:47:24 +0000
commitcce9638455be863b406573020215590d72e4d70e (patch)
treeb068d9d1e61f3c2c11d380654efeb5d10474c8f7 /packages/util-linux
parent014177c539a92bcdf688ac258215dd9ab069d603 (diff)
util-linux - Add util-linux-native
Diffstat (limited to 'packages/util-linux')
-rw-r--r--packages/util-linux/util-linux-native_2.12r.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/util-linux/util-linux-native_2.12r.bb b/packages/util-linux/util-linux-native_2.12r.bb
new file mode 100644
index 0000000000..48e1bf855b
--- /dev/null
+++ b/packages/util-linux/util-linux-native_2.12r.bb
@@ -0,0 +1,30 @@
+include util-linux.inc
+
+PR = "r0"
+
+inherit native
+
+PACKAGES = ""
+RRECCOMMENDS_${PN} = ""
+RDEPENDS_${PN} = ""
+
+S="${WORKDIR}/util-linux-${PV}"
+
+EXTRA_OEMAKE="'OPT=${BUILD_CFLAGS}' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'LDFLAGS=${BUILD_LDFLAGS}' SBINDIR=${base_sbindir} USRSBINDIR=${base_sbindir} LOGDIR=${localstatedir}/log VARPATH=${localstatedir} LOCALEDIR=${datadir}/locale"
+
+do_compile () {
+ set -e
+ install ${WORKDIR}/MCONFIG ${S}/MCONFIG
+ install ${WORKDIR}/make_include ${S}/make_include
+ install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h
+ install ${WORKDIR}/defines.h ${S}/defines.h
+ oe_runmake
+}
+
+do_stage () {
+ autotools_stage_all
+}
+
+do_install () {
+ :
+}