[Buildroot] Customize package makefile seems broken

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jan 8 07:59:11 UTC 2010


Le Thu, 7 Jan 2010 21:22:42 +0000 (UTC),
Grant Edwards <grant.b.edwards at gmail.com> a écrit :

> I haven't figured out why two of the 6 files aren't getting copied,
> but the mislocation appears to be due to a bug in customize.mk:

Because *.a files are removed from $(TARGET_DIR) as a final cleanup.

See target-finalize: in the main Makefile:

target-finalize:
ifeq ($(BR2_HAVE_DEVFILES),y)
        ( scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
else
        rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig
        find $(TARGET_DIR)/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
        find $(TARGET_DIR)/usr/lib \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f
endif

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list