libQt3Support.so missing in image on target
Hello,
I would like to commit two patches. First, if you install qt3support the libQt3Support.so is only installed to the STAGING_DIR but missing in the TARGET_DIR - thus on the target.
Second, I run from time to time in the problem, that I remove the build directory on reconfigure/recompile but not the libraries from the STATING_DIR
- this would be a tiny (but nice) feature.
Thanks a lot,
Karl
qt/qt.mk_qt3support renamed from qt/qt.mk_original +7 -0
@@ -418,6 +418,9 @@ ifeq ($(BR2_PACKAGE_QT_SCRIPTTOOLS),y) QT_LIBS+= qt-scripttools endif +ifeq ($(BR2_PACKAGE_QT_QT3SUPPORT),y) +QT_LIBS+= qt-qt3support +endif QT_QMAKE_CONF:=$(QT_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QT_EMB_PLATFORM)-g++/qmake.conf
@@ -597,6 +600,10 @@ cp -dpf $(STAGING_DIR)/usr/lib/libQtScriptTools.so.* $(TARGET_DIR)/usr/lib/ endif +qt-qt3support: $(STAGING_DIR)/usr/lib/libQtCore.la +ifeq ($(BR2_PACKAGE_QT_SHARED),y) + cp -dpf $(STAGING_DIR)/usr/lib/libQt3Support.so.* $(TARGET_DIR)/usr/lib/ +endif $(TARGET_DIR)/usr/lib/libQtCore.so.4: $(STAGING_DIR)/usr/lib/libQtCore.la
$(QT_LIBS)
# Strip all installed libs
qt/qt.mk_recompile renamed from qt/qt.mk_qt3support +1 -0
@@ -520,6 +520,7 @@ -nomake demos \ ) touch $@ + rm -rf $(STAGING_DIR)/usr/lib/libQt* $(QT_TARGET_DIR)/.compiled: $(QT_TARGET_DIR)/.configured $(MAKE) -C $(QT_TARGET_DIR)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Karl" == Karl Krach <[email protected]> writes:
Karl> Hello,
Karl> I would like to commit two patches. First, if you install qt3support the Karl> libQt3Support.so is only installed to the STAGING_DIR but missing in the Karl> TARGET_DIR - thus on the target.
Committed, thanks.
Karl> Second, I run from time to time in the problem, that I remove the build Karl> directory on reconfigure/recompile but not the libraries 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?
Karl> --- package/qt/qt.mk_qt3support 2010-07-09 14:24:02.000000000 +0200
Karl> +++ package/qt/qt.mk_recompile 2010-07-09 14:26:09.000000000 +0200
Karl> @@ -520,6 +520,7 @@
Karl> -nomake demos \ Karl> ) Karl> touch $@
Karl> + rm -rf $(STAGING_DIR)/usr/lib/libQt*
What about the header files?
Signature · 1 line
Bye, Peter Korsgaard