From 0e384ffcb438e830727a753585d0afa9d46f951e Mon Sep 17 00:00:00 2001 From: ryd Date: Mon, 14 Dec 2009 20:58:18 +0000 Subject: [PATCH] Make beagleboard as subtarget from omap35xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18779 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/{beagleboard => omap35xx}/Makefile | 9 +++++---- .../base-files/etc/config/network | 0 .../base-files/etc/inittab | 0 .../{beagleboard => omap35xx}/config-2.6.32 | 0 .../{beagleboard => omap35xx}/files/boot-mmc.cmd | 0 .../omap35xx/generic/profiles/beagleboard.mk | 16 ++++++++++++++++ target/linux/omap35xx/generic/target.mk | 6 ++++++ .../{beagleboard => omap35xx}/image/Makefile | 0 .../{beagleboard => omap35xx}/image/gen_image.sh | 0 .../patches-2.6.32/001-DSS2.patch | 0 .../patches-2.6.32/002-OMAP.patch | 0 .../003-enable_dss2_beagleboard.patch | 0 .../patches-2.6.32/004-compile_fix_dispc.patch} | 0 13 files changed, 27 insertions(+), 4 deletions(-) rename target/linux/{beagleboard => omap35xx}/Makefile (76%) rename target/linux/{beagleboard => omap35xx}/base-files/etc/config/network (100%) rename target/linux/{beagleboard => omap35xx}/base-files/etc/inittab (100%) rename target/linux/{beagleboard => omap35xx}/config-2.6.32 (100%) rename target/linux/{beagleboard => omap35xx}/files/boot-mmc.cmd (100%) create mode 100644 target/linux/omap35xx/generic/profiles/beagleboard.mk create mode 100644 target/linux/omap35xx/generic/target.mk rename target/linux/{beagleboard => omap35xx}/image/Makefile (100%) rename target/linux/{beagleboard => omap35xx}/image/gen_image.sh (100%) rename target/linux/{beagleboard => omap35xx}/patches-2.6.32/001-DSS2.patch (100%) rename target/linux/{beagleboard => omap35xx}/patches-2.6.32/002-OMAP.patch (100%) rename target/linux/{beagleboard => omap35xx}/patches-2.6.32/003-enable_dss2_beagleboard.patch (100%) rename target/linux/{beagleboard/patches-2.6.32/004_compile_fix_dispc.patch => omap35xx/patches-2.6.32/004-compile_fix_dispc.patch} (100%) diff --git a/target/linux/beagleboard/Makefile b/target/linux/omap35xx/Makefile similarity index 76% rename from target/linux/beagleboard/Makefile rename to target/linux/omap35xx/Makefile index dbb727a12..248788776 100644 --- a/target/linux/beagleboard/Makefile +++ b/target/linux/omap35xx/Makefile @@ -7,9 +7,10 @@ include $(TOPDIR)/rules.mk ARCH:=arm -BOARD:=beagleboard -BOARDNAME:=beagleboard -FEATURES:=ext2 usb broken +BOARD:=omap35xx +BOARDNAME:=TI OMAP35xx +FEATURES:=broken +SUBTARGETS=generic LINUX_VERSION:=2.6.32-rc5 KERNELNAME:="uImage" @@ -17,7 +18,7 @@ KERNELNAME:="uImage" DEVICE_TYPE=developerboard define Target/Description - beagleboard - www.beagleboard.org - omap3 arm + omap35xx arm endef include $(INCLUDE_DIR)/target.mk diff --git a/target/linux/beagleboard/base-files/etc/config/network b/target/linux/omap35xx/base-files/etc/config/network similarity index 100% rename from target/linux/beagleboard/base-files/etc/config/network rename to target/linux/omap35xx/base-files/etc/config/network diff --git a/target/linux/beagleboard/base-files/etc/inittab b/target/linux/omap35xx/base-files/etc/inittab similarity index 100% rename from target/linux/beagleboard/base-files/etc/inittab rename to target/linux/omap35xx/base-files/etc/inittab diff --git a/target/linux/beagleboard/config-2.6.32 b/target/linux/omap35xx/config-2.6.32 similarity index 100% rename from target/linux/beagleboard/config-2.6.32 rename to target/linux/omap35xx/config-2.6.32 diff --git a/target/linux/beagleboard/files/boot-mmc.cmd b/target/linux/omap35xx/files/boot-mmc.cmd similarity index 100% rename from target/linux/beagleboard/files/boot-mmc.cmd rename to target/linux/omap35xx/files/boot-mmc.cmd diff --git a/target/linux/omap35xx/generic/profiles/beagleboard.mk b/target/linux/omap35xx/generic/profiles/beagleboard.mk new file mode 100644 index 000000000..69ecdbb82 --- /dev/null +++ b/target/linux/omap35xx/generic/profiles/beagleboard.mk @@ -0,0 +1,16 @@ +# +# Copyright (C) 2006 - 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Beagleboard + NAME:=beagleboard + FEATURES:=ext2 usb +endef + +define Profile/Beagleboard/Description + Beagleboard - www.beagleboard.org +endef +$(eval $(call Profile,Beagleboard)) diff --git a/target/linux/omap35xx/generic/target.mk b/target/linux/omap35xx/generic/target.mk new file mode 100644 index 000000000..30d8f2332 --- /dev/null +++ b/target/linux/omap35xx/generic/target.mk @@ -0,0 +1,6 @@ +BOARDNAME:=Generic + +define Target/Description + Build firmware images for ti omap35xx based boards +endef + diff --git a/target/linux/beagleboard/image/Makefile b/target/linux/omap35xx/image/Makefile similarity index 100% rename from target/linux/beagleboard/image/Makefile rename to target/linux/omap35xx/image/Makefile diff --git a/target/linux/beagleboard/image/gen_image.sh b/target/linux/omap35xx/image/gen_image.sh similarity index 100% rename from target/linux/beagleboard/image/gen_image.sh rename to target/linux/omap35xx/image/gen_image.sh diff --git a/target/linux/beagleboard/patches-2.6.32/001-DSS2.patch b/target/linux/omap35xx/patches-2.6.32/001-DSS2.patch similarity index 100% rename from target/linux/beagleboard/patches-2.6.32/001-DSS2.patch rename to target/linux/omap35xx/patches-2.6.32/001-DSS2.patch diff --git a/target/linux/beagleboard/patches-2.6.32/002-OMAP.patch b/target/linux/omap35xx/patches-2.6.32/002-OMAP.patch similarity index 100% rename from target/linux/beagleboard/patches-2.6.32/002-OMAP.patch rename to target/linux/omap35xx/patches-2.6.32/002-OMAP.patch diff --git a/target/linux/beagleboard/patches-2.6.32/003-enable_dss2_beagleboard.patch b/target/linux/omap35xx/patches-2.6.32/003-enable_dss2_beagleboard.patch similarity index 100% rename from target/linux/beagleboard/patches-2.6.32/003-enable_dss2_beagleboard.patch rename to target/linux/omap35xx/patches-2.6.32/003-enable_dss2_beagleboard.patch diff --git a/target/linux/beagleboard/patches-2.6.32/004_compile_fix_dispc.patch b/target/linux/omap35xx/patches-2.6.32/004-compile_fix_dispc.patch similarity index 100% rename from target/linux/beagleboard/patches-2.6.32/004_compile_fix_dispc.patch rename to target/linux/omap35xx/patches-2.6.32/004-compile_fix_dispc.patch -- 2.20.1