* [PATCH 0/4] Misc tidy-ups
@ 2012-02-14 13:22 Paul Eggleton
2012-02-14 13:22 ` [PATCH 1/4] scripts/bitbake: pass through debug options to initial pseudo build Paul Eggleton
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Paul Eggleton @ 2012-02-14 13:22 UTC (permalink / raw)
To: openembedded-core
The following changes since commit e5ad03093dfc4364d1407183f458df79f347c7a1:
guile: fix cross configure failure (2012-02-10 13:38:16 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/fixes12
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/fixes12
Paul Eggleton (4):
scripts/bitbake: pass through debug options to initial pseudo build
conf/bitbake.conf: remove Opie definitions
classes/sdl: remove Opie-specific desktop file/packaging
stat: remove NATIVE_INSTALL_WORKS
meta/classes/sdl.bbclass | 38 --------------------------------
meta/conf/bitbake.conf | 10 --------
meta/recipes-extended/stat/stat_3.3.bb | 1 -
scripts/bitbake | 14 +++++++++++-
4 files changed, 13 insertions(+), 50 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/4] scripts/bitbake: pass through debug options to initial pseudo build
2012-02-14 13:22 [PATCH 0/4] Misc tidy-ups Paul Eggleton
@ 2012-02-14 13:22 ` Paul Eggleton
2012-02-14 13:22 ` [PATCH 2/4] conf/bitbake.conf: remove Opie definitions Paul Eggleton
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2012-02-14 13:22 UTC (permalink / raw)
To: openembedded-core
If you specify -D or -v options to the bitbake wrapper script, and the
initial pseudo build needs to be done, it's useful to pass these
options through to that command so that you can debug the initial
pseudo build as well.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
scripts/bitbake | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/scripts/bitbake b/scripts/bitbake
index 1c8d4eb..dda3b26 100755
--- a/scripts/bitbake
+++ b/scripts/bitbake
@@ -4,6 +4,7 @@ export BBFETCH2=True
export BB_ENV_EXTRAWHITE="PSEUDO_BUILD PSEUDO_DISABLED $BB_ENV_EXTRAWHITE"
NO_BUILD_OPTS="--version -h --help -p --parse-only -s --show-versions -e --environment -g --graphviz"
+PASSTHROUGH_OPTS="-D -DD -DDD -DDDD -v"
needpseudo="1"
for opt in $@; do
for key in $NO_BUILD_OPTS; do
@@ -69,7 +70,18 @@ if [ $buildpseudo = "1" ]; then
if [ $needtar = "0" ]; then
TARTARGET=""
fi
- bitbake pseudo-native $TARTARGET -c populate_sysroot
+ # Pass through debug options
+ additionalopts=""
+ for opt in $@; do
+ for key in $PASSTHROUGH_OPTS; do
+ if [ $opt = $key ]
+ then
+ additionalopts="$additionalopts $opt"
+ break
+ fi
+ done
+ done
+ bitbake pseudo-native $TARTARGET $additionalopts -c populate_sysroot
ret=$?
if [ "$ret" != "0" ]; then
exit 1
--
1.7.5.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/4] conf/bitbake.conf: remove Opie definitions
2012-02-14 13:22 [PATCH 0/4] Misc tidy-ups Paul Eggleton
2012-02-14 13:22 ` [PATCH 1/4] scripts/bitbake: pass through debug options to initial pseudo build Paul Eggleton
@ 2012-02-14 13:22 ` Paul Eggleton
2012-02-14 13:22 ` [PATCH 3/4] classes/sdl: remove Opie-specific desktop file/packaging Paul Eggleton
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2012-02-14 13:22 UTC (permalink / raw)
To: openembedded-core
These values are now set via palmtop-defs.bbclass in meta-opie (and are
not needed for anything else.)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/conf/bitbake.conf | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2cc4b8f..90e5f7a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -520,16 +520,6 @@ BOOTSTRAP_EXTRA_RDEPENDS = ""
BOOTSTRAP_EXTRA_RRECOMMENDS = ""
##################################################################
-# Palmtop stuff.
-##################################################################
-
-export QTDIR = "${STAGING_DIR_HOST}/qt2"
-export QPEDIR = "${STAGING_DIR_HOST}"
-export OPIEDIR = "${STAGING_DIR_HOST}"
-export palmtopdir = "${libdir}/opie"
-export palmqtdir = "${palmtopdir}"
-
-##################################################################
# Download locations and utilities.
##################################################################
--
1.7.5.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/4] classes/sdl: remove Opie-specific desktop file/packaging
2012-02-14 13:22 [PATCH 0/4] Misc tidy-ups Paul Eggleton
2012-02-14 13:22 ` [PATCH 1/4] scripts/bitbake: pass through debug options to initial pseudo build Paul Eggleton
2012-02-14 13:22 ` [PATCH 2/4] conf/bitbake.conf: remove Opie definitions Paul Eggleton
@ 2012-02-14 13:22 ` Paul Eggleton
2012-02-14 13:22 ` [PATCH 4/4] stat: remove NATIVE_INSTALL_WORKS Paul Eggleton
2012-02-21 14:58 ` [PATCH 0/4] Misc tidy-ups Richard Purdie
4 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2012-02-14 13:22 UTC (permalink / raw)
To: openembedded-core
This code will not work without palmtopdir being defined, and is better
kept in meta-opie in any case (where we already have the OE-Classic
version of this class).
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/classes/sdl.bbclass | 38 --------------------------------------
1 files changed, 0 insertions(+), 38 deletions(-)
diff --git a/meta/classes/sdl.bbclass b/meta/classes/sdl.bbclass
index a412ccb..cc31288 100644
--- a/meta/classes/sdl.bbclass
+++ b/meta/classes/sdl.bbclass
@@ -3,42 +3,4 @@
#
DEPENDS += "virtual/libsdl libsdl-mixer libsdl-image"
-
-APPDESKTOP ?= "${PN}.desktop"
-APPNAME ?= "${PN}"
-APPIMAGE ?= "${PN}.png"
-
-sdl_do_sdl_install() {
- install -d ${D}${palmtopdir}/bin
- install -d ${D}${palmtopdir}/pics
- install -d ${D}${palmtopdir}/apps/Games
- ln -sf ${bindir}/${APPNAME} ${D}${palmtopdir}/bin/${APPNAME}
- install -m 0644 ${APPIMAGE} ${D}${palmtopdir}/pics/${PN}.png
-
- if [ -e "${APPDESKTOP}" ]
- then
- echo ${APPDESKTOP} present, installing to palmtopdir...
- install -m 0644 ${APPDESKTOP} ${D}${palmtopdir}/apps/Games/${PN}.desktop
- else
- echo ${APPDESKTOP} not present, creating one on-the-fly...
- cat >${D}${palmtopdir}/apps/Games/${PN}.desktop <<EOF
-[Desktop Entry]
-Note=Auto Generated... this may be not what you want
-Comment=${DESCRIPTION}
-Exec=${APPNAME}
-Icon=${PN}.png
-Type=Application
-Name=${PN}
-EOF
- fi
-}
-
-EXPORT_FUNCTIONS do_sdl_install
-addtask sdl_install after do_compile before do_populate_sysroot
-
SECTION = "x11/games"
-SECTION_${PN}-opie = "opie/games"
-
-PACKAGES += "${PN}-opie"
-RDEPENDS_${PN}-opie += "${PN}"
-FILES_${PN}-opie = "${palmtopdir}"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/4] stat: remove NATIVE_INSTALL_WORKS
2012-02-14 13:22 [PATCH 0/4] Misc tidy-ups Paul Eggleton
` (2 preceding siblings ...)
2012-02-14 13:22 ` [PATCH 3/4] classes/sdl: remove Opie-specific desktop file/packaging Paul Eggleton
@ 2012-02-14 13:22 ` Paul Eggleton
2012-02-21 14:58 ` [PATCH 0/4] Misc tidy-ups Richard Purdie
4 siblings, 0 replies; 6+ messages in thread
From: Paul Eggleton @ 2012-02-14 13:22 UTC (permalink / raw)
To: openembedded-core
This variable is no longer used in OE-Core.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
meta/recipes-extended/stat/stat_3.3.bb | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-extended/stat/stat_3.3.bb b/meta/recipes-extended/stat/stat_3.3.bb
index 0c38742..b7666f0 100644
--- a/meta/recipes-extended/stat/stat_3.3.bb
+++ b/meta/recipes-extended/stat/stat_3.3.bb
@@ -23,4 +23,3 @@ do_install() {
# install -m 755 stat ${D}${bindir}
#}
-NATIVE_INSTALL_WORKS = "1"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 0/4] Misc tidy-ups
2012-02-14 13:22 [PATCH 0/4] Misc tidy-ups Paul Eggleton
` (3 preceding siblings ...)
2012-02-14 13:22 ` [PATCH 4/4] stat: remove NATIVE_INSTALL_WORKS Paul Eggleton
@ 2012-02-21 14:58 ` Richard Purdie
4 siblings, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2012-02-21 14:58 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, 2012-02-14 at 13:22 +0000, Paul Eggleton wrote:
> The following changes since commit e5ad03093dfc4364d1407183f458df79f347c7a1:
>
> guile: fix cross configure failure (2012-02-10 13:38:16 +0000)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib paule/fixes12
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/fixes12
>
> Paul Eggleton (4):
> scripts/bitbake: pass through debug options to initial pseudo build
> conf/bitbake.conf: remove Opie definitions
> classes/sdl: remove Opie-specific desktop file/packaging
> stat: remove NATIVE_INSTALL_WORKS
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-02-21 15:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14 13:22 [PATCH 0/4] Misc tidy-ups Paul Eggleton
2012-02-14 13:22 ` [PATCH 1/4] scripts/bitbake: pass through debug options to initial pseudo build Paul Eggleton
2012-02-14 13:22 ` [PATCH 2/4] conf/bitbake.conf: remove Opie definitions Paul Eggleton
2012-02-14 13:22 ` [PATCH 3/4] classes/sdl: remove Opie-specific desktop file/packaging Paul Eggleton
2012-02-14 13:22 ` [PATCH 4/4] stat: remove NATIVE_INSTALL_WORKS Paul Eggleton
2012-02-21 14:58 ` [PATCH 0/4] Misc tidy-ups Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox