Makefile: Create empty <config.h> if this header file is not needed by board
Subsystems (6)
PATCH v2 1/2 Makefile: Create empty <config.h> if this header file is not needed by board
Patch creates empty <config.h> if this header is not needed by board. This will allow to remove many empty config.h files from boards.
Signed-off-by Alexander Shiyan <[email protected]>
--- Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
Makefile +12 -6
@@ -841,13 +841,19 @@ include/asm: $(Q)$(check-symlink) $(Q)$(create-symlink) +define symlink-config-h + if [ -f $(srctree)/$(BOARD)/config.h ]; then \ + $(kecho) ' SYMLINK $@ -> $(BOARD)/config.h'; \ + ln -fsn $(srctree)/$(BOARD)/config.h $@; \ + else \ + [ -h $@ ] && rm -f $@; \ + $(kecho) ' CREATE $@'; \ + touch -a $@; \ + fi +endef + include/config.h: include/config/auto.conf - $(Q)$(kecho) ' SYMLINK $@ -> $(BOARD)/config.h' -ifneq ($(KBUILD_SRC),) - $(Q)ln -fsn $(srctree)/$(BOARD)/config.h $@ -else - $(Q)ln -fsn ../$(BOARD)/config.h $@ -endif + $(Q)$(symlink-config-h) # Generate some files # ---------------------------------------------------------------------------
Signature · 7 lines
1.8.1.5 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH v2 2/2 Remove unused config.h
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/boards/archosg9/config.h | 1 - arch/arm/boards/avnet-zedboard/config.h | 4 ---- arch/arm/boards/beagle/config.h | 17 ----------------- arch/arm/boards/beaglebone/config.h | 17 ----------------- arch/arm/boards/ccxmx51/config.h | 24 ------------------------ arch/arm/boards/chumby_falconwing/config.h | 17 ----------------- arch/arm/boards/clep7212/config.h | 4 ---- arch/arm/boards/crystalfontz-cfa10036/config.h | 16 ---------------- arch/arm/boards/dmo-mx6-realq7/config.h | 4 ---- arch/arm/boards/edb93xx/config.h | 4 ---- arch/arm/boards/efika-mx-smartbook/config.h | 17 ----------------- arch/arm/boards/eukrea_cpuimx27/config.h | 22 ---------------------- arch/arm/boards/eukrea_cpuimx51/config.h | 20 -------------------- arch/arm/boards/freescale-mx23-evk/config.h | 12 ------------ arch/arm/boards/freescale-mx28-evk/config.h | 16 ---------------- arch/arm/boards/freescale-mx51-pdk/config.h | 20 -------------------- arch/arm/boards/freescale-mx53-loco/config.h | 20 -------------------- arch/arm/boards/freescale-mx53-smd/config.h | 20 -------------------- arch/arm/boards/freescale-mx6-arm2/config.h | 4 ---- arch/arm/boards/freescale-mx6-sabrelite/config.h | 4 ---- arch/arm/boards/freescale-mx6-sabresd/config.h | 4 ---- arch/arm/boards/guf-neso/config.h | 22 ---------------------- arch/arm/boards/guf-vincell/config.h | 24 ------------------------ arch/arm/boards/highbank/config.h | 5 ----- arch/arm/boards/imx21ads/config.h | 22 ---------------------- arch/arm/boards/imx233-olinuxino/config.h | 21 --------------------- arch/arm/boards/imx27ads/config.h | 22 ---------------------- arch/arm/boards/karo-tx28/config.h | 16 ---------------- arch/arm/boards/karo-tx51/config.h | 17 ----------------- arch/arm/boards/karo-tx53/config.h | 24 ------------------------ arch/arm/boards/mioa701/config.h | 22 ---------------------- arch/arm/boards/netx/config.h | 4 ---- arch/arm/boards/nhk8815/config.h | 1 - arch/arm/boards/omap343xdsp/config.h | 17 ----------------- arch/arm/boards/omap3evm/config.h | 17 ----------------- arch/arm/boards/panda/config.h | 1 - arch/arm/boards/pcm038/config.h | 22 ---------------------- arch/arm/boards/pcm049/config.h | 1 - arch/arm/boards/pcm051/config.h | 21 --------------------- arch/arm/boards/phycard-a-l1/config.h | 18 ------------------ arch/arm/boards/phycard-a-xl2/config.h | 1 - arch/arm/boards/phycard-i.MX27/config.h | 22 ---------------------- arch/arm/boards/raspberry-pi/config.h | 4 ---- arch/arm/boards/toshiba-ac100/config.h | 5 ----- arch/arm/boards/tqma53/config.h | 4 ---- arch/arm/boards/versatile/config.h | 5 ----- arch/arm/boards/vexpress/config.h | 5 ----- arch/mips/boards/dlink-dir-320/config.h | 15 --------------- arch/mips/boards/qemu-malta/config.h | 15 --------------- arch/mips/boards/rzx50/config.h | 15 --------------- arch/sandbox/board/config.h | 4 ---- arch/x86/boards/x86_generic/config.h | 17 ----------------- 52 files changed, 676 deletions(-) delete mode 100644 arch/arm/boards/archosg9/config.h delete mode 100644 arch/arm/boards/avnet-zedboard/config.h delete mode 100644 arch/arm/boards/beagle/config.h delete mode 100644 arch/arm/boards/beaglebone/config.h delete mode 100644 arch/arm/boards/ccxmx51/config.h delete mode 100644 arch/arm/boards/chumby_falconwing/config.h delete mode 100644 arch/arm/boards/clep7212/config.h delete mode 100644 arch/arm/boards/crystalfontz-cfa10036/config.h delete mode 100644 arch/arm/boards/dmo-mx6-realq7/config.h delete mode 100644 arch/arm/boards/edb93xx/config.h delete mode 100644 arch/arm/boards/efika-mx-smartbook/config.h delete mode 100644 arch/arm/boards/eukrea_cpuimx27/config.h delete mode 100644 arch/arm/boards/eukrea_cpuimx51/config.h delete mode 100644 arch/arm/boards/freescale-mx23-evk/config.h delete mode 100644 arch/arm/boards/freescale-mx28-evk/config.h delete mode 100644 arch/arm/boards/freescale-mx51-pdk/config.h delete mode 100644 arch/arm/boards/freescale-mx53-loco/config.h delete mode 100644 arch/arm/boards/freescale-mx53-smd/config.h delete mode 100644 arch/arm/boards/freescale-mx6-arm2/config.h delete mode 100644 arch/arm/boards/freescale-mx6-sabrelite/config.h delete mode 100644 arch/arm/boards/freescale-mx6-sabresd/config.h delete mode 100644 arch/arm/boards/guf-neso/config.h delete mode 100644 arch/arm/boards/guf-vincell/config.h delete mode 100644 arch/arm/boards/highbank/config.h delete mode 100644 arch/arm/boards/imx21ads/config.h delete mode 100644 arch/arm/boards/imx233-olinuxino/config.h delete mode 100644 arch/arm/boards/imx27ads/config.h delete mode 100644 arch/arm/boards/karo-tx28/config.h delete mode 100644 arch/arm/boards/karo-tx51/config.h delete mode 100644 arch/arm/boards/karo-tx53/config.h delete mode 100644 arch/arm/boards/mioa701/config.h delete mode 100644 arch/arm/boards/netx/config.h delete mode 100644 arch/arm/boards/nhk8815/config.h delete mode 100644 arch/arm/boards/omap343xdsp/config.h delete mode 100644 arch/arm/boards/omap3evm/config.h delete mode 100644 arch/arm/boards/panda/config.h delete mode 100644 arch/arm/boards/pcm038/config.h delete mode 100644 arch/arm/boards/pcm049/config.h delete mode 100644 arch/arm/boards/pcm051/config.h delete mode 100644 arch/arm/boards/phycard-a-l1/config.h delete mode 100644 arch/arm/boards/phycard-a-xl2/config.h delete mode 100644 arch/arm/boards/phycard-i.MX27/config.h delete mode 100644 arch/arm/boards/raspberry-pi/config.h delete mode 100644 arch/arm/boards/toshiba-ac100/config.h delete mode 100644 arch/arm/boards/tqma53/config.h delete mode 100644 arch/arm/boards/versatile/config.h delete mode 100644 arch/arm/boards/vexpress/config.h delete mode 100644 arch/mips/boards/dlink-dir-320/config.h delete mode 100644 arch/mips/boards/qemu-malta/config.h delete mode 100644 arch/mips/boards/rzx50/config.h delete mode 100644 arch/sandbox/board/config.h delete mode 100644 arch/x86/boards/x86_generic/config.h
arch/arm/boards/archosg9/config.h deleted +0 -1
@@ -1 +0,0 @@ -/* nothing */
arch/arm/boards/avnet-zedboard/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/beagle/config.h deleted +0 -17
@@ -1,17 +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 - -#endif /* __CONFIG_H */
arch/arm/boards/beaglebone/config.h deleted +0 -17
@@ -1,17 +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_ - -#endif /* _CONFIG_H_ */
arch/arm/boards/ccxmx51/config.h deleted +0 -24
@@ -1,24 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based ccmx51 board -* -* 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. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/chumby_falconwing/config.h deleted +0 -17
@@ -1,17 +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_ - -#endif /* _CONFIG_H_ */
arch/arm/boards/clep7212/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/crystalfontz-cfa10036/config.h deleted +0 -16
@@ -1,16 +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_ - -#endif /* _CONFIG_H_ */
arch/arm/boards/dmo-mx6-realq7/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/edb93xx/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/efika-mx-smartbook/config.h deleted +0 -17
@@ -1,17 +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 - -#endif /* __CONFIG_H */
arch/arm/boards/eukrea_cpuimx27/config.h deleted +0 -22
@@ -1,22 +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 ARM Eukrea cpuimx27 board -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/eukrea_cpuimx51/config.h deleted +0 -20
@@ -1,20 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based cpuimx51 board -* -* 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 - -#endif /* __CONFIG_H */
arch/arm/boards/freescale-mx23-evk/config.h deleted +0 -12
@@ -1,12 +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. -* -*/
arch/arm/boards/freescale-mx28-evk/config.h deleted +0 -16
@@ -1,16 +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_ - -#endif /* _CONFIG_H_ */
arch/arm/boards/freescale-mx51-pdk/config.h deleted +0 -20
@@ -1,20 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based babbage board -* -* 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 - -#endif /* __CONFIG_H */
arch/arm/boards/freescale-mx53-loco/config.h deleted +0 -20
@@ -1,20 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based babbage board -* -* 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 - -#endif /* __CONFIG_H */
arch/arm/boards/freescale-mx53-smd/config.h deleted +0 -20
@@ -1,20 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based babbage board -* -* 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 - -#endif /* __CONFIG_H */
arch/arm/boards/freescale-mx6-arm2/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/freescale-mx6-sabrelite/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/freescale-mx6-sabresd/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/guf-neso/config.h deleted +0 -22
@@ -1,22 +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 ARM i.MX27 based pcm038 -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/guf-vincell/config.h deleted +0 -24
@@ -1,24 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based babbage board -* -* 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. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/highbank/config.h deleted +0 -5
@@ -1,5 +0,0 @@ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/imx21ads/config.h deleted +0 -22
@@ -1,22 +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 ARM i.MX21 based imx21ads -**/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/imx233-olinuxino/config.h deleted +0 -21
@@ -1,21 +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. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#ifndef _CONFIG_H_ -# define _CONFIG_H_ - -#endif /* _CONFIG_H_ */
arch/arm/boards/imx27ads/config.h deleted +0 -22
@@ -1,22 +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 imx27ads ARM board -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/karo-tx28/config.h deleted +0 -16
@@ -1,16 +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_ - -#endif /* _CONFIG_H_ */
arch/arm/boards/karo-tx51/config.h deleted +0 -17
@@ -1,17 +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 - -#endif /* __CONFIG_H */
arch/arm/boards/karo-tx53/config.h deleted +0 -24
@@ -1,24 +0,0 @@ -/** -* @file -* @brief Global defintions for the ARM i.MX51 based babbage board -* -* 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. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/mioa701/config.h deleted +0 -22
@@ -1,22 +0,0 @@ -/* -* (C) 2011 Robert Jarzmik <[email protected]> -* -* See file CREDITS for list of people who contributed to this -* project. -* -* 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 - -#endif /* __CONFIG_H */
arch/arm/boards/netx/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/nhk8815/config.h deleted +0 -1
@@ -1 +0,0 @@ -/* nothing */
arch/arm/boards/omap343xdsp/config.h deleted +0 -17
@@ -1,17 +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 - -#endif /* __CONFIG_H */
arch/arm/boards/omap3evm/config.h deleted +0 -17
@@ -1,17 +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 - -#endif /* __CONFIG_H */
arch/arm/boards/panda/config.h deleted +0 -1
@@ -1 +0,0 @@ -/* nothing */
arch/arm/boards/pcm038/config.h deleted +0 -22
@@ -1,22 +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 ARM i.MX27 based pcm038 -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/pcm049/config.h deleted +0 -1
@@ -1 +0,0 @@ -/* nothing */
arch/arm/boards/pcm051/config.h deleted +0 -21
@@ -1,21 +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. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place, Suite 330, Boston, -* MA 02111-1307 USA -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/phycard-a-l1/config.h deleted +0 -18
@@ -1,18 +0,0 @@ -/* -* (C) Copyright 2011 Jurgen Kilb <[email protected]> -* -* 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 - -#endif /* __CONFIG_H */
arch/arm/boards/phycard-a-xl2/config.h deleted +0 -1
@@ -1 +0,0 @@ -/* nothing */
arch/arm/boards/phycard-i.MX27/config.h deleted +0 -22
@@ -1,22 +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 ARM i.MX27 based pcm038 -*/ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/raspberry-pi/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/toshiba-ac100/config.h deleted +0 -5
@@ -1,5 +0,0 @@ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/tqma53/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/versatile/config.h deleted +0 -5
@@ -1,5 +0,0 @@ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/arm/boards/vexpress/config.h deleted +0 -5
@@ -1,5 +0,0 @@ - -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/mips/boards/dlink-dir-320/config.h deleted +0 -15
@@ -1,15 +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. -* -* -*/ - -/* nothing special yet */
arch/mips/boards/qemu-malta/config.h deleted +0 -15
@@ -1,15 +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. -* -* -*/ - -/* nothing special yet */
arch/mips/boards/rzx50/config.h deleted +0 -15
@@ -1,15 +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. -* -* -*/ - -/* nothing special yet */
arch/sandbox/board/config.h deleted +0 -4
@@ -1,4 +0,0 @@ -#ifndef __CONFIG_H -#define __CONFIG_H - -#endif /* __CONFIG_H */
arch/x86/boards/x86_generic/config.h deleted +0 -17
@@ -1,17 +0,0 @@ -/* -* Copyright (C) 2009 Juergen Beisert, Pengutronix -* -* 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. -* -* -*/ - -/* nothing special yet */
Signature · 7 lines
1.8.1.5 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Quoted 4 lines · Alexander Shiyan
Patch creates empty <
config.h> if this header is not needed by board. This will allow to remove many emptyconfig.hfiles from boards.Signed-off-by Alexander Shiyan <[email protected]>
Applied, thanks
Sascha
Quoted 43 lines
--- Makefile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)Makefile +12
-6@@ -841,13 +841,19 @@ include/asm: $(Q)$(check-symlink) $(Q)$(create-symlink) +define symlink-config-h + if [ -f $(srctree)/$(BOARD)/config.h ]; then \ + $(kecho) ' SYMLINK $@ -> $(BOARD)/config.h'; \ + ln -fsn $(srctree)/$(BOARD)/config.h $@; \ + else \ + [ -h $@ ] && rm -f $@; \ + $(kecho) ' CREATE $@'; \ + touch -a $@; \ + fi +endef + include/config.h: include/config/auto.conf - $(Q)$(kecho) ' SYMLINK $@ -> $(BOARD)/config.h' -ifneq ($(KBUILD_SRC),) - $(Q)ln -fsn $(srctree)/$(BOARD)/config.h $@ -else - $(Q)ln -fsn ../$(BOARD)/config.h $@ -endif + $(Q)$(symlink-config-h) # Generate some files # ---------------------------------------------------------------------------Signature · 7 lines
1.8.1.5 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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