Skip to content

Commit

Permalink
crespo: Re-implement the use of module location variables
Browse files Browse the repository at this point in the history
In commit c2667b3 the
ability to override the wifi kernel module location was
removed. Add the ability to pass the location of the wifi
and scsi_wait_scan module.

Change-Id: I93c9ea93f7e789d849a6f8341257bf1a7cb0bc48
  • Loading branch information
Brint E. Kriebel committed Apr 4, 2012
1 parent d733e00 commit 0e1c160
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 0 additions & 4 deletions KernelModules.mk

This file was deleted.

12 changes: 11 additions & 1 deletion device_base.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Portions Copyright (C) 2012 VMware, Inc. All Rights Reserved.
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -214,13 +215,22 @@ PRODUCT_TAGS += dalvik.gc.type-precise
# Screen size is "normal", density is "hdpi"
PRODUCT_AAPT_CONFIG := normal hdpi

# Kernel Modules to be copied
ifeq ($(TARGET_PREBUILT_WIFI_MODULE),)
LOCAL_WIFI_MODULE := device/samsung/crespo/bcm4329.ko
else
LOCAL_WIFI_MODULE := $(TARGET_PREBUILT_WIFI_MODULE)
endif

include device/samsung/crespo/KernelModules.mk
ifeq ($(TARGET_PREBUILT_SCSI_MODULE),)
LOCAL_SCSI_MODULE := device/samsung/crespo/scsi_wait_scan.ko
else
LOCAL_SCSI_MODULE := $(TARGET_PREBUILT_SCSI_MODULE)
endif

PRODUCT_COPY_FILES += \
$(LOCAL_WIFI_MODULE):system/modules/bcm4329.ko \
$(LOCAL_SCSI_MODULE):system/modules/scsi_wait_scan.ko

ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/samsung/crespo/kernel
Expand Down

0 comments on commit 0e1c160

Please sign in to comment.