Skip to contentSkip to conversation

libQt3Support.so missing in image on target

Buildroot Karl Krach 1 participant 1 message Jul 9, 2010 Kbuild

lore
Share & tools
lore

Karl Krach

author
#0 lore raw
Quoted 10 lines · Peter Korsgaard

Karl> Second, I run from time to time in the problem, that I Karl> remove the build
Karl> directory on reconfigure/recompile but not the libraries Karl> from the STATING_DIR
Karl> - this would be a tiny (but nice) feature.

Karl> Thanks a lot,

Isn't that what the qt-clean target is for? What is the use case exactly?

No, the clean just cleans the build directory. But a target qt-uninstall would be nice - it would remove all libraries, header files etc. from the staging_dir (toolchain dir). This would be a better idea, than my previous patch - in the case that we document it :)

Makefile renamed from Makefile_original +2 -1
@@ -324,6 +324,7 @@
 
 TARGETS+=erase-fakeroots
 
+TARGETS_UNINSTALL:=$(patsubst %,%-uninstall,$(TARGETS))
 TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
 TARGETS_SOURCE:=$(patsubst %,%-source,$(TARGETS) $(BASE_TARGETS))
 TARGETS_DIRCLEAN:=$(patsubst %,%-dirclean,$(TARGETS))
@@ -346,7 +347,7 @@
 
 .PHONY: all world dirs clean distclean source \
 	$(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \
-	$(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) \
+	$(TARGETS_UNINSTALL) $(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE)
\
 	$(DL_DIR) $(TOOLCHAIN_DIR) $(BUILD_DIR) $(STAGING_DIR) $(TARGET_DIR) \
 	$(HOST_DIR) $(BR2_DEPENDS_DIR) $(BINARIES_DIR) $(STAMP_DIR)
 
@@ -601,6 +602,8 @@
 	@echo 'Cleaning:'
 	@echo '  clean                  - delete all files created by build'
 	@echo '  distclean              - delete all non-source files (including

.config)'
+ @echo ' <package>-clean - delete all files created by build of
<package>'
+ @echo ' <package>-uninstall - remove installation files of <package>'
@echo
@echo 'Build:'
@echo ' all - make world'