On Sat, Jan 13, 2007 at 05:08:08PM +0100, [EMAIL PROTECTED] wrote:
> Modified: branches/common-adk/freewrt/mk/pkg-bottom.mk
> ===================================================================
> --- branches/common-adk/freewrt/mk/pkg-bottom.mk      2007-01-13 16:03:48 UTC 
> (rev 1578)
> +++ branches/common-adk/freewrt/mk/pkg-bottom.mk      2007-01-13 16:07:56 UTC 
> (rev 1579)
> @@ -114,7 +116,7 @@
>       fi
>       @rm -f '${STAGING_DIR}/pkg/${PKG_NAME}'
>       @cd ${WRKINST}; \
> -         find lib usr ! -type d 2>/dev/null | \
> +         find usr ! -type d 2>/dev/null | \
>           grep -v -e '^usr/share' -e '^usr/man' -e '^usr/info' | \
>           tee '${STAGING_DIR}/pkg/${PKG_NAME}' | \
>           cpio -apdlmu '${STAGING_DIR}'

This excludes ${WRKINST}/lib from being searched for possible files that
should be removed from ${STAGING_DIR} if 'make clean' is run for the
package. This caused problems with packages for parts of uclibc, e.g.
libpthread. They just copy the needed libs from ${STAGING_DIR}, and if
they are recorded as usual, these libs are removed from ${STAGING_DIR}
at 'make clean', although they actually weren't built by the package.

Greetings, Phil

_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to