diff options
author | Rene Wagner <rw@handhelds.org> | 2005-08-26 22:28:25 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-26 22:28:25 +0000 |
commit | e9daf28095c82eb3f5e5b0732034928d5ea0720e (patch) | |
tree | ee4ab12015e3653b958476e43fda5b0735d6d643 /packages/addons | |
parent | c6e84a3d8fd3f8047ff2079df7861ccd62985fe3 (diff) |
devshell: add some alias magic.
Diffstat (limited to 'packages/addons')
-rw-r--r-- | packages/addons/devshell.bb | 4 |
1 files changed, 4 insertions, 0 deletions
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 <rw@handhelds.org>" +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 |