summaryrefslogtreecommitdiff
path: root/packages/util-linux/util-linux-native_2.12r.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/util-linux/util-linux-native_2.12r.bb')
-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 () {
+ :
+}