From af89f0c95c65add5e8b46d50acc6bfeadb44ee7b Mon Sep 17 00:00:00 2001 From: jogo Date: Wed, 28 Mar 2012 20:42:37 +0000 Subject: [PATCH] bcm63xx: enable bcm6368 for linux 3.3 and build images Only build bcm6368 images when building for linux 3.3. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31133 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/config-3.3 | 4 ++-- target/linux/brcm63xx/image/Makefile | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/target/linux/brcm63xx/config-3.3 b/target/linux/brcm63xx/config-3.3 index 3d1b01be9..19137ffbd 100644 --- a/target/linux/brcm63xx/config-3.3 +++ b/target/linux/brcm63xx/config-3.3 @@ -16,7 +16,7 @@ CONFIG_BCM63XX_CPU_6338=y CONFIG_BCM63XX_CPU_6345=y CONFIG_BCM63XX_CPU_6348=y CONFIG_BCM63XX_CPU_6358=y -# CONFIG_BCM63XX_CPU_6368 is not set +CONFIG_BCM63XX_CPU_6368=y CONFIG_BCM63XX_ENET=y CONFIG_BCM63XX_PHY=y CONFIG_BCM63XX_WDT=y @@ -82,7 +82,7 @@ CONFIG_HAVE_OPROFILE=y CONFIG_HAVE_PERF_EVENTS=y CONFIG_HW_HAS_PCI=y CONFIG_HW_RANDOM=y -# CONFIG_HW_RANDOM_BCM63XX is not set +CONFIG_HW_RANDOM_BCM63XX=y CONFIG_HZ=250 # CONFIG_HZ_100 is not set CONFIG_HZ_250=y diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 09364c41d..ebe09eba0 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -158,6 +158,11 @@ define Image/Build $(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic) $(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic) + ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.3)),1) + $(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic) + $(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic) + endif + # BT Voyager V210_BTR $(call Image/Build/CFE,$(1),V210_BB,6348,BTV210_BTR,,--layoutver 5) # BT Voyager V210_ROI, V210_WB -- 2.20.1