Skip to contentSkip to conversation

"make distclean" leaves a pile of arch/arm/dts/*.lzo files

DISCUSSION Robert P. J. Day 2 participants 3 messages Dec 10, 2015 – Dec 11, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

just did a configure and build for a beaglebone black, then ran
"make distclean" and ...

$ git status --ignored
On branch master
Your branch is up-to-date with 'origin/master'.
Ignored files:
  (use "git add -f <file>..." to include in what will be committed)
	arch/arm/dts/am335x-afi-gf.dtb.lzo
	arch/arm/dts/am335x-bone-common.dtb.lzo
	arch/arm/dts/am335x-bone.dtb.lzo
	arch/arm/dts/am335x-boneblack.dtb.lzo
	arch/arm/dts/am335x-phytec-phycard-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phycard-som.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-no-eeprom.dtb.lzo
        arch/arm/dts/am335x-phytec-phycore-som-no-spi-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-no-spi.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-spi-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-spi.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som.dtb.lzo
	barebox-flash-images

nothing to commit, working directory clean
$

so i'm guessing building for other targets will also leave .lzo
files lying around.

rday

Signature · 13 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

Hi Robert,

Quoted 28 lines · Robert P. J. Day

just did a configure and build for a beaglebone black, then ran
"make distclean" and ...

$ git status --ignored
On branch master
Your branch is up-to-date with 'origin/master'.
Ignored files:
  (use "git add -f <file>..." to include in what will be committed)
	arch/arm/dts/am335x-afi-gf.dtb.lzo
	arch/arm/dts/am335x-bone-common.dtb.lzo
	arch/arm/dts/am335x-bone.dtb.lzo
	arch/arm/dts/am335x-boneblack.dtb.lzo
	arch/arm/dts/am335x-phytec-phycard-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phycard-som.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-no-eeprom.dtb.lzo
        arch/arm/dts/am335x-phytec-phycore-som-no-spi-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-no-spi.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-spi-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-spi.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som.dtb.lzo
	barebox-flash-images
Quoted 5 lines

nothing to commit, working directory clean
$

so i'm guessing building for other targets will also leave .lzo
files lying around.

Added the following patch, this should fix this issue. Thanks for noting.

Sascha

---------------------------8<-------------------------------

From a9e7e68279de3aec38b038211a15a80cfc612c4e Mon Sep 17 00:00:00 2001
From: Sascha Hauer <[email protected]>
Date: Fri, 11 Dec 2015 08:02:02 +0100
Subject: [PATCH] ARM: dts: Add *.dtb.lzo to clean files

*.dtb.lzo are generated during compilatiion, delete them.

---
 arch/arm/dts/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/Makefile +1 -1
index 49a2f99..2da930e 100644
@@ -71,4 +71,4 @@ pbl-dtb-$(CONFIG_MACH_UDOO) += imx6q-udoo.dtb.o
 pbl-dtb-$(CONFIG_MACH_USI_TOPKICK) += kirkwood-topkick-bb.dtb.o
 pbl-dtb-$(CONFIG_MACH_VARISCITE_MX6) += imx6q-var-custom.dtb.o
 
-clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.lzo
Signature · 12 lines
2.6.2

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 31 lines · Sascha Hauer

Hi Robert,

Quoted 28 lines · Robert P. J. Day

just did a configure and build for a beaglebone black, then ran
"make distclean" and ...

$ git status --ignored
On branch master
Your branch is up-to-date with 'origin/master'.
Ignored files:
  (use "git add -f <file>..." to include in what will be committed)
	arch/arm/dts/am335x-afi-gf.dtb.lzo
	arch/arm/dts/am335x-bone-common.dtb.lzo
	arch/arm/dts/am335x-bone.dtb.lzo
	arch/arm/dts/am335x-boneblack.dtb.lzo
	arch/arm/dts/am335x-phytec-phycard-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phycard-som.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-no-eeprom.dtb.lzo
        arch/arm/dts/am335x-phytec-phycore-som-no-spi-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som-no-spi.dtb.lzo
	arch/arm/dts/am335x-phytec-phycore-som.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-mlo.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-spi-no-eeprom.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som-no-spi.dtb.lzo
	arch/arm/dts/am335x-phytec-phyflex-som.dtb.lzo
	barebox-flash-images
Quoted 8 lines
Quoted 5 lines

nothing to commit, working directory clean
$

so i'm guessing building for other targets will also leave .lzo
files lying around.

Added the following patch, this should fix this issue. Thanks for noting.

what about that last line, "barebox-flash-images"? should that also
be cleaned out?

rday

Signature · 13 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox