Patchwork [3/6] kconfig-frontends: Create symlinks for conf and mconf

login
register
mail settings
Submitter Khem Raj
Date Sept. 6, 2012, 10:32 p.m.
Message ID <fe158b29057e110124cb1a7b15a57cf73395b860.1346970617.git.raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/36081/
State Accepted
Commit 5857772e285ad6e39b7216bc542189e45f6fdbf7
Headers show

Comments

Khem Raj - Sept. 6, 2012, 10:32 p.m.
eglibc calls out mconf and conf directly so lets create
symlinks to point to their kconfig- counterparts

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../kconfig-frontends/kconfig-frontends_3.5.bb     |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.5.bb b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.5.bb
index 277de03..96899b8 100644
--- a/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.5.bb
+++ b/meta/recipes-devtools/kconfig-frontends/kconfig-frontends_3.5.bb
@@ -11,7 +11,7 @@  LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9b8cf60ff39767ff04b671fca8302408"
 SECTION = "devel"
 DEPENDS += "ncurses flex bison gperf"
-PR = "r0"
+PR = "r1"
 PV = "3.5.0"
 SPIN = "0"
 SRC_URI = "http://ymorin.is-a-geek.org/download/${BPN}/${BPN}-${PV}-${SPIN}.tar.xz"
@@ -24,6 +24,12 @@  inherit autotools
 do_configure_prepend () {
 	mkdir -p scripts/.autostuff/m4
 }
+
+do_install_append() {
+	ln -s kconfig-conf ${D}${bindir}/conf
+	ln -s kconfig-mconf ${D}${bindir}/mconf
+}
+
 EXTRA_OECONF += "--disable-gconf --disable-qconf"
 
 # Some packages have the version preceeding the .so instead properly