rename the omap4 target to omap
authorImre Kaloz <kaloz@openwrt.org>
Fri, 8 Nov 2013 12:37:39 +0000 (12:37 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 8 Nov 2013 12:37:39 +0000 (12:37 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 38691

package/boot/uboot-omap/Makefile
package/kernel/mac80211/Makefile
target/linux/omap/Makefile [moved from target/linux/omap4/Makefile with 68% similarity]
target/linux/omap/base-files/etc/inittab [moved from target/linux/omap4/base-files/etc/inittab with 100% similarity]
target/linux/omap/config-default [moved from target/linux/omap4/config-default with 100% similarity]
target/linux/omap/image/Makefile [moved from target/linux/omap4/image/Makefile with 100% similarity]
target/linux/omap/image/boot.script [moved from target/linux/omap4/image/boot.script with 73% similarity]
target/linux/omap/patches/001-omap4_pandaboard-wlan_fix.patch [moved from target/linux/omap4/patches/001-omap4_pandaboard-wlan_fix.patch with 100% similarity]

index 356be5183edf55b4cbb2bed37e1079befda26014..73d1dc5795a0289957103e14432ff2851307b010 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -46,10 +46,10 @@ endef
 UBOOTS:=omap4_panda am335x_evm omap3_overo omap3_beagle
 
 define Package/uboot/template
-define Package/uboot-omap4-$(1)
+define Package/uboot-omap-$(1)
   SECTION:=boot
   CATEGORY:=Boot Loaders
-  DEPENDS:=@TARGET_omap4
+  DEPENDS:=@TARGET_omap
   TITLE:=$(2)
   URL:=http://www.denx.de/wiki/U-Boot
   VARIANT:=$(1)
@@ -85,7 +85,7 @@ define Package/uboot/install/default
 endef
 
 define Package/uboot/install/template
-define Package/uboot-omap4-$(1)/install
+define Package/uboot-omap-$(1)/install
        $(call Package/uboot/install/default,$(2))
 endef
 endef
@@ -96,5 +96,5 @@ $(foreach u,$(UBOOTS), \
 
 $(foreach u,$(UBOOTS), \
        $(eval $(call BuildUBootPackage,$(u))) \
-       $(eval $(call BuildPackage,uboot-omap4-$(u))) \
+       $(eval $(call BuildPackage,uboot-omap-$(u))) \
 )
index ae04ddeebe170c3c336711aae5a3d64561271941..16bfb6fb73341dcba35ab24adf6cb29740fb56bd 100644 (file)
@@ -916,7 +916,7 @@ define KernelPackage/wl12xx
   $(call KernelPackage/mac80211/Default)
   TITLE:=Driver for TI WL12xx
   URL:=http://wireless.kernel.org/en/users/Drivers/wl12xx
-  DEPENDS+= @TARGET_omap4 +kmod-mac80211
+  DEPENDS+= @TARGET_omap +kmod-mac80211
   FILES:= \
        $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wl12xx/wl12xx.ko \
        $(PKG_BUILD_DIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
similarity index 68%
rename from target/linux/omap4/Makefile
rename to target/linux/omap/Makefile
index 4deeddab88c01b03a03a1f300acfa2d526aef9cf..3a62911ca393f5957805a6f36f2a5f4f0b9e9553 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -7,8 +7,8 @@
 include $(TOPDIR)/rules.mk
 
 ARCH:=arm
-BOARD:=omap4
-BOARDNAME:=TI OMAP4
+BOARD:=omap
+BOARDNAME:=TI OMAP3/4/AM33xx
 FEATURES:=usb targz audio display
 CPU_TYPE:=cortex-a9
 CPU_SUBTYPE:=vfpv3
@@ -19,12 +19,12 @@ MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
 
 KERNELNAME:="uImage"
 
-DEFAULT_PACKAGES += uboot-omap4-omap4_panda
+DEFAULT_PACKAGES += uboot-omap-am335x_evm uboot-omap-omap3_beagle uboot-omap-omap3_overo uboot-omap-omap4_panda
 
 DEVICE_TYPE=developerboard
 
 define Target/Description
-       TI OMAP4
+       TI OMAP boards
 endef
 
 include $(INCLUDE_DIR)/target.mk
similarity index 73%
rename from target/linux/omap4/image/boot.script
rename to target/linux/omap/image/boot.script
index 521f4389cff6d312dd101cd8691c9377f1b3202d..d884a70195b840617d1d383deaa2382d2ef9bc3e 100644 (file)
@@ -1,3 +1,3 @@
-fatload mmc 0:1 0x80000000 openwrt-omap4-uImage
+fatload mmc 0:1 0x80000000 openwrt-omap-uImage
 setenv bootargs vram=32M fixrtc mem=1G@0x80000000 root=/dev/mmcblk0p2 rootfstype=ext4 console=ttyO2,115200n8 rootwait
 bootm 0x80000000