From 0eb6ae01f9e6a67f08d498f54d5187818c6379f8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Tue, 17 Apr 2012 16:35:37 +0800 Subject: [PATCH] pack-kernel: support vpu driver compile as module --- pack-kernel-rk29.sh | 11 +++-------- pack-kernel-rk30.sh | 3 +-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/pack-kernel-rk29.sh b/pack-kernel-rk29.sh index 3fd38d88b3e4..e8e2fca60209 100755 --- a/pack-kernel-rk29.sh +++ b/pack-kernel-rk29.sh @@ -5,15 +5,7 @@ FILES=( # arch arch/arm/mach-rk29/clock.c arch/arm/mach-rk29/ddr.c -arch/arm/mach-rk29/vpu*.c arch/arm/mach-rk29/verifyID.c - -arch/arm/plat-rk/vpu*.c - -#drivers/staging/rk29/ipp/rk29-ipp.c - -# exclude drivers/net/wireless/rkwifi/fw_path.c -drivers/net/wireless/rkwifi/[abcdeghijklmnopqrstuvwxyz]*.c ) DIRS=( @@ -22,6 +14,9 @@ DIRS=( EXCLUDES=( pack-kernel* +arch/arm/mach-rk29/vpu*.c +arch/arm/plat-rk/vpu*.c + arch/arm/mach-rk30/*.c arch/arm/mach-rk30/*.h arch/arm/mach-rk30/*.S diff --git a/pack-kernel-rk30.sh b/pack-kernel-rk30.sh index 4bbf858dc977..e3ef9cad1327 100755 --- a/pack-kernel-rk30.sh +++ b/pack-kernel-rk30.sh @@ -5,8 +5,6 @@ FILES=( # arch arch/arm/mach-rk30/clock_data.c arch/arm/mach-rk30/ddr*.c - -arch/arm/plat-rk/vpu*.c ) DIRS=( @@ -15,6 +13,7 @@ DIRS=( EXCLUDES=( pack-kernel* +arch/arm/plat-rk/vpu*.c arch/arm/mach-rk29/*.c arch/arm/mach-rk29/*.h arch/arm/mach-rk29/*.S -- 2.34.1