summaryrefslogtreecommitdiff
path: root/bootmenu
diff options
context:
space:
mode:
Diffstat (limited to 'bootmenu')
-rw-r--r--bootmenu/bootmenu_0.6.oe10
-rw-r--r--bootmenu/bootmenu_0.7.oe8
2 files changed, 7 insertions, 11 deletions
diff --git a/bootmenu/bootmenu_0.6.oe b/bootmenu/bootmenu_0.6.oe
index 44cce5ed3e..c9fbb041d7 100644
--- a/bootmenu/bootmenu_0.6.oe
+++ b/bootmenu/bootmenu_0.6.oe
@@ -1,17 +1,15 @@
DEPENDS = "virtual/libc"
DESCRIPTION = "Pluginable bootup menu."
-SRC_URI := http://www.cosmicpenguin.net/pub/bootmenu/${P}.tar.gz \
- file://${FILESDIR}/compile.patch;patch=1
+SRC_URI = "http://www.cosmicpenguin.net/pub/bootmenu/bootmenu-${PV}.tar.gz \
+ file://${FILESDIR}/compile.patch;patch=1"
EXTRA_OEMAKE =
do_compile () {
- cd src
- oe_runmake 'CC=${CC}' 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}'
+ oe_runmake -C src 'CC=${CC}' 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}'
}
do_install () {
- cd src
- oe_runmake 'PLUGINDIR=${datadir}/bootmenu' 'PREFIX=${bindir}' 'DESTDIR=${D}' install
+ oe_runmake -C src 'PLUGINDIR=${datadir}/bootmenu' 'PREFIX=${bindir}' 'DESTDIR=${D}' install
}
diff --git a/bootmenu/bootmenu_0.7.oe b/bootmenu/bootmenu_0.7.oe
index 117e3a3832..1cdac85154 100644
--- a/bootmenu/bootmenu_0.7.oe
+++ b/bootmenu/bootmenu_0.7.oe
@@ -1,15 +1,13 @@
DEPENDS = "virtual/libc"
DESCRIPTION = "Pluginable bootup menu."
-SRC_URI := http://www.cosmicpenguin.net/pub/bootmenu/${P}.tar.gz
+SRC_URI = "http://www.cosmicpenguin.net/pub/bootmenu/bootmenu-${PV}.tar.gz"
EXTRA_OEMAKE =
do_compile () {
- cd src
- oe_runmake 'CC=${CC}' 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}'
+ oe_runmake -C src 'CC=${CC}' 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}'
}
do_install () {
- cd src
- oe_runmake 'PLUGINDIR=${datadir}/bootmenu' 'PREFIX=${bindir}' 'DESTDIR=${D}' install
+ oe_runmake -C src 'PLUGINDIR=${datadir}/bootmenu' 'PREFIX=${bindir}' 'DESTDIR=${D}' install
}