[Buildroot] [PATCH] package/gcnano-binaries: bump version to 4.3.7

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jun 8 14:34:12 UTC 2022


On Wed, 8 Jun 2022 15:46:09 +0200
Köry Maincent <kory.maincent at bootlin.com> wrote:

> > > +	cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/release/include/*
> > > $(1)/usr/include/
> > > +	ln -s gbm/gbm.h $(1)/usr/include/gbm.h
> > > +	cd $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/pkgconfig/ ; \
> > > +	for file in * ; do \
> > > +		sed -e "s|#PREFIX#|/usr|" $$file > $$file.temp ; \
> > > +		$(INSTALL) -D -m 0644 $$file.temp
> > > $(1)/usr/lib/pkgconfig/$$file ; \
> > > +		rm $$file.temp ; \    
> > 
> > I'd say you can leave the $$file.tmp around in the build directory, it
> > will not cause any problem.  
> 
> It does, in the case we call the reinstall task, these temp files will be added
> to the for loop.

Change the for loop to:

	for file in *.pc; do

and problem solved.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list