All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/qtopia4
Date: Wed, 12 Mar 2008 18:26:09 +0000	[thread overview]
Message-ID: <47D82041.2060309@carallon.com> (raw)
In-Reply-To: <20080312135303.CCD1B120150@busybox.net>

ninevoltz at uclibc.org wrote:
> Modified: trunk/buildroot/package/qtopia4/qtopia4.mk
> ===================================================================
> --- trunk/buildroot/package/qtopia4/qtopia4.mk	2008-03-12 13:11:29 UTC (rev 21314)
> +++ trunk/buildroot/package/qtopia4/qtopia4.mk	2008-03-12 13:53:02 UTC (rev 21315)

snip

>  
> -$(QTOPIA4_TARGET_DIR)/.installed: $(QTOPIA4_TARGET_DIR)/.built
> +$(STAGING_DIR)/usr/lib/libQtCore.la: $(QTOPIA4_TARGET_DIR)/.compiled
> +	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(QTOPIA4_TARGET_DIR) install

Doing a make install seems rather over the top. I don't need all the 
docs copied into the staging dir for a start. Why do the install at all, 
qtopia4 worked fine before when just copying the needed parts to the 
TARGET_DIR

A possible improvement might be to do install_subtargets instead.

> +
> +$(TARGET_DIR)/usr/lib/libQtCore.so.4: $(STAGING_DIR)/usr/lib/libQtCore.la
>  	mkdir -p $(TARGET_DIR)/usr/lib/fonts
>  	touch $(TARGET_DIR)/usr/lib/fonts/fontdir
> -	cp -dpf $(QTOPIA4_TARGET_DIR)/lib/fonts/helvetica*.qpf $(TARGET_DIR)/usr/lib/fonts
> -	cp -dpf $(QTOPIA4_TARGET_DIR)/lib/fonts/fixed*.qpf $(TARGET_DIR)/usr/lib/fonts
> -	cp -dpf $(QTOPIA4_TARGET_DIR)/lib/fonts/micro*.qpf $(TARGET_DIR)/usr/lib/fonts
> +	cp -dpf $(STAGING_DIR)/usr/lib/fonts/helvetica*.qpf $(TARGET_DIR)/usr/lib/fonts
> +	cp -dpf $(STAGING_DIR)/usr/lib/fonts/fixed*.qpf $(TARGET_DIR)/usr/lib/fonts
> +	cp -dpf $(STAGING_DIR)/usr/lib/fonts/micro*.qpf $(TARGET_DIR)/usr/lib/fonts
>  ifeq ($(BR2_PACKAGE_QTOPIA4_SHARED),y)
> -	cp -dpf $(QTOPIA4_TARGET_DIR)/lib/libQt*.so.* $(TARGET_DIR)/usr/lib/
> -	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libQt*.so.$(QTOPIA4_VERSION)
> +	cp -dpf $(STAGING_DIR)/usr/lib/libQt*.so.* $(TARGET_DIR)/usr/lib/
> +	-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libQt*.so.*

Why did you change this from $(STRIPCMD) $(STRIP_STRIP_UNNEEDED)?

$(STRIP) --strip-unneeded fails on my target (arm) as STRIP not defined.

>  endif
>  	# Install image plugins if they are built
> -	if [ -d $(QTOPIA4_TARGET_DIR)/plugins/imageformats ]; then \
> -		mkdir -p $(TARGET_DIR)/usr/lib/qt4/plugins; \
> -		cp -dpfr $(QTOPIA4_TARGET_DIR)/plugins/imageformats $(TARGET_DIR)/usr/lib/qt4/plugins; \
> -		$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/qt4/plugins/imageformats/*; \
> +	if [ -d $(STAGING_DIR)/usr/plugins/imageformats ]; then \
> +		mkdir -p $(TARGET_DIR)/usr/plugins; \
> +		cp -dpfr $(STAGING_DIR)/usr/plugins/imageformats $(TARGET_DIR)/usr/plugins/; \
> +		$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/plugins/imageformats/*; \
>  	fi
> +ifneq ($(BR2_PACKAGE_QTOPIA4_SQL),y)
>  	# Remove Sql libraries, not needed
>  	-rm $(TARGET_DIR)/usr/lib/libQtSql*
> +endif
>  	# Remove Svg libraries, not needed
>  	-rm $(TARGET_DIR)/usr/lib/libQtSvg*
> -	touch $@
>  
> +qtopia4: uclibc zlib $(QTOPIA4_DEP_LIBS) $(TARGET_DIR)/usr/lib/libQtCore.so.4
>  
> -qtopia4: uclibc zlib $(QTOPIA4_DEP_LIBS) $(QTOPIA4_TARGET_DIR)/.installed
> -
>  qtopia4-clean:
>  	-$(MAKE) -C $(QTOPIA4_TARGET_DIR) clean
>  
> 
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

  parent reply	other threads:[~2008-03-12 18:26 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12 13:53 [Buildroot] svn commit: trunk/buildroot/package/qtopia4 ninevoltz at uclibc.org
2008-03-12 14:20 ` Peter Korsgaard
2008-03-12 15:18   ` Thomas Petazzoni
2008-03-12 18:26 ` Will Wagner [this message]
2008-03-13  6:25   ` Hans-Christian Egtvedt
2008-03-12 18:44 ` Will Wagner
2008-03-12 18:55   ` John Voltz
2008-03-13  6:26   ` Hans-Christian Egtvedt
2008-03-13 10:38     ` Will Wagner
2008-03-13 11:21       ` Hans-Christian Egtvedt
2008-03-13 11:27         ` Will Wagner
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 15:35 jacmet at uclibc.org
2009-01-25 20:19 jacmet at uclibc.org
2008-12-08 18:00 egtvedt at uclibc.org
2008-12-04 16:50 egtvedt at uclibc.org
2008-12-01 13:06 egtvedt at uclibc.org
2008-12-01 13:08 ` Thomas Petazzoni
2008-12-01 13:12   ` Hans-Christian Egtvedt
2008-12-01 13:19     ` Thomas Petazzoni
2008-12-01 13:25       ` Hans-Christian Egtvedt
2008-12-01 13:39         ` Thomas Petazzoni
2008-12-01 13:43           ` Hans-Christian Egtvedt
2008-11-11 18:35 tpetazzoni at uclibc.org
2008-11-02  2:16 antab at uclibc.org
2008-11-02 14:14 ` Markus Heidelberg
2008-11-02 20:22   ` Peter Korsgaard
2008-10-31 17:17 antab at uclibc.org
2008-11-01 11:47 ` Markus Heidelberg
2008-11-01 13:46   ` Arnar Mar Sigurðsson
2008-11-01 17:42     ` Thiago A. Corrêa
2008-11-01 19:15     ` Markus Heidelberg
2008-11-02 20:19     ` Peter Korsgaard
2008-10-31  2:17 correa at uclibc.org
2008-10-29 20:40 jacmet at uclibc.org
2008-10-28  9:40 jacmet at uclibc.org
2008-10-28  9:40 jacmet at uclibc.org
2008-10-29 14:11 ` Arnar Mar Sigurðsson
2008-10-29 15:21   ` Peter Korsgaard
2008-10-29 16:01     ` Thiago A. Corrêa
2008-10-29 16:36       ` Arnar Mar Sigurðsson
2008-10-29 18:02     ` Markus Heidelberg
2008-10-26  6:03 jacmet at uclibc.org
2008-09-29 16:27 egtvedt at uclibc.org
2008-09-03  3:44 correa at uclibc.org
2008-09-03  1:09 correa at uclibc.org
2008-08-27 20:19 jacmet at uclibc.org
2008-06-28  3:55 correa at uclibc.org
2008-06-28  3:22 correa at uclibc.org
2008-05-21  5:52 ulf at uclibc.org
2008-05-21  5:48 ulf at uclibc.org
2008-05-11  6:45 ulf at uclibc.org
2008-04-25 11:45 ninevoltz at uclibc.org
2008-04-24 18:44 ninevoltz at uclibc.org
2008-04-24 19:04 ` Peter Korsgaard
2008-04-24 19:30   ` John Voltz
2008-04-24 19:47     ` Peter Korsgaard
2008-04-24 20:27       ` Thiago A. Corrêa
2008-04-25  7:23 ` Hans-Christian Egtvedt
2008-04-25 13:31   ` Thiago A. Corrêa
2008-04-25 13:45     ` Peter Korsgaard
2008-04-23 15:27 jacmet at uclibc.org
2008-03-06 18:22 ninevoltz at uclibc.org
2008-01-25 10:20 thomasez at uclibc.org
2007-12-18 15:12 vanokuten at uclibc.org
2007-09-26 10:23 ulf at uclibc.org
2007-09-26 11:07 ` Peter Korsgaard
2007-09-26 11:30   ` Ulf Samuelsson
2007-09-26 11:48     ` Peter Korsgaard
2007-09-26 18:27 ` rafael2k
2007-09-23 16:29 ulf at uclibc.org
2007-08-28 23:06 ulf at uclibc.org
2007-08-22 19:31 aldot at uclibc.org
2007-08-21  8:31 aldot at uclibc.org
2007-07-28 17:26 ulf at uclibc.org
2007-07-28 15:41 ulf at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47D82041.2060309@carallon.com \
    --to=will_wagner@carallon.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.