[Buildroot] [PATCH] small patches (was: skeleton patch)

Roberto A. Foglietta roberto.foglietta at gmail.com
Wed Nov 19 12:21:48 UTC 2008


2008/11/18 Roberto A. Foglietta <roberto.foglietta at gmail.com>:
> Hi
>
>  a) mkdir -p does not hurt but probably it is optional
>  b) s,cp -a,cp -af, because overwriting is necessary
>
> --- package/freetype/freetype.mk        (revision 24038)
> +++ package/freetype/freetype.mk        (working copy)
> @@ -15,7 +15,8 @@
>  $(eval $(call AUTOTARGETS,package,freetype))
>
>  $(FREETYPE_HOOK_POST_BUILD):
> -       -cp -a $(FREETYPE_DIR)/objs/.libs/libfreetype.so* $(TARGET_DIR)/usr/lib/
> +       mkdir -p $(TARGET_DIR)/usr/lib
> +       cp -af $(FREETYPE_DIR)/objs/.libs/libfreetype.so* $(TARGET_DIR)/usr/lib
>        $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libfreetype.so
>        $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g"
> $(FREETYPE_DIR)/builds/unix/freetype-config
>        $(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g"
> $(FREETYPE_DIR)/builds/unix/freetype-config
>

 Patch attached

-- 
/roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetype.patch
Type: text/x-diff
Size: 765 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20081119/b7a00375/attachment-0002.patch>


More information about the buildroot mailing list