From: Rene Wagner Date: Fri, 26 Aug 2005 22:28:25 +0000 (+0000) Subject: devshell: add some alias magic. X-Git-Tag: Release-2010-05/1~9453^2~3775^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9daf28095c82eb3f5e5b0732034928d5ea0720e;p=openembedded.git devshell: add some alias magic. --- diff --git a/packages/addons/devshell.bb b/packages/addons/devshell.bb index 920ac00d10..6d5d53a1a2 100644 --- a/packages/addons/devshell.bb +++ b/packages/addons/devshell.bb @@ -1,6 +1,7 @@ DESCRIPTION = "Runs a shell in an environment as emitted by BitBake to execute tasks" LICENSE = "GPL" MAINTAINER = "Rene Wagner " +PR = "r1" inherit autotools pkgconfig @@ -63,7 +64,10 @@ do_package() { cp $shellfile tmpfile echo "#!/bin/bash --rcfile" > $shellfile sed -e "s:${S}:.:g" -e "s:exit 1:true:" tmpfile >> $shellfile + echo "export PS1='[OE::${TARGET_PREFIX}${DISTRO}-${MACHINE}]:\w\$ '" >> $shellfile + echo "alias ./configure=oe_runconf" >> $shellfile + echo "alias make=oe_runmake" >> $shellfile mkdir -p ${DEPLOY_DIR}/addons install -m 755 $shellfile ${DEPLOY_DIR}/addons