mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] remove empty board config.h files
@ 2013-06-23 20:02 Sascha Hauer
  2013-06-23 20:02 ` [PATCH 1/3] ARM: Marvell boards: remove empty " Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sascha Hauer @ 2013-06-23 20:02 UTC (permalink / raw)
  To: barebox

This removes several empty board config.h files. The boards which
do not have a config.h are then added to a newly created
arch/arm/boards/Makefile. This prepares the build system for
multiple board support.

Jean-Christophe, I'd like to get rid of the remaining config.h
files. The bulk of the remaining ones are at91 and most of
them contain a single define for AT91_MAIN_CLK. Could you work
on this? I could do it myself but I'm sure you have your own
idea how this should be accomplished.

Sascha

----------------------------------------------------------------
Sascha Hauer (3):
      ARM: Marvell boards: remove empty config.h files
      ARM: i.MX boards: remove empty config.h files
      ARM: Turn most board directories into regular build directories

 arch/arm/Makefile                                | 78 +++---------------------
 arch/arm/boards/Makefile                         | 68 +++++++++++++++++++++
 arch/arm/boards/eukrea_cpuimx25/config.h         | 23 -------
 arch/arm/boards/eukrea_cpuimx35/config.h         | 19 ------
 arch/arm/boards/freescale-mx25-3-stack/config.h  | 27 --------
 arch/arm/boards/freescale-mx35-3-stack/config.h  | 24 --------
 arch/arm/boards/globalscale-guruplug/config.h    |  4 --
 arch/arm/boards/globalscale-mirabox/config.h     |  4 --
 arch/arm/boards/guf-cupid/config.h               | 27 --------
 arch/arm/boards/karo-tx25/config.h               | 27 --------
 arch/arm/boards/marvell-armada-xp-gp/config.h    |  4 --
 arch/arm/boards/pcm037/config.h                  | 31 ----------
 arch/arm/boards/pcm043/config.h                  | 27 --------
 arch/arm/boards/plathome-openblocks-ax3/config.h |  4 --
 arch/arm/boards/scb9328/config.h                 | 26 --------
 15 files changed, 77 insertions(+), 316 deletions(-)
 create mode 100644 arch/arm/boards/Makefile
 delete mode 100644 arch/arm/boards/eukrea_cpuimx25/config.h
 delete mode 100644 arch/arm/boards/eukrea_cpuimx35/config.h
 delete mode 100644 arch/arm/boards/freescale-mx25-3-stack/config.h
 delete mode 100644 arch/arm/boards/freescale-mx35-3-stack/config.h
 delete mode 100644 arch/arm/boards/globalscale-guruplug/config.h
 delete mode 100644 arch/arm/boards/globalscale-mirabox/config.h
 delete mode 100644 arch/arm/boards/guf-cupid/config.h
 delete mode 100644 arch/arm/boards/karo-tx25/config.h
 delete mode 100644 arch/arm/boards/marvell-armada-xp-gp/config.h
 delete mode 100644 arch/arm/boards/pcm037/config.h
 delete mode 100644 arch/arm/boards/pcm043/config.h
 delete mode 100644 arch/arm/boards/plathome-openblocks-ax3/config.h
 delete mode 100644 arch/arm/boards/scb9328/config.h

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] ARM: Marvell boards: remove empty config.h files
  2013-06-23 20:02 [PATCH] remove empty board config.h files Sascha Hauer
@ 2013-06-23 20:02 ` Sascha Hauer
  2013-06-23 20:02 ` [PATCH 2/3] ARM: i.MX " Sascha Hauer
  2013-06-23 20:02 ` [PATCH 3/3] ARM: Turn most board directories into regular build directories Sascha Hauer
  2 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2013-06-23 20:02 UTC (permalink / raw)
  To: barebox

config.h is automatically generated if not existing, so remove
the empty files.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/globalscale-guruplug/config.h    | 4 ----
 arch/arm/boards/globalscale-mirabox/config.h     | 4 ----
 arch/arm/boards/marvell-armada-xp-gp/config.h    | 4 ----
 arch/arm/boards/plathome-openblocks-ax3/config.h | 4 ----
 4 files changed, 16 deletions(-)
 delete mode 100644 arch/arm/boards/globalscale-guruplug/config.h
 delete mode 100644 arch/arm/boards/globalscale-mirabox/config.h
 delete mode 100644 arch/arm/boards/marvell-armada-xp-gp/config.h
 delete mode 100644 arch/arm/boards/plathome-openblocks-ax3/config.h

