mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
@ 2013-03-11 16:10 Alexander Shiyan
  2013-03-11 16:10 ` [PATCH 2/2] Remove unused config.h Alexander Shiyan
  2013-04-05  9:12 ` [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Sascha Hauer
  0 siblings, 2 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-03-11 16:10 UTC (permalink / raw)
  To: barebox

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 <shc_work@mail.ru>
---
 Makefile | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index b5819fc..e8d9984 100644
--- a/Makefile
+++ b/Makefile
@@ -898,13 +898,18 @@ 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							\
+		$(kecho) '  CREATE  $@';			\
+		echo -n > $@;					\
+	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
 # ---------------------------------------------------------------------------
-- 
1.7.12.4


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

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

* [PATCH 2/2] Remove unused config.h
  2013-03-11 16:10 [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Alexander Shiyan
@ 2013-03-11 16:10 ` Alexander Shiyan
  2013-04-05  9:12 ` [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Sascha Hauer
  1 sibling, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-03-11 16:10 UTC (permalink / raw)
  To: barebox


Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boards/archosg9/config.h                |  1 -
 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/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 -----------------
 50 files changed, 668 deletions(-)
 delete mode 100644 arch/arm/boards/archosg9/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/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

diff --git a/arch/arm/boards/archosg9/config.h b/arch/arm/boards/archosg9/config.h
deleted file mode 100644
index da84fa5..0000000
--- a/arch/arm/boards/archosg9/config.h
+++ /dev/null
@@ -1 +0,0 @@
-/* nothing */
diff --git a/arch/arm/boards/beagle/config.h b/arch/arm/boards/beagle/config.h
deleted file mode 100644
index 143adf2..0000000
--- a/arch/arm/boards/beagle/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/beaglebone/config.h b/arch/arm/boards/beaglebone/config.h
deleted file mode 100644
index 252aa79..0000000
--- a/arch/arm/boards/beaglebone/config.h
+++ /dev/null
@@ -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_ */
diff --git a/arch/arm/boards/ccxmx51/config.h b/arch/arm/boards/ccxmx51/config.h
deleted file mode 100644
index fdf2f81..0000000
--- a/arch/arm/boards/ccxmx51/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/chumby_falconwing/config.h b/arch/arm/boards/chumby_falconwing/config.h
deleted file mode 100644
index 252aa79..0000000
--- a/arch/arm/boards/chumby_falconwing/config.h
+++ /dev/null
@@ -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_ */
diff --git a/arch/arm/boards/clep7212/config.h b/arch/arm/boards/clep7212/config.h
deleted file mode 100644
index 6ae9a40..0000000
--- a/arch/arm/boards/clep7212/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif  /* __CONFIG_H */
diff --git a/arch/arm/boards/crystalfontz-cfa10036/config.h b/arch/arm/boards/crystalfontz-cfa10036/config.h
deleted file mode 100644
index 8f18fda..0000000
--- a/arch/arm/boards/crystalfontz-cfa10036/config.h
+++ /dev/null
@@ -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_ */
diff --git a/arch/arm/boards/edb93xx/config.h b/arch/arm/boards/edb93xx/config.h
deleted file mode 100644
index 6ae9a40..0000000
--- a/arch/arm/boards/edb93xx/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif  /* __CONFIG_H */
diff --git a/arch/arm/boards/efika-mx-smartbook/config.h b/arch/arm/boards/efika-mx-smartbook/config.h
deleted file mode 100644
index 143adf2..0000000
--- a/arch/arm/boards/efika-mx-smartbook/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/eukrea_cpuimx27/config.h b/arch/arm/boards/eukrea_cpuimx27/config.h
deleted file mode 100644
index e35bc04..0000000
--- a/arch/arm/boards/eukrea_cpuimx27/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/eukrea_cpuimx51/config.h b/arch/arm/boards/eukrea_cpuimx51/config.h
deleted file mode 100644
index 77d7572..0000000
--- a/arch/arm/boards/eukrea_cpuimx51/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/freescale-mx23-evk/config.h b/arch/arm/boards/freescale-mx23-evk/config.h
deleted file mode 100644
index 9f357bb..0000000
--- a/arch/arm/boards/freescale-mx23-evk/config.h
+++ /dev/null
@@ -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.
- *
- */
diff --git a/arch/arm/boards/freescale-mx28-evk/config.h b/arch/arm/boards/freescale-mx28-evk/config.h
deleted file mode 100644
index 8f18fda..0000000
--- a/arch/arm/boards/freescale-mx28-evk/config.h
+++ /dev/null
@@ -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_ */
diff --git a/arch/arm/boards/freescale-mx51-pdk/config.h b/arch/arm/boards/freescale-mx51-pdk/config.h
deleted file mode 100644
index 97bfcd3..0000000
--- a/arch/arm/boards/freescale-mx51-pdk/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/freescale-mx53-loco/config.h b/arch/arm/boards/freescale-mx53-loco/config.h
deleted file mode 100644
index 97bfcd3..0000000
--- a/arch/arm/boards/freescale-mx53-loco/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/freescale-mx53-smd/config.h b/arch/arm/boards/freescale-mx53-smd/config.h
deleted file mode 100644
index 97bfcd3..0000000
--- a/arch/arm/boards/freescale-mx53-smd/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/freescale-mx6-arm2/config.h b/arch/arm/boards/freescale-mx6-arm2/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/freescale-mx6-arm2/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/freescale-mx6-sabrelite/config.h b/arch/arm/boards/freescale-mx6-sabrelite/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/freescale-mx6-sabrelite/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/freescale-mx6-sabresd/config.h b/arch/arm/boards/freescale-mx6-sabresd/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/freescale-mx6-sabresd/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/guf-neso/config.h b/arch/arm/boards/guf-neso/config.h
deleted file mode 100644
index f8bc790..0000000
--- a/arch/arm/boards/guf-neso/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/guf-vincell/config.h b/arch/arm/boards/guf-vincell/config.h
deleted file mode 100644
index b7effe5..0000000
--- a/arch/arm/boards/guf-vincell/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/highbank/config.h b/arch/arm/boards/highbank/config.h
deleted file mode 100644
index 25bb18f..0000000
--- a/arch/arm/boards/highbank/config.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/imx21ads/config.h b/arch/arm/boards/imx21ads/config.h
deleted file mode 100644
index d5ee8f8..0000000
--- a/arch/arm/boards/imx21ads/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/imx233-olinuxino/config.h b/arch/arm/boards/imx233-olinuxino/config.h
deleted file mode 100644
index 87d9e2f..0000000
--- a/arch/arm/boards/imx233-olinuxino/config.h
+++ /dev/null
@@ -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_ */
diff --git a/arch/arm/boards/imx27ads/config.h b/arch/arm/boards/imx27ads/config.h
deleted file mode 100644
index eb406f0..0000000
--- a/arch/arm/boards/imx27ads/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/karo-tx28/config.h b/arch/arm/boards/karo-tx28/config.h
deleted file mode 100644
index 8f18fda..0000000
--- a/arch/arm/boards/karo-tx28/config.h
+++ /dev/null
@@ -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_ */
diff --git a/arch/arm/boards/karo-tx51/config.h b/arch/arm/boards/karo-tx51/config.h
deleted file mode 100644
index 143adf2..0000000
--- a/arch/arm/boards/karo-tx51/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/karo-tx53/config.h b/arch/arm/boards/karo-tx53/config.h
deleted file mode 100644
index b7effe5..0000000
--- a/arch/arm/boards/karo-tx53/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/mioa701/config.h b/arch/arm/boards/mioa701/config.h
deleted file mode 100644
index 390aa30..0000000
--- a/arch/arm/boards/mioa701/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * (C) 2011 Robert Jarzmik <robert.jarzmik@free.fr>
- *
- * 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 */
diff --git a/arch/arm/boards/netx/config.h b/arch/arm/boards/netx/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/netx/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/nhk8815/config.h b/arch/arm/boards/nhk8815/config.h
deleted file mode 100644
index da84fa5..0000000
--- a/arch/arm/boards/nhk8815/config.h
+++ /dev/null
@@ -1 +0,0 @@
-/* nothing */
diff --git a/arch/arm/boards/omap343xdsp/config.h b/arch/arm/boards/omap343xdsp/config.h
deleted file mode 100644
index 143adf2..0000000
--- a/arch/arm/boards/omap343xdsp/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/omap3evm/config.h b/arch/arm/boards/omap3evm/config.h
deleted file mode 100644
index 143adf2..0000000
--- a/arch/arm/boards/omap3evm/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/panda/config.h b/arch/arm/boards/panda/config.h
deleted file mode 100644
index da84fa5..0000000
--- a/arch/arm/boards/panda/config.h
+++ /dev/null
@@ -1 +0,0 @@
-/* nothing */
diff --git a/arch/arm/boards/pcm038/config.h b/arch/arm/boards/pcm038/config.h
deleted file mode 100644
index f8bc790..0000000
--- a/arch/arm/boards/pcm038/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/pcm049/config.h b/arch/arm/boards/pcm049/config.h
deleted file mode 100644
index da84fa5..0000000
--- a/arch/arm/boards/pcm049/config.h
+++ /dev/null
@@ -1 +0,0 @@
-/* nothing */
diff --git a/arch/arm/boards/pcm051/config.h b/arch/arm/boards/pcm051/config.h
deleted file mode 100644
index 8b2b876..0000000
--- a/arch/arm/boards/pcm051/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/phycard-a-l1/config.h b/arch/arm/boards/phycard-a-l1/config.h
deleted file mode 100644
index 85ceff9..0000000
--- a/arch/arm/boards/phycard-a-l1/config.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * (C) Copyright 2011 Jurgen Kilb <j.kilb@phytec.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
-
-#endif /* __CONFIG_H */
diff --git a/arch/arm/boards/phycard-a-xl2/config.h b/arch/arm/boards/phycard-a-xl2/config.h
deleted file mode 100644
index da84fa5..0000000
--- a/arch/arm/boards/phycard-a-xl2/config.h
+++ /dev/null
@@ -1 +0,0 @@
-/* nothing */
diff --git a/arch/arm/boards/phycard-i.MX27/config.h b/arch/arm/boards/phycard-i.MX27/config.h
deleted file mode 100644
index f8bc790..0000000
--- a/arch/arm/boards/phycard-i.MX27/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/arm/boards/raspberry-pi/config.h b/arch/arm/boards/raspberry-pi/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/raspberry-pi/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/toshiba-ac100/config.h b/arch/arm/boards/toshiba-ac100/config.h
deleted file mode 100644
index 25bb18f..0000000
--- a/arch/arm/boards/toshiba-ac100/config.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/tqma53/config.h b/arch/arm/boards/tqma53/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/arm/boards/tqma53/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/versatile/config.h b/arch/arm/boards/versatile/config.h
deleted file mode 100644
index 25bb18f..0000000
--- a/arch/arm/boards/versatile/config.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/arm/boards/vexpress/config.h b/arch/arm/boards/vexpress/config.h
deleted file mode 100644
index 25bb18f..0000000
--- a/arch/arm/boards/vexpress/config.h
+++ /dev/null
@@ -1,5 +0,0 @@
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/mips/boards/dlink-dir-320/config.h b/arch/mips/boards/dlink-dir-320/config.h
deleted file mode 100644
index db5f011..0000000
--- a/arch/mips/boards/dlink-dir-320/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/mips/boards/qemu-malta/config.h b/arch/mips/boards/qemu-malta/config.h
deleted file mode 100644
index db5f011..0000000
--- a/arch/mips/boards/qemu-malta/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/mips/boards/rzx50/config.h b/arch/mips/boards/rzx50/config.h
deleted file mode 100644
index db5f011..0000000
--- a/arch/mips/boards/rzx50/config.h
+++ /dev/null
@@ -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 */
diff --git a/arch/sandbox/board/config.h b/arch/sandbox/board/config.h
deleted file mode 100644
index ca15136..0000000
--- a/arch/sandbox/board/config.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#endif	/* __CONFIG_H */
diff --git a/arch/x86/boards/x86_generic/config.h b/arch/x86/boards/x86_generic/config.h
deleted file mode 100644
index 473edb5..0000000
--- a/arch/x86/boards/x86_generic/config.h
+++ /dev/null
@@ -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 */
-- 
1.7.12.4


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

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

* Re: [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
  2013-03-11 16:10 [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Alexander Shiyan
  2013-03-11 16:10 ` [PATCH 2/2] Remove unused config.h Alexander Shiyan
@ 2013-04-05  9:12 ` Sascha Hauer
  2013-04-05  9:20   ` Re[2]: " Alexander Shiyan
  1 sibling, 1 reply; 8+ messages in thread
From: Sascha Hauer @ 2013-04-05  9:12 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Mon, Mar 11, 2013 at 08:10:49PM +0400, Alexander Shiyan wrote:
> 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 <shc_work@mail.ru>
> ---
>  Makefile | 17 +++++++++++------
>  1 file changed, 11 insertions(+), 6 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index b5819fc..e8d9984 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -898,13 +898,18 @@ 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							\
> +		$(kecho) '  CREATE  $@';			\
> +		echo -n > $@;					\
> +	fi
> +endef

I dropped this patch because it autogenerates files which were
previously part of the repository. This causes git checkout to
complain about overwriting existing files when we want to checkout
earlier versions.

How about creating this patch like this:

- create (and commit) a include/config-empty.h
- link to the board specific config.h if it exists or to
  config-empty.h if it doesn't exist.

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] 8+ messages in thread

* Re[2]: [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
  2013-04-05  9:12 ` [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Sascha Hauer
@ 2013-04-05  9:20   ` Alexander Shiyan
  2013-04-05  9:36     ` Sascha Hauer
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Shiyan @ 2013-04-05  9:20 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

> On Mon, Mar 11, 2013 at 08:10:49PM +0400, Alexander Shiyan wrote:
> > 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 <shc_work@mail.ru>
> > ---
> >  Makefile | 17 +++++++++++------
> >  1 file changed, 11 insertions(+), 6 deletions(-)
> > 
> > diff --git a/Makefile b/Makefile
> > index b5819fc..e8d9984 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -898,13 +898,18 @@ 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							\
> > +		$(kecho) '  CREATE  $@';			\
> > +		echo -n > $@;					\
> > +	fi
> > +endef
> 
> I dropped this patch because it autogenerates files which were
> previously part of the repository. This causes git checkout to
> complain about overwriting existing files when we want to checkout
> earlier versions.

Patch creates include/config.h (which is in .gitignore) only
or makes symlink to board/config.h. So all already as you say below.

> 
> How about creating this patch like this:
> 
> - create (and commit) a include/config-empty.h
> - link to the board specific config.h if it exists or to
>   config-empty.h if it doesn't exist.


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

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

* Re: [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
  2013-04-05  9:20   ` Re[2]: " Alexander Shiyan
@ 2013-04-05  9:36     ` Sascha Hauer
  2013-04-05 10:07       ` Re[2]: " Alexander Shiyan
  0 siblings, 1 reply; 8+ messages in thread
From: Sascha Hauer @ 2013-04-05  9:36 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Fri, Apr 05, 2013 at 01:20:49PM +0400, Alexander Shiyan wrote:
> > On Mon, Mar 11, 2013 at 08:10:49PM +0400, Alexander Shiyan wrote:
> > > 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 <shc_work@mail.ru>
> > > ---
> > >  Makefile | 17 +++++++++++------
> > >  1 file changed, 11 insertions(+), 6 deletions(-)
> > > 
> > > diff --git a/Makefile b/Makefile
> > > index b5819fc..e8d9984 100644
> > > --- a/Makefile
> > > +++ b/Makefile
> > > @@ -898,13 +898,18 @@ 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							\
> > > +		$(kecho) '  CREATE  $@';			\
> > > +		echo -n > $@;					\
> > > +	fi
> > > +endef
> > 
> > I dropped this patch because it autogenerates files which were
> > previously part of the repository. This causes git checkout to
> > complain about overwriting existing files when we want to checkout
> > earlier versions.
> 
> Patch creates include/config.h (which is in .gitignore) only
> or makes symlink to board/config.h. So all already as you say below.

It creates a arch/$arch/$board/config.h, so we get the following:

# git checkout for-next/remove-config-h
...
# make pcm038_defconfig && make
...
# git checkout master
error: The following untracked working tree files would be overwritten by checkout:
        arch/arm/boards/pcm038/config.h
Please move or remove them before you can switch branches.
Aborting

So this patch forces us to manually remove arch/$arch/$board/config.h
or to use git checkout -f

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] 8+ messages in thread

* Re[2]: [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
  2013-04-05  9:36     ` Sascha Hauer
@ 2013-04-05 10:07       ` Alexander Shiyan
  2013-04-05 10:18         ` Sascha Hauer
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Shiyan @ 2013-04-05 10:07 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

> > > On Mon, Mar 11, 2013 at 08:10:49PM +0400, Alexander Shiyan wrote:
> > > > 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 <shc_work@mail.ru>
> > > > ---
> > > >  Makefile | 17 +++++++++++------
> > > >  1 file changed, 11 insertions(+), 6 deletions(-)
> > > > 
> > > > diff --git a/Makefile b/Makefile
> > > > index b5819fc..e8d9984 100644
> > > > --- a/Makefile
> > > > +++ b/Makefile
> > > > @@ -898,13 +898,18 @@ 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							\
> > > > +		$(kecho) '  CREATE  $@';			\
> > > > +		echo -n > $@;					\
> > > > +	fi
> > > > +endef
> > > 
> > > I dropped this patch because it autogenerates files which were
> > > previously part of the repository. This causes git checkout to
> > > complain about overwriting existing files when we want to checkout
> > > earlier versions.
> > 
> > Patch creates include/config.h (which is in .gitignore) only
> > or makes symlink to board/config.h. So all already as you say below.
> 
> It creates a arch/$arch/$board/config.h, so we get the following:
Can you point it in the code?

> 
> # git checkout for-next/remove-config-h
> ...
> # make pcm038_defconfig && make
> ...
> # git checkout master
> error: The following untracked working tree files would be overwritten by checkout:
>         arch/arm/boards/pcm038/config.h
> Please move or remove them before you can switch branches.
> Aborting
> 
> So this patch forces us to manually remove arch/$arch/$board/config.h
> or to use git checkout -f

I am do not understand a problem. For me it works OK.

shc@shc /home/git/bb-test-cfg $ ls arch/arm/boards/pcm038/
env  lowlevel.c  Makefile  pcm038.c  pcm038.dox  pcm970.c  pll.h

shc@shc /home/git/bb-test-cfg $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- pcm038_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c: В функции «header_print_comment»:
scripts/kconfig/confdata.c:540:10: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result]
scripts/kconfig/zconf.tab.c: В функции «kconfig_print_comment»:
scripts/kconfig/confdata.c:467:10: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result]
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#

shc@shc /home/git/bb-test-cfg $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
scripts/kconfig/conf --silentoldconfig Kconfig
  Generating include/generated/mach-types.h
  CHK     include/generated/version.h
  UPD     include/generated/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CREATE  include/config.h
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  LD      scripts/built-in.o
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
^Cmake[2]: *** [scripts/mod/modpost.o] Прерывание
make[1]: *** [scripts/mod] Прерывание
make: *** [scripts] Прерывание

shc@shc /home/git/bb-test-cfg $ ls arch/arm/boards/pcm038/
env  lowlevel.c  Makefile  pcm038.c  pcm038.dox  pcm970.c  pll.h

shc@shc /home/git/bb-test-cfg $ git commit -a
# On branch cfg
nothing to commit, working directory clean

...
So, no board/config.h. Just a empty include/config.h.

... Not understand a problem.

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

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

* Re: [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
  2013-04-05 10:07       ` Re[2]: " Alexander Shiyan
@ 2013-04-05 10:18         ` Sascha Hauer
  2013-04-05 10:37           ` Re[2]: " Alexander Shiyan
  0 siblings, 1 reply; 8+ messages in thread
From: Sascha Hauer @ 2013-04-05 10:18 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Fri, Apr 05, 2013 at 02:07:23PM +0400, Alexander Shiyan wrote:
> > > > On Mon, Mar 11, 2013 at 08:10:49PM +0400, Alexander Shiyan wrote:
> > > > > 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 <shc_work@mail.ru>
> > > > > ---
> > > > >  Makefile | 17 +++++++++++------
> > > > >  1 file changed, 11 insertions(+), 6 deletions(-)
> > > > > 
> > > > > diff --git a/Makefile b/Makefile
> > > > > index b5819fc..e8d9984 100644
> > > > > --- a/Makefile
> > > > > +++ b/Makefile
> > > > > @@ -898,13 +898,18 @@ 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							\
> > > > > +		$(kecho) '  CREATE  $@';			\
> > > > > +		echo -n > $@;					\
> > > > > +	fi
> > > > > +endef
> > > > 
> > > > I dropped this patch because it autogenerates files which were
> > > > previously part of the repository. This causes git checkout to
> > > > complain about overwriting existing files when we want to checkout
> > > > earlier versions.
> > > 
> > > Patch creates include/config.h (which is in .gitignore) only
> > > or makes symlink to board/config.h. So all already as you say below.
> > 
> > It creates a arch/$arch/$board/config.h, so we get the following:
> Can you point it in the code?
> 
> > 
> > # git checkout for-next/remove-config-h
> > ...
> > # make pcm038_defconfig && make
> > ...
> > # git checkout master
> > error: The following untracked working tree files would be overwritten by checkout:
> >         arch/arm/boards/pcm038/config.h
> > Please move or remove them before you can switch branches.
> > Aborting
> > 
> > So this patch forces us to manually remove arch/$arch/$board/config.h
> > or to use git checkout -f
> 
> I am do not understand a problem. For me it works OK.
> 
> shc@shc /home/git/bb-test-cfg $ ls arch/arm/boards/pcm038/
> env  lowlevel.c  Makefile  pcm038.c  pcm038.dox  pcm970.c  pll.h
> 
> shc@shc /home/git/bb-test-cfg $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- pcm038_defconfig
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/basic/docproc
>   HOSTCC  scripts/kconfig/conf.o
>   SHIPPED scripts/kconfig/zconf.tab.c
>   SHIPPED scripts/kconfig/zconf.lex.c
>   SHIPPED scripts/kconfig/zconf.hash.c
>   HOSTCC  scripts/kconfig/zconf.tab.o
> scripts/kconfig/zconf.tab.c: В функции «header_print_comment»:
> scripts/kconfig/confdata.c:540:10: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result]
> scripts/kconfig/zconf.tab.c: В функции «kconfig_print_comment»:
> scripts/kconfig/confdata.c:467:10: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result]
>   HOSTLD  scripts/kconfig/conf
> #
> # configuration written to .config
> #
> 
> shc@shc /home/git/bb-test-cfg $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
> scripts/kconfig/conf --silentoldconfig Kconfig
>   Generating include/generated/mach-types.h
>   CHK     include/generated/version.h
>   UPD     include/generated/version.h
>   CHK     include/generated/utsrelease.h
>   UPD     include/generated/utsrelease.h
>   SYMLINK include/asm -> include/asm-arm
>   CREATE  include/config.h
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   LD      scripts/built-in.o
>   CC      scripts/mod/empty.o
>   HOSTCC  scripts/mod/mk_elfconfig
>   MKELF   scripts/mod/elfconfig.h
>   HOSTCC  scripts/mod/modpost.o
> ^Cmake[2]: *** [scripts/mod/modpost.o] Прерывание
> make[1]: *** [scripts/mod] Прерывание
> make: *** [scripts] Прерывание
> 
> shc@shc /home/git/bb-test-cfg $ ls arch/arm/boards/pcm038/
> env  lowlevel.c  Makefile  pcm038.c  pcm038.dox  pcm970.c  pll.h
> 
> shc@shc /home/git/bb-test-cfg $ git commit -a
> # On branch cfg
> nothing to commit, working directory clean
> 
> ...
> So, no board/config.h. Just a empty include/config.h.
> 
> ... Not understand a problem.

Ah, I understand now ;)

The problem here is that include/config.h previously existed as a link.
Your patch does a 'echo > include/config.h'. When this is a link then it
will empty the file the link points to instead of creating an empty
include/config.h.

So, to run into it you have to:

# git checkout master
# make pcm038_defconfig && make
# git checkout for-next/for-next/remove-config-h
# make
# git checkout master

The solution to this seems to be to remove include/config.h before
echoing into it.

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] 8+ messages in thread

* Re[2]: [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board
  2013-04-05 10:18         ` Sascha Hauer
@ 2013-04-05 10:37           ` Alexander Shiyan
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-04-05 10:37 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

> On Fri, Apr 05, 2013 at 02:07:23PM +0400, Alexander Shiyan wrote:
> > > > > On Mon, Mar 11, 2013 at 08:10:49PM +0400, Alexander Shiyan wrote:
> > > > > > 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.

Ah, yes. Nice catch. I'll post v2 later.
Just a additional "rm -f $@;" need to be included before "echo".

> > > > > > 
> > > > > > Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> > > > > > ---
> > > > > >  Makefile | 17 +++++++++++------
> > > > > >  1 file changed, 11 insertions(+), 6 deletions(-)
> > > > > > 
> > > > > > diff --git a/Makefile b/Makefile
> > > > > > index b5819fc..e8d9984 100644
> > > > > > --- a/Makefile
> > > > > > +++ b/Makefile
> > > > > > @@ -898,13 +898,18 @@ 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							\
> > > > > > +		$(kecho) '  CREATE  $@';			\
> > > > > > +		echo -n > $@;					\
> > > > > > +	fi
> > > > > > +endef
> > > > > 
> > > > > I dropped this patch because it autogenerates files which were
> > > > > previously part of the repository. This causes git checkout to
> > > > > complain about overwriting existing files when we want to checkout
> > > > > earlier versions.
> > > > 
> > > > Patch creates include/config.h (which is in .gitignore) only
> > > > or makes symlink to board/config.h. So all already as you say below.
> > > 
> > > It creates a arch/$arch/$board/config.h, so we get the following:
> > Can you point it in the code?
> > 
> > > 
> > > # git checkout for-next/remove-config-h
> > > ...
> > > # make pcm038_defconfig && make
> > > ...
> > > # git checkout master
> > > error: The following untracked working tree files would be overwritten by checkout:
> > >         arch/arm/boards/pcm038/config.h
> > > Please move or remove them before you can switch branches.
> > > Aborting
> > > 
> > > So this patch forces us to manually remove arch/$arch/$board/config.h
> > > or to use git checkout -f
> > 
> > I am do not understand a problem. For me it works OK.
> > 
> > shc@shc /home/git/bb-test-cfg $ ls arch/arm/boards/pcm038/
> > env  lowlevel.c  Makefile  pcm038.c  pcm038.dox  pcm970.c  pll.h
> > 
> > shc@shc /home/git/bb-test-cfg $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- pcm038_defconfig
> >   HOSTCC  scripts/basic/fixdep
> >   HOSTCC  scripts/basic/docproc
> >   HOSTCC  scripts/kconfig/conf.o
> >   SHIPPED scripts/kconfig/zconf.tab.c
> >   SHIPPED scripts/kconfig/zconf.lex.c
> >   SHIPPED scripts/kconfig/zconf.hash.c
> >   HOSTCC  scripts/kconfig/zconf.tab.o
> > scripts/kconfig/zconf.tab.c: В функции «header_print_comment»:
> > scripts/kconfig/confdata.c:540:10: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result]
> > scripts/kconfig/zconf.tab.c: В функции «kconfig_print_comment»:
> > scripts/kconfig/confdata.c:467:10: предупреждение: ignoring return value of «fwrite», declared with attribute warn_unused_result [-Wunused-result]
> >   HOSTLD  scripts/kconfig/conf
> > #
> > # configuration written to .config
> > #
> > 
> > shc@shc /home/git/bb-test-cfg $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
> > scripts/kconfig/conf --silentoldconfig Kconfig
> >   Generating include/generated/mach-types.h
> >   CHK     include/generated/version.h
> >   UPD     include/generated/version.h
> >   CHK     include/generated/utsrelease.h
> >   UPD     include/generated/utsrelease.h
> >   SYMLINK include/asm -> include/asm-arm
> >   CREATE  include/config.h
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >   LD      scripts/built-in.o
> >   CC      scripts/mod/empty.o
> >   HOSTCC  scripts/mod/mk_elfconfig
> >   MKELF   scripts/mod/elfconfig.h
> >   HOSTCC  scripts/mod/modpost.o
> > ^Cmake[2]: *** [scripts/mod/modpost.o] Прерывание
> > make[1]: *** [scripts/mod] Прерывание
> > make: *** [scripts] Прерывание
> > 
> > shc@shc /home/git/bb-test-cfg $ ls arch/arm/boards/pcm038/
> > env  lowlevel.c  Makefile  pcm038.c  pcm038.dox  pcm970.c  pll.h
> > 
> > shc@shc /home/git/bb-test-cfg $ git commit -a
> > # On branch cfg
> > nothing to commit, working directory clean
> > 
> > ...
> > So, no board/config.h. Just a empty include/config.h.
> > 
> > ... Not understand a problem.
> 
> Ah, I understand now ;)
> 
> The problem here is that include/config.h previously existed as a link.
> Your patch does a 'echo > include/config.h'. When this is a link then it
> will empty the file the link points to instead of creating an empty
> include/config.h.
> 
> So, to run into it you have to:
> 
> # git checkout master
> # make pcm038_defconfig && make
> # git checkout for-next/for-next/remove-config-h
> # make
> # git checkout master
> 
> The solution to this seems to be to remove include/config.h before
> echoing into it.
> 
> 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] 8+ messages in thread

end of thread, other threads:[~2013-04-05 10:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-11 16:10 [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Alexander Shiyan
2013-03-11 16:10 ` [PATCH 2/2] Remove unused config.h Alexander Shiyan
2013-04-05  9:12 ` [PATCH 1/2] Makefile: Create empty <config.h> if this header file is not needed by board Sascha Hauer
2013-04-05  9:20   ` Re[2]: " Alexander Shiyan
2013-04-05  9:36     ` Sascha Hauer
2013-04-05 10:07       ` Re[2]: " Alexander Shiyan
2013-04-05 10:18         ` Sascha Hauer
2013-04-05 10:37           ` Re[2]: " Alexander Shiyan

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