[Buildroot] missing expat-dirclean target

Bernhard Fischer rep.dot.nop at gmail.com
Sun Jul 8 12:18:22 UTC 2007


On Sun, Jul 08, 2007 at 02:09:11PM +0200, Cristian Ionescu-Idbohrn wrote:
>Index: expat.mk
>===================================================================
>--- expat.mk	(revision 19026)
>+++ expat.mk	(working copy)
>@@ -70,6 +70,9 @@
> 	#rm -f $(STAGING_DIR)/usr/bin/xmlwf  $(TARGET_DIR)/usr/bin/xmlwf

the clean target must wipe installed stuff from the staging-dir. Please
fix this, too.

> 	-$(MAKE) -C $(EXPAT_DIR) clean
>
>+expat-dirclean:
>+	rm -rf $(EXPAT_DIR)
>+
> #############################################################
> #
> # Toplevel Makefile options

this package uses wrong installation pathes, please fix and test while
you're at it (i don't use it):

                --includedir=/include \
is wrong, whould be /usr/include. Most of these pathes are not needed,
just --prefix=/usr should be enough.



More information about the buildroot mailing list