[PATCH 2/4] beagle: move to arch/arm/boards/beagle
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Jan 14 09:51:06 EST 2012
this will allow to create it's own env/config
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
arch/arm/Makefile | 2 +-
arch/arm/boards/beagle/Makefile | 1 +
.../boards/{omap/board-beagle.c => beagle/board.c} | 0
arch/arm/boards/beagle/config.h | 21 ++++++++++++++++++++
arch/arm/boards/omap/Makefile | 1 -
5 files changed, 23 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/boards/beagle/Makefile
rename arch/arm/boards/{omap/board-beagle.c => beagle/board.c} (100%)
create mode 100644 arch/arm/boards/beagle/config.h
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 5981b8e..bba5d6a 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -88,7 +88,7 @@ board-$(CONFIG_MACH_MX1ADS) := mx1ads
board-$(CONFIG_MACH_NOMADIK_8815NHK) := nhk8815
board-$(CONFIG_MACH_NXDB500) := netx
board-$(CONFIG_MACH_OMAP343xSDP) := omap
-board-$(CONFIG_MACH_BEAGLE) := omap
+board-$(CONFIG_MACH_BEAGLE) := beagle
board-$(CONFIG_MACH_OMAP3EVM) := omap
board-$(CONFIG_MACH_PANDA) := panda
board-$(CONFIG_MACH_PCM049) := pcm049
diff --git a/arch/arm/boards/beagle/Makefile b/arch/arm/boards/beagle/Makefile
new file mode 100644
index 0000000..dcfc293
--- /dev/null
+++ b/arch/arm/boards/beagle/Makefile
@@ -0,0 +1 @@
+obj-y += board.o
diff --git a/arch/arm/boards/omap/board-beagle.c b/arch/arm/boards/beagle/board.c
similarity index 100%
rename from arch/arm/boards/omap/board-beagle.c
rename to arch/arm/boards/beagle/board.c
diff --git a/arch/arm/boards/beagle/config.h b/arch/arm/boards/beagle/config.h
new file mode 100644
index 0000000..b908fc0
--- /dev/null
+++ b/arch/arm/boards/beagle/config.h
@@ -0,0 +1,21 @@
+/**
+ * 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/omap/Makefile b/arch/arm/boards/omap/Makefile
index 8cd9105..b8380df 100644
--- a/arch/arm/boards/omap/Makefile
+++ b/arch/arm/boards/omap/Makefile
@@ -21,5 +21,4 @@
# MA 02111-1307 USA
obj-$(CONFIG_MACH_OMAP343xSDP) += board-sdp343x.o
-obj-$(CONFIG_MACH_BEAGLE) += board-beagle.o
obj-$(CONFIG_MACH_OMAP3EVM) += board-omap3evm.o
--
1.7.7
More information about the barebox
mailing list