diff --git a/arch/arm/boards/globalscale-guruplug/config.h b/arch/arm/boards/globalscale-guruplug/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/globalscale-guruplug/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/globalscale-mirabox/config.h b/arch/arm/boards/globalscale-mirabox/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/globalscale-mirabox/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/marvell-armada-xp-gp/config.h b/arch/arm/boards/marvell-armada-xp-gp/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/marvell-armada-xp-gp/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/plathome-openblocks-ax3/config.h b/arch/arm/boards/plathome-openblocks-ax3/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/plathome-openblocks-ax3/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
-- 
1.8.3.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 2/3] ARM: i.MX boards: remove empty config.h files
  2013-06-23 20:02 [PATCH] remove empty board config.h files Sascha Hauer
  2013-06-23 20:02 ` [PATCH 1/3] ARM: Marvell boards: remove empty " Sascha Hauer
@ 2013-06-23 20:02 ` Sascha Hauer
  2013-06-23 20:02 ` [PATCH 3/3] ARM: Turn most board directories into regular build directories Sascha Hauer
  2 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2013-06-23 20:02 UTC (permalink / raw)
  To: barebox

config.h is automatically generated if not existing, so remove
the empty files and files which only have unused defines.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/eukrea_cpuimx25/config.h        | 23 ------------------
 arch/arm/boards/eukrea_cpuimx35/config.h        | 19 ---------------
 arch/arm/boards/freescale-mx25-3-stack/config.h | 27 ---------------------
 arch/arm/boards/freescale-mx35-3-stack/config.h | 24 -------------------
 arch/arm/boards/guf-cupid/config.h              | 27 ---------------------
 arch/arm/boards/karo-tx25/config.h              | 27 ---------------------
 arch/arm/boards/pcm037/config.h                 | 31 -------------------------
 arch/arm/boards/pcm043/config.h                 | 27 ---------------------
 arch/arm/boards/scb9328/config.h                | 26 ---------------------
 9 files changed, 231 deletions(-)
 delete mode 100644 arch/arm/boards/eukrea_cpuimx25/config.h
 delete mode 100644 arch/arm/boards/eukrea_cpuimx35/config.h
 delete mode 100644 arch/arm/boards/freescale-mx25-3-stack/config.h
 delete mode 100644 arch/arm/boards/freescale-mx35-3-stack/config.h
 delete mode 100644 arch/arm/boards/guf-cupid/config.h
 delete mode 100644 arch/arm/boards/karo-tx25/config.h
 delete mode 100644 arch/arm/boards/pcm037/config.h
 delete mode 100644 arch/arm/boards/pcm043/config.h
 delete mode 100644 arch/arm/boards/scb9328/config.h

diff --git a/arch/arm/boards/eukrea_cpuimx25/config.h b/arch/arm/boards/eukrea_cpuimx25/config.h
deleted file mode 100644
index 12ec627..0000000
--- a/arch/arm/boards/eukrea_cpuimx25/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * (c) 2010 Eukrea Electromatique, Eric Bénard <eric@eukrea.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_MX25_HCLK_FREQ	24000000
-
-#endif
-
-/* nothing to do here yet */
diff --git a/arch/arm/boards/eukrea_cpuimx35/config.h b/arch/arm/boards/eukrea_cpuimx35/config.h
deleted file mode 100644
index 070b314..0000000
--- a/arch/arm/boards/eukrea_cpuimx35/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_MX35_HCLK_FREQ        24000000
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/freescale-mx25-3-stack/config.h b/arch/arm/boards/freescale-mx25-3-stack/config.h
deleted file mode 100644
index f5d05be..0000000
--- a/arch/arm/boards/freescale-mx25-3-stack/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * (C) Copyright 2007 Juergen Beisert <jbe@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * Definitions related to passing arguments to kernel.
- */
-
-#define CONFIG_MX25_HCLK_FREQ	24000000
-
-#endif
-
-/* nothing to do here yet */
diff --git a/arch/arm/boards/freescale-mx35-3-stack/config.h b/arch/arm/boards/freescale-mx35-3-stack/config.h
deleted file mode 100644
index 39832d9..0000000
--- a/arch/arm/boards/freescale-mx35-3-stack/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
- */
-
-/**
- * @file
- * @brief Global defintions for the Freescale i.MX35 3-stack board
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_MX35_HCLK_FREQ        24000000
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/guf-cupid/config.h b/arch/arm/boards/guf-cupid/config.h
deleted file mode 100644
index 501a44d..0000000
--- a/arch/arm/boards/guf-cupid/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * (C) Copyright 2007 Juergen Beisert <jbe@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * Definitions related to passing arguments to kernel.
- */
-
-#define CONFIG_MX35_HCLK_FREQ	24000000
-
-#endif
-
-/* nothing to do here yet */
diff --git a/arch/arm/boards/karo-tx25/config.h b/arch/arm/boards/karo-tx25/config.h
deleted file mode 100644
index 4cbb4f6..0000000
--- a/arch/arm/boards/karo-tx25/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * (C) Copyright 2011 Sascha Hauer <s.hauer@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * Definitions related to passing arguments to kernel.
- */
-
-#define CONFIG_MX25_HCLK_FREQ	24000000
-
-#endif
-
-/* nothing to do here yet */
diff --git a/arch/arm/boards/pcm037/config.h b/arch/arm/boards/pcm037/config.h
deleted file mode 100644
index ca62df6..0000000
--- a/arch/arm/boards/pcm037/config.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * (C) Copyright 2007 Juergen Beisert <jbe@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * Definitions related to passing arguments to kernel.
- */
-
-/* #define CONFIG_SYSPLL_CLK_FREQ	26000000 */
-
-/* FIXME */
-#define CONFIG_MX31_HCLK_FREQ	26000000
-#define CONFIG_MX31_CLK32	32000
-
-#endif
-
-/* nothing to do here yet */
diff --git a/arch/arm/boards/pcm043/config.h b/arch/arm/boards/pcm043/config.h
deleted file mode 100644
index 501a44d..0000000
--- a/arch/arm/boards/pcm043/config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * (C) Copyright 2007 Juergen Beisert <jbe@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * Definitions related to passing arguments to kernel.
- */
-
-#define CONFIG_MX35_HCLK_FREQ	24000000
-
-#endif
-
-/* nothing to do here yet */
diff --git a/arch/arm/boards/scb9328/config.h b/arch/arm/boards/scb9328/config.h
deleted file mode 100644
index e825482..0000000
--- a/arch/arm/boards/scb9328/config.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (C) 2003 ETC s.r.o.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
- * GNU General Public License for more details.
- *
- *
- * Written by Peter Figuli <peposh@etc.sk>, 2003.
- *
- * 2003/13/06 Initial MP10 Support copied from wepep250
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_SYSPLL_CLK_FREQ 16000000
-
-#endif	/* __CONFIG_H */
-
-- 
1.8.3.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 3/3] ARM: Turn most board directories into regular build directories
  2013-06-23 20:02 [PATCH] remove empty board config.h files Sascha Hauer
  2013-06-23 20:02 ` [PATCH 1/3] ARM: Marvell boards: remove empty " Sascha Hauer
  2013-06-23 20:02 ` [PATCH 2/3] ARM: i.MX " Sascha Hauer
@ 2013-06-23 20:02 ` Sascha Hauer
  2013-06-24  8:39   ` Jean-Christophe PLAGNIOL-VILLARD
  2 siblings, 1 reply; 7+ messages in thread
From: Sascha Hauer @ 2013-06-23 20:02 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/Makefile        | 78 ++++++------------------------------------------
 arch/arm/boards/Makefile | 68 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+), 69 deletions(-)
 create mode 100644 arch/arm/boards/Makefile

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 32bdd65..2f0f16e 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -69,13 +69,19 @@ machine-$(CONFIG_ARCH_VEXPRESS)		:= vexpress
 machine-$(CONFIG_ARCH_TEGRA)		:= tegra
 machine-$(CONFIG_ARCH_ZYNQ)		:= zynq
 
+
 # Board directory name.  This list is sorted alphanumerically
 # by CONFIG_* macro name.
-
+#
+# DO NOT ADD NEW ENTRIES TO THIS LIST!
+# Add to arch/arm/boards/Makefile instead.
+#
+# These are here only because they have a board specific config.h.
+# TODO: Get rid of board specific config.h and move these to
+# arch/arm/boards/Makefile aswell.
 board-$(CONFIG_MACH_A9M2410)			+= a9m2410
 board-$(CONFIG_MACH_A9M2440)			+= a9m2440
 board-$(CONFIG_MACH_ANIMEO_IP)			+= animeo_ip
-board-$(CONFIG_MACH_ARCHOSG9)			+= archosg9
 board-$(CONFIG_MACH_AT91RM9200EK)		+= at91rm9200ek
 board-$(CONFIG_MACH_AT91SAM9260EK)		+= at91sam9260ek
 board-$(CONFIG_MACH_AT91SAM9261EK)		+= at91sam9261ek
@@ -86,93 +92,27 @@ board-$(CONFIG_MACH_AT91SAM9M10G45EK)		+= at91sam9m10g45ek
 board-$(CONFIG_MACH_AT91SAM9M10IHD)		+= at91sam9m10ihd
 board-$(CONFIG_MACH_AT91SAM9N12EK)		+= at91sam9n12ek
 board-$(CONFIG_MACH_AT91SAM9X5EK)		+= at91sam9x5ek
-board-$(CONFIG_MACH_BEAGLE)			+= beagle
-board-$(CONFIG_MACH_BEAGLEBONE)			+= beaglebone
-board-$(CONFIG_MACH_CCMX51)			+= ccxmx51
-board-$(CONFIG_MACH_CFA10036)			+= crystalfontz-cfa10036
-board-$(CONFIG_MACH_CHUMBY)			+= chumby_falconwing
-board-$(CONFIG_MACH_CLEP7212)			+= clep7212
 board-$(CONFIG_MACH_DSS11)			+= dss11
-board-$(CONFIG_MACH_EDB93012)			+= edb93xx
-board-$(CONFIG_MACH_EDB9301)			+= edb93xx
-board-$(CONFIG_MACH_EDB9302A)			+= edb93xx
-board-$(CONFIG_MACH_EDB9302)			+= edb93xx
-board-$(CONFIG_MACH_EDB9307A)			+= edb93xx
-board-$(CONFIG_MACH_EDB9307)			+= edb93xx
-board-$(CONFIG_MACH_EDB9315A)			+= edb93xx
-board-$(CONFIG_MACH_EDB9315)			+= edb93xx
-board-$(CONFIG_MACH_EFIKA_MX_SMARTBOOK)		+= efika-mx-smartbook
-board-$(CONFIG_MACH_EUKREA_CPUIMX25)		+= eukrea_cpuimx25
-board-$(CONFIG_MACH_EUKREA_CPUIMX27)		+= eukrea_cpuimx27
-board-$(CONFIG_MACH_EUKREA_CPUIMX35)		+= eukrea_cpuimx35
-board-$(CONFIG_MACH_EUKREA_CPUIMX51SD)		+= eukrea_cpuimx51
-board-$(CONFIG_MACH_FREESCALE_MX25_3STACK)	+= freescale-mx25-3-stack
-board-$(CONFIG_MACH_FREESCALE_MX35_3STACK)	+= freescale-mx35-3-stack
-board-$(CONFIG_MACH_FREESCALE_MX51_PDK)		+= freescale-mx51-pdk
-board-$(CONFIG_MACH_FREESCALE_MX53_LOCO)	+= freescale-mx53-loco
-board-$(CONFIG_MACH_FREESCALE_MX53_SMD)		+= freescale-mx53-smd
 board-$(CONFIG_MACH_GE863)			+= telit-evk-pro3
-board-$(CONFIG_MACH_GLOBALSCALE_GURUPLUG)       += globalscale-guruplug
-board-$(CONFIG_MACH_GLOBALSCALE_MIRABOX)        += globalscale-mirabox
-board-$(CONFIG_MACH_GUF_CUPID)			+= guf-cupid
-board-$(CONFIG_MACH_GUF_VINCELL)		+= guf-vincell
-board-$(CONFIG_MACH_HIGHBANK)			+= highbank
-board-$(CONFIG_MACH_IMX21ADS)			+= imx21ads
-board-$(CONFIG_MACH_IMX233_OLINUXINO)		+= imx233-olinuxino
-board-$(CONFIG_MACH_IMX27ADS)			+= imx27ads
-board-$(CONFIG_MACH_MARVELL_ARMADA_XP_GP)	+= marvell-armada-xp-gp
 board-$(CONFIG_MACH_MINI2440)			+= friendlyarm-mini2440
 board-$(CONFIG_MACH_MINI6410)			+= friendlyarm-mini6410
-board-$(CONFIG_MACH_MIOA701)			+= mioa701
 board-$(CONFIG_MACH_MMCCPU)			+= mmccpu
-board-$(CONFIG_MACH_MX23EVK)			+= freescale-mx23-evk
-board-$(CONFIG_MACH_MX28EVK)			+= freescale-mx28-evk
-board-$(CONFIG_MACH_MX6Q_ARM2)			+= freescale-mx6-arm2
-board-$(CONFIG_MACH_NESO)			+= guf-neso
-board-$(CONFIG_MACH_NOMADIK_8815NHK)		+= nhk8815
-board-$(CONFIG_MACH_NXDB500)			+= netx
-board-$(CONFIG_MACH_OMAP343xSDP)		+= omap343xdsp
-board-$(CONFIG_MACH_OMAP3EVM)			+= omap3evm
-board-$(CONFIG_MACH_PANDA)			+= panda
-board-$(CONFIG_MACH_PCA100)			+= phycard-i.MX27
-board-$(CONFIG_MACH_PCAAL1)			+= phycard-a-l1
-board-$(CONFIG_MACH_PCAAXL2)			+= phycard-a-xl2
 board-$(CONFIG_MACH_PCM027)			+= pcm027
-board-$(CONFIG_MACH_PCM037)			+= pcm037
-board-$(CONFIG_MACH_PCM038)			+= pcm038
-board-$(CONFIG_MACH_PCM043)			+= pcm043
-board-$(CONFIG_MACH_PCM049)			+= pcm049
-board-$(CONFIG_MACH_PCM051)			+= pcm051
-board-$(CONFIG_MACH_PLATHOME_OPENBLOCKS_AX3)	+= plathome-openblocks-ax3
 board-$(CONFIG_MACH_PM9261)			+= pm9261
 board-$(CONFIG_MACH_PM9263)			+= pm9263
 board-$(CONFIG_MACH_PM9G45)			+= pm9g45
 board-$(CONFIG_MACH_QIL_A9260)			+= qil-a926x
 board-$(CONFIG_MACH_QIL_A9G20)			+= qil-a926x
-board-$(CONFIG_MACH_REALQ7)			+= dmo-mx6-realq7
-board-$(CONFIG_MACH_RPI)			+= raspberry-pi
-board-$(CONFIG_MACH_SABRELITE)			+= freescale-mx6-sabrelite
-board-$(CONFIG_MACH_SABRESD)			+= freescale-mx6-sabresd
 board-$(CONFIG_MACH_SAMA5D3XEK)			+= sama5d3xek
-board-$(CONFIG_MACH_SCB9328)			+= scb9328
 board-$(CONFIG_MACH_SOLIDRUN_CUBOX)		+= solidrun-cubox
 board-$(CONFIG_MACH_TINY210)			+= friendlyarm-tiny210
 board-$(CONFIG_MACH_TINY6410)			+= friendlyarm-tiny6410
 board-$(CONFIG_MACH_TNY_A9260)			+= tny-a926x
 board-$(CONFIG_MACH_TNY_A9263)			+= tny-a926x
 board-$(CONFIG_MACH_TNY_A9G20)			+= tny-a926x
-board-$(CONFIG_MACH_TOSHIBA_AC100)		+= toshiba-ac100
-board-$(CONFIG_MACH_TQMA53)			+= tqma53
-board-$(CONFIG_MACH_TX25)			+= karo-tx25
-board-$(CONFIG_MACH_TX28)			+= karo-tx28
-board-$(CONFIG_MACH_TX51)			+= karo-tx51
-board-$(CONFIG_MACH_TX53)			+= karo-tx53
 board-$(CONFIG_MACH_USB_A9260)			+= usb-a926x
 board-$(CONFIG_MACH_USB_A9263)			+= usb-a926x
 board-$(CONFIG_MACH_USB_A9G20)			+= usb-a926x
-board-$(CONFIG_MACH_VERSATILEPB)		+= versatile
-board-$(CONFIG_MACH_VEXPRESS)			+= vexpress
-board-$(CONFIG_MACH_ZEDBOARD)			+= avnet-zedboard
 
 machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
 
@@ -325,7 +265,7 @@ else
 MACH :=
 endif
 
-common-y += $(BOARD) $(MACH)
+common-y += $(BOARD) arch/arm/boards/ $(MACH)
 common-y += arch/arm/lib/ arch/arm/cpu/
 
 common-$(CONFIG_BUILTIN_DTB) += arch/arm/dts/
diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
new file mode 100644
index 0000000..6d1e98d
--- /dev/null
+++ b/arch/arm/boards/Makefile
@@ -0,0 +1,68 @@
+# keep sorted by CONFIG_* macro name.
+obj-$(CONFIG_MACH_ARCHOSG9)			+= archosg9/
+obj-$(CONFIG_MACH_BEAGLE)			+= beagle/
+obj-$(CONFIG_MACH_BEAGLEBONE)			+= beaglebone/
+obj-$(CONFIG_MACH_CCMX51)			+= ccxmx51/
+obj-$(CONFIG_MACH_CFA10036)			+= crystalfontz-cfa10036/
+obj-$(CONFIG_MACH_CHUMBY)			+= chumby_falconwing/
+obj-$(CONFIG_MACH_CLEP7212)			+= clep7212/
+obj-$(CONFIG_MACH_EDB93012)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9301)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9302A)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9302)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9307A)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9307)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9315A)			+= edb93xx/
+obj-$(CONFIG_MACH_EDB9315)			+= edb93xx/
+obj-$(CONFIG_MACH_EFIKA_MX_SMARTBOOK)		+= efika-mx-smartbook/
+obj-$(CONFIG_MACH_EUKREA_CPUIMX25)		+= eukrea_cpuimx25/
+obj-$(CONFIG_MACH_EUKREA_CPUIMX27)		+= eukrea_cpuimx27/
+obj-$(CONFIG_MACH_EUKREA_CPUIMX35)		+= eukrea_cpuimx35/
+obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD)		+= eukrea_cpuimx51/
+obj-$(CONFIG_MACH_FREESCALE_MX25_3STACK)	+= freescale-mx25-3-stack/
+obj-$(CONFIG_MACH_FREESCALE_MX35_3STACK)	+= freescale-mx35-3-stack/
+obj-$(CONFIG_MACH_FREESCALE_MX51_PDK)		+= freescale-mx51-pdk/
+obj-$(CONFIG_MACH_FREESCALE_MX53_LOCO)		+= freescale-mx53-loco/
+obj-$(CONFIG_MACH_FREESCALE_MX53_SMD)		+= freescale-mx53-smd/
+obj-$(CONFIG_MACH_GLOBALSCALE_GURUPLUG)		+= globalscale-guruplug/
+obj-$(CONFIG_MACH_GLOBALSCALE_MIRABOX)		+= globalscale-mirabox/
+obj-$(CONFIG_MACH_GUF_CUPID)			+= guf-cupid/
+obj-$(CONFIG_MACH_GUF_VINCELL)			+= guf-vincell/
+obj-$(CONFIG_MACH_HIGHBANK)			+= highbank/
+obj-$(CONFIG_MACH_IMX21ADS)			+= imx21ads/
+obj-$(CONFIG_MACH_IMX233_OLINUXINO)		+= imx233-olinuxino/
+obj-$(CONFIG_MACH_IMX27ADS)			+= imx27ads/
+obj-$(CONFIG_MACH_MARVELL_ARMADA_XP_GP)		+= marvell-armada-xp-gp/
+obj-$(CONFIG_MACH_MIOA701)			+= mioa701/
+obj-$(CONFIG_MACH_MX23EVK)			+= freescale-mx23-evk/
+obj-$(CONFIG_MACH_MX28EVK)			+= freescale-mx28-evk/
+obj-$(CONFIG_MACH_MX6Q_ARM2)			+= freescale-mx6-arm2/
+obj-$(CONFIG_MACH_NESO)				+= guf-neso/
+obj-$(CONFIG_MACH_NOMADIK_8815NHK)		+= nhk8815/
+obj-$(CONFIG_MACH_NXDB500)			+= netx/
+obj-$(CONFIG_MACH_OMAP343xSDP)			+= omap343xdsp/
+obj-$(CONFIG_MACH_OMAP3EVM)			+= omap3evm/
+obj-$(CONFIG_MACH_PANDA)			+= panda/
+obj-$(CONFIG_MACH_PCA100)			+= phycard-i.MX27/
+obj-$(CONFIG_MACH_PCAAL1)			+= phycard-a-l1/
+obj-$(CONFIG_MACH_PCAAXL2)			+= phycard-a-xl2/
+obj-$(CONFIG_MACH_PCM037)			+= pcm037/
+obj-$(CONFIG_MACH_PCM038)			+= pcm038/
+obj-$(CONFIG_MACH_PCM043)			+= pcm043/
+obj-$(CONFIG_MACH_PCM049)			+= pcm049/
+obj-$(CONFIG_MACH_PCM051)			+= pcm051/
+obj-$(CONFIG_MACH_PLATHOME_OPENBLOCKS_AX3)	+= plathome-openblocks-ax3/
+obj-$(CONFIG_MACH_REALQ7)			+= dmo-mx6-realq7/
+obj-$(CONFIG_MACH_RPI)				+= raspberry-pi/
+obj-$(CONFIG_MACH_SABRELITE)			+= freescale-mx6-sabrelite/
+obj-$(CONFIG_MACH_SABRESD)			+= freescale-mx6-sabresd/
+obj-$(CONFIG_MACH_SCB9328)			+= scb9328/
+obj-$(CONFIG_MACH_TOSHIBA_AC100)		+= toshiba-ac100/
+obj-$(CONFIG_MACH_TQMA53)			+= tqma53/
+obj-$(CONFIG_MACH_TX25)				+= karo-tx25/
+obj-$(CONFIG_MACH_TX28)				+= karo-tx28/
+obj-$(CONFIG_MACH_TX51)				+= karo-tx51/
+obj-$(CONFIG_MACH_TX53)				+= karo-tx53/
+obj-$(CONFIG_MACH_VERSATILEPB)			+= versatile/
+obj-$(CONFIG_MACH_VEXPRESS)			+= vexpress/
+obj-$(CONFIG_MACH_ZEDBOARD)			+= avnet-zedboard/
-- 
1.8.3.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] ARM: Turn most board directories into regular build directories
  2013-06-23 20:02 ` [PATCH 3/3] ARM: Turn most board directories into regular build directories Sascha Hauer
@ 2013-06-24  8:39   ` Jean-Christophe PLAGNIOL-VILLARD
  2013-06-24  9:20     ` Sascha Hauer
  0 siblings, 1 reply; 7+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-06-24  8:39 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On 22:02 Sun 23 Jun     , Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Why you did not move all of them?

Best Regards,
J.
> ---
>  arch/arm/Makefile        | 78 ++++++------------------------------------------
>  arch/arm/boards/Makefile | 68 +++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 77 insertions(+), 69 deletions(-)
>  create mode 100644 arch/arm/boards/Makefile
> 
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 32bdd65..2f0f16e 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -69,13 +69,19 @@ machine-$(CONFIG_ARCH_VEXPRESS)		:= vexpress
>  machine-$(CONFIG_ARCH_TEGRA)		:= tegra
>  machine-$(CONFIG_ARCH_ZYNQ)		:= zynq
>  
> +
>  # Board directory name.  This list is sorted alphanumerically
>  # by CONFIG_* macro name.
> -
> +#
> +# DO NOT ADD NEW ENTRIES TO THIS LIST!
> +# Add to arch/arm/boards/Makefile instead.
> +#
> +# These are here only because they have a board specific config.h.
> +# TODO: Get rid of board specific config.h and move these to
> +# arch/arm/boards/Makefile aswell.
>  board-$(CONFIG_MACH_A9M2410)			+= a9m2410
>  board-$(CONFIG_MACH_A9M2440)			+= a9m2440
>  board-$(CONFIG_MACH_ANIMEO_IP)			+= animeo_ip
> -board-$(CONFIG_MACH_ARCHOSG9)			+= archosg9
>  board-$(CONFIG_MACH_AT91RM9200EK)		+= at91rm9200ek
>  board-$(CONFIG_MACH_AT91SAM9260EK)		+= at91sam9260ek
>  board-$(CONFIG_MACH_AT91SAM9261EK)		+= at91sam9261ek
> @@ -86,93 +92,27 @@ board-$(CONFIG_MACH_AT91SAM9M10G45EK)		+= at91sam9m10g45ek
>  board-$(CONFIG_MACH_AT91SAM9M10IHD)		+= at91sam9m10ihd
>  board-$(CONFIG_MACH_AT91SAM9N12EK)		+= at91sam9n12ek
>  board-$(CONFIG_MACH_AT91SAM9X5EK)		+= at91sam9x5ek
> -board-$(CONFIG_MACH_BEAGLE)			+= beagle
> -board-$(CONFIG_MACH_BEAGLEBONE)			+= beaglebone
> -board-$(CONFIG_MACH_CCMX51)			+= ccxmx51
> -board-$(CONFIG_MACH_CFA10036)			+= crystalfontz-cfa10036
> -board-$(CONFIG_MACH_CHUMBY)			+= chumby_falconwing
> -board-$(CONFIG_MACH_CLEP7212)			+= clep7212
>  board-$(CONFIG_MACH_DSS11)			+= dss11
> -board-$(CONFIG_MACH_EDB93012)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9301)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9302A)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9302)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9307A)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9307)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9315A)			+= edb93xx
> -board-$(CONFIG_MACH_EDB9315)			+= edb93xx
> -board-$(CONFIG_MACH_EFIKA_MX_SMARTBOOK)		+= efika-mx-smartbook
> -board-$(CONFIG_MACH_EUKREA_CPUIMX25)		+= eukrea_cpuimx25
> -board-$(CONFIG_MACH_EUKREA_CPUIMX27)		+= eukrea_cpuimx27
> -board-$(CONFIG_MACH_EUKREA_CPUIMX35)		+= eukrea_cpuimx35
> -board-$(CONFIG_MACH_EUKREA_CPUIMX51SD)		+= eukrea_cpuimx51
> -board-$(CONFIG_MACH_FREESCALE_MX25_3STACK)	+= freescale-mx25-3-stack
> -board-$(CONFIG_MACH_FREESCALE_MX35_3STACK)	+= freescale-mx35-3-stack
> -board-$(CONFIG_MACH_FREESCALE_MX51_PDK)		+= freescale-mx51-pdk
> -board-$(CONFIG_MACH_FREESCALE_MX53_LOCO)	+= freescale-mx53-loco
> -board-$(CONFIG_MACH_FREESCALE_MX53_SMD)		+= freescale-mx53-smd
>  board-$(CONFIG_MACH_GE863)			+= telit-evk-pro3
> -board-$(CONFIG_MACH_GLOBALSCALE_GURUPLUG)       += globalscale-guruplug
> -board-$(CONFIG_MACH_GLOBALSCALE_MIRABOX)        += globalscale-mirabox
> -board-$(CONFIG_MACH_GUF_CUPID)			+= guf-cupid
> -board-$(CONFIG_MACH_GUF_VINCELL)		+= guf-vincell
> -board-$(CONFIG_MACH_HIGHBANK)			+= highbank
> -board-$(CONFIG_MACH_IMX21ADS)			+= imx21ads
> -board-$(CONFIG_MACH_IMX233_OLINUXINO)		+= imx233-olinuxino
> -board-$(CONFIG_MACH_IMX27ADS)			+= imx27ads
> -board-$(CONFIG_MACH_MARVELL_ARMADA_XP_GP)	+= marvell-armada-xp-gp
>  board-$(CONFIG_MACH_MINI2440)			+= friendlyarm-mini2440
>  board-$(CONFIG_MACH_MINI6410)			+= friendlyarm-mini6410
> -board-$(CONFIG_MACH_MIOA701)			+= mioa701
>  board-$(CONFIG_MACH_MMCCPU)			+= mmccpu
> -board-$(CONFIG_MACH_MX23EVK)			+= freescale-mx23-evk
> -board-$(CONFIG_MACH_MX28EVK)			+= freescale-mx28-evk
> -board-$(CONFIG_MACH_MX6Q_ARM2)			+= freescale-mx6-arm2
> -board-$(CONFIG_MACH_NESO)			+= guf-neso
> -board-$(CONFIG_MACH_NOMADIK_8815NHK)		+= nhk8815
> -board-$(CONFIG_MACH_NXDB500)			+= netx
> -board-$(CONFIG_MACH_OMAP343xSDP)		+= omap343xdsp
> -board-$(CONFIG_MACH_OMAP3EVM)			+= omap3evm
> -board-$(CONFIG_MACH_PANDA)			+= panda
> -board-$(CONFIG_MACH_PCA100)			+= phycard-i.MX27
> -board-$(CONFIG_MACH_PCAAL1)			+= phycard-a-l1
> -board-$(CONFIG_MACH_PCAAXL2)			+= phycard-a-xl2
>  board-$(CONFIG_MACH_PCM027)			+= pcm027
> -board-$(CONFIG_MACH_PCM037)			+= pcm037
> -board-$(CONFIG_MACH_PCM038)			+= pcm038
> -board-$(CONFIG_MACH_PCM043)			+= pcm043
> -board-$(CONFIG_MACH_PCM049)			+= pcm049
> -board-$(CONFIG_MACH_PCM051)			+= pcm051
> -board-$(CONFIG_MACH_PLATHOME_OPENBLOCKS_AX3)	+= plathome-openblocks-ax3
>  board-$(CONFIG_MACH_PM9261)			+= pm9261
>  board-$(CONFIG_MACH_PM9263)			+= pm9263
>  board-$(CONFIG_MACH_PM9G45)			+= pm9g45
>  board-$(CONFIG_MACH_QIL_A9260)			+= qil-a926x
>  board-$(CONFIG_MACH_QIL_A9G20)			+= qil-a926x
> -board-$(CONFIG_MACH_REALQ7)			+= dmo-mx6-realq7
> -board-$(CONFIG_MACH_RPI)			+= raspberry-pi
> -board-$(CONFIG_MACH_SABRELITE)			+= freescale-mx6-sabrelite
> -board-$(CONFIG_MACH_SABRESD)			+= freescale-mx6-sabresd
>  board-$(CONFIG_MACH_SAMA5D3XEK)			+= sama5d3xek
> -board-$(CONFIG_MACH_SCB9328)			+= scb9328
>  board-$(CONFIG_MACH_SOLIDRUN_CUBOX)		+= solidrun-cubox
>  board-$(CONFIG_MACH_TINY210)			+= friendlyarm-tiny210
>  board-$(CONFIG_MACH_TINY6410)			+= friendlyarm-tiny6410
>  board-$(CONFIG_MACH_TNY_A9260)			+= tny-a926x
>  board-$(CONFIG_MACH_TNY_A9263)			+= tny-a926x
>  board-$(CONFIG_MACH_TNY_A9G20)			+= tny-a926x
> -board-$(CONFIG_MACH_TOSHIBA_AC100)		+= toshiba-ac100
> -board-$(CONFIG_MACH_TQMA53)			+= tqma53
> -board-$(CONFIG_MACH_TX25)			+= karo-tx25
> -board-$(CONFIG_MACH_TX28)			+= karo-tx28
> -board-$(CONFIG_MACH_TX51)			+= karo-tx51
> -board-$(CONFIG_MACH_TX53)			+= karo-tx53
>  board-$(CONFIG_MACH_USB_A9260)			+= usb-a926x
>  board-$(CONFIG_MACH_USB_A9263)			+= usb-a926x
>  board-$(CONFIG_MACH_USB_A9G20)			+= usb-a926x
> -board-$(CONFIG_MACH_VERSATILEPB)		+= versatile
> -board-$(CONFIG_MACH_VEXPRESS)			+= vexpress
> -board-$(CONFIG_MACH_ZEDBOARD)			+= avnet-zedboard
>  
>  machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
>  
> @@ -325,7 +265,7 @@ else
>  MACH :=
>  endif
>  
> -common-y += $(BOARD) $(MACH)
> +common-y += $(BOARD) arch/arm/boards/ $(MACH)
>  common-y += arch/arm/lib/ arch/arm/cpu/
>  
>  common-$(CONFIG_BUILTIN_DTB) += arch/arm/dts/
> diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
> new file mode 100644
> index 0000000..6d1e98d
> --- /dev/null
> +++ b/arch/arm/boards/Makefile
> @@ -0,0 +1,68 @@
> +# keep sorted by CONFIG_* macro name.
> +obj-$(CONFIG_MACH_ARCHOSG9)			+= archosg9/
> +obj-$(CONFIG_MACH_BEAGLE)			+= beagle/
> +obj-$(CONFIG_MACH_BEAGLEBONE)			+= beaglebone/
> +obj-$(CONFIG_MACH_CCMX51)			+= ccxmx51/
> +obj-$(CONFIG_MACH_CFA10036)			+= crystalfontz-cfa10036/
> +obj-$(CONFIG_MACH_CHUMBY)			+= chumby_falconwing/
> +obj-$(CONFIG_MACH_CLEP7212)			+= clep7212/
> +obj-$(CONFIG_MACH_EDB93012)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9301)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9302A)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9302)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9307A)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9307)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9315A)			+= edb93xx/
> +obj-$(CONFIG_MACH_EDB9315)			+= edb93xx/
> +obj-$(CONFIG_MACH_EFIKA_MX_SMARTBOOK)		+= efika-mx-smartbook/
> +obj-$(CONFIG_MACH_EUKREA_CPUIMX25)		+= eukrea_cpuimx25/
> +obj-$(CONFIG_MACH_EUKREA_CPUIMX27)		+= eukrea_cpuimx27/
> +obj-$(CONFIG_MACH_EUKREA_CPUIMX35)		+= eukrea_cpuimx35/
> +obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD)		+= eukrea_cpuimx51/
> +obj-$(CONFIG_MACH_FREESCALE_MX25_3STACK)	+= freescale-mx25-3-stack/
> +obj-$(CONFIG_MACH_FREESCALE_MX35_3STACK)	+= freescale-mx35-3-stack/
> +obj-$(CONFIG_MACH_FREESCALE_MX51_PDK)		+= freescale-mx51-pdk/
> +obj-$(CONFIG_MACH_FREESCALE_MX53_LOCO)		+= freescale-mx53-loco/
> +obj-$(CONFIG_MACH_FREESCALE_MX53_SMD)		+= freescale-mx53-smd/
> +obj-$(CONFIG_MACH_GLOBALSCALE_GURUPLUG)		+= globalscale-guruplug/
> +obj-$(CONFIG_MACH_GLOBALSCALE_MIRABOX)		+= globalscale-mirabox/
> +obj-$(CONFIG_MACH_GUF_CUPID)			+= guf-cupid/
> +obj-$(CONFIG_MACH_GUF_VINCELL)			+= guf-vincell/
> +obj-$(CONFIG_MACH_HIGHBANK)			+= highbank/
> +obj-$(CONFIG_MACH_IMX21ADS)			+= imx21ads/
> +obj-$(CONFIG_MACH_IMX233_OLINUXINO)		+= imx233-olinuxino/
> +obj-$(CONFIG_MACH_IMX27ADS)			+= imx27ads/
> +obj-$(CONFIG_MACH_MARVELL_ARMADA_XP_GP)		+= marvell-armada-xp-gp/
> +obj-$(CONFIG_MACH_MIOA701)			+= mioa701/
> +obj-$(CONFIG_MACH_MX23EVK)			+= freescale-mx23-evk/
> +obj-$(CONFIG_MACH_MX28EVK)			+= freescale-mx28-evk/
> +obj-$(CONFIG_MACH_MX6Q_ARM2)			+= freescale-mx6-arm2/
> +obj-$(CONFIG_MACH_NESO)				+= guf-neso/
> +obj-$(CONFIG_MACH_NOMADIK_8815NHK)		+= nhk8815/
> +obj-$(CONFIG_MACH_NXDB500)			+= netx/
> +obj-$(CONFIG_MACH_OMAP343xSDP)			+= omap343xdsp/
> +obj-$(CONFIG_MACH_OMAP3EVM)			+= omap3evm/
> +obj-$(CONFIG_MACH_PANDA)			+= panda/
> +obj-$(CONFIG_MACH_PCA100)			+= phycard-i.MX27/
> +obj-$(CONFIG_MACH_PCAAL1)			+= phycard-a-l1/
> +obj-$(CONFIG_MACH_PCAAXL2)			+= phycard-a-xl2/
> +obj-$(CONFIG_MACH_PCM037)			+= pcm037/
> +obj-$(CONFIG_MACH_PCM038)			+= pcm038/
> +obj-$(CONFIG_MACH_PCM043)			+= pcm043/
> +obj-$(CONFIG_MACH_PCM049)			+= pcm049/
> +obj-$(CONFIG_MACH_PCM051)			+= pcm051/
> +obj-$(CONFIG_MACH_PLATHOME_OPENBLOCKS_AX3)	+= plathome-openblocks-ax3/
> +obj-$(CONFIG_MACH_REALQ7)			+= dmo-mx6-realq7/
> +obj-$(CONFIG_MACH_RPI)				+= raspberry-pi/
> +obj-$(CONFIG_MACH_SABRELITE)			+= freescale-mx6-sabrelite/
> +obj-$(CONFIG_MACH_SABRESD)			+= freescale-mx6-sabresd/
> +obj-$(CONFIG_MACH_SCB9328)			+= scb9328/
> +obj-$(CONFIG_MACH_TOSHIBA_AC100)		+= toshiba-ac100/
> +obj-$(CONFIG_MACH_TQMA53)			+= tqma53/
> +obj-$(CONFIG_MACH_TX25)				+= karo-tx25/
> +obj-$(CONFIG_MACH_TX28)				+= karo-tx28/
> +obj-$(CONFIG_MACH_TX51)				+= karo-tx51/
> +obj-$(CONFIG_MACH_TX53)				+= karo-tx53/
> +obj-$(CONFIG_MACH_VERSATILEPB)			+= versatile/
> +obj-$(CONFIG_MACH_VEXPRESS)			+= vexpress/
> +obj-$(CONFIG_MACH_ZEDBOARD)			+= avnet-zedboard/
> -- 
> 1.8.3.1
> 

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] ARM: Turn most board directories into regular build directories
  2013-06-24  8:39   ` Jean-Christophe PLAGNIOL-VILLARD
@ 2013-06-24  9:20     ` Sascha Hauer
  2013-06-26  7:11       ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Hauer @ 2013-06-24  9:20 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On Mon, Jun 24, 2013 at 10:39:08AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 22:02 Sun 23 Jun     , Sascha Hauer wrote:
> > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> 
> Why you did not move all of them?

Because they have a board specific config.h file which is not
found when $(BOARD) is empty.

Quoting my introductory mail:

> Jean-Christophe, I'd like to get rid of the remaining config.h
> files. The bulk of the remaining ones are at91 and most of
> them contain a single define for AT91_MAIN_CLK. Could you work
> on this? I could do it myself but I'm sure you have your own
> idea how this should be accomplished.

Sascha


-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 3/3] ARM: Turn most board directories into regular build directories
  2013-06-24  9:20     ` Sascha Hauer
@ 2013-06-26  7:11       ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 7+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-06-26  7:11 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

On 11:20 Mon 24 Jun     , Sascha Hauer wrote:
> On Mon, Jun 24, 2013 at 10:39:08AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 22:02 Sun 23 Jun     , Sascha Hauer wrote:
> > > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > 
> > Why you did not move all of them?
> 
> Because they have a board specific config.h file which is not
> found when $(BOARD) is empty.
> 
> Quoting my introductory mail:
> 
> > Jean-Christophe, I'd like to get rid of the remaining config.h
> > files. The bulk of the remaining ones are at91 and most of
> > them contain a single define for AT91_MAIN_CLK. Could you work
> > on this? I could do it myself but I'm sure you have your own
> > idea how this should be accomplished.

ok was not yet fully recovered

I need to cleanup this I agree

will do so

Best Regards,
J.
> 
> Sascha
> 
> 
> -- 
> 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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-26  7:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-23 20:02 [PATCH] remove empty board config.h files Sascha Hauer
2013-06-23 20:02 ` [PATCH 1/3] ARM: Marvell boards: remove empty " Sascha Hauer
2013-06-23 20:02 ` [PATCH 2/3] ARM: i.MX " Sascha Hauer
2013-06-23 20:02 ` [PATCH 3/3] ARM: Turn most board directories into regular build directories Sascha Hauer
2013-06-24  8:39   ` Jean-Christophe PLAGNIOL-VILLARD
2013-06-24  9:20     ` Sascha Hauer
2013-06-26  7:11       ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox