[#5438] Pictureflow can not be cleaned after "make clean" in uclinux-dist and it cause build failure for next build
Submitted By: Vivi Li
2009-08-13 18:04:31 Close Date
Closed Fixed In Release:
Found In Release:
Make Errors Board:
ALL Silicon Revision:
Is this bug repeatable?:
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
Summary: Pictureflow can not be cleaned after "make clean" in uclinux-dist and it cause build failure for next build
Pictureflow can not be cleaned after "make clean" in uclinux-dist. Then it will fail to build when it is not completely cleaned.
test@uboot30-527ezkit:~/work/cruise/checkouts/uclinux-dist> ls user/pictureflow/pictureflow-0.1.0/pictureflow-qt/
main.cpp Makefile moc_pictureflow.o pictureflow.cpp pictureflow.o
main.o moc_pictureflow.cpp pictureflow pictureflow.h pictureflow.pro
test@uboot30-527ezkit:~/work/cruise/checkouts/uclinux-dist> make user/pictureflow_only
make: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user'
touch pictureflow/.sgbuilt_user && make -C pictureflow -j1
make: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/pictureflow'
make -C pictureflow-0.1.0/pictureflow-qt
make: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'
make: Nothing to be done for `first'.
make: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/pictureflow/pictureflow-0.1.0/pictureflow-qt'
make: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/pictureflow'
make: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user'
--- Sonic Zhang 2010-06-29 06:49:17
Make clean against the pictureflow can succeed only when QT is built and
installed into staging folder properly. If the staging folder was removed
manually, pictureflow binaries have to be removed manually.
--- Sonic Zhang 2010-06-29 06:50:22
pictureflow Makefile depends on
--- Mike Frysinger 2010-06-29 15:20:29
how about we use a separate build with OBJECTS_DIR=... ? then the clean target
can simply be `rm -rf` on the build dir.
maybe something like:
cd $(VER)/pictureflow-qt && $(QMAKE) OBJECTS_DIR=$(PWD)/build
--- Sonic Zhang 2010-06-29 23:59:25
Yes, it can be. But, it is not a worse option to just do manual remove.
--- Mike Frysinger 2010-07-02 13:03:30
building out of the source tree is highly preferred because it keeps the
compiled code cleanly separated from the source and it makes the 'clean' target
trivial. it is a lot faster to run `rm -rf` on a dir than to process even more
makefiles in subdirs. and it's guaranteed to clean things where the makefile
often misses a few places.
--- Sonic Zhang 2011-09-05 04:14:40
No plan to update the Makefile for uClinux-dist.
--- Vivi Li 2011-09-13 03:51:02
So workaround in script.
File Name File Type File Size Posted By
No Files Were Found