On Tue, Mar 22, 2011 at 6:25 PM, Patrik Ryd <patrik....@linaro.org> wrote:
> On 21 March 2011 19:35, Jeremy Chang <jeremy.ch...@linaro.org> wrote:
>>
>> vold.fstab is the vold configuration file to tell what the device to
>> mount.
>>
>> Add device.mk, the device-specific product definition file for copy
>> device-specific drivers, configuration files, settings, etc.
>>
>> Signed-off-by: Jeremy Chang <jeremy.ch...@linaro.org>
>> ---
>>  beagleboard.mk |    1 +
>>  device.mk      |   16 ++++++++++++++++
>>  vold.fstab     |   15 +++++++++++++++
>>  3 files changed, 32 insertions(+), 0 deletions(-)
>>  create mode 100644 device.mk
>>  create mode 100644 vold.fstab
>>
>> diff --git a/beagleboard.mk b/beagleboard.mk
>> index f810f36..015b605 100644
>> --- a/beagleboard.mk
>> +++ b/beagleboard.mk
>> @@ -29,6 +29,7 @@ PRODUCT_PACKAGES := \
>>
>>
>>  $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
>> +$(call inherit-product, device/linaro/beagleboard/device.mk)
>>
>>  # Overrides
>>  PRODUCT_BRAND := beagleboard
>> diff --git a/device.mk b/device.mk
>> new file mode 100644
>> index 0000000..79979e3
>> --- /dev/null
>> +++ b/device.mk
>> @@ -0,0 +1,16 @@
>> +# Copyright (C) 2010 The Android Open Source Project
>
> Minor comment: Our device.mk file was written by you and then it is Linaro
> that has the copyright.
> We should probably think more about this. I know that AOSP prefers to have
> the line above, but according to the contribution agreement with AOSP we
> just give them an irrevocable never ending license to do whatever they want
> with the code in any part of the Universe for free. We still have the
> copyright of the code, but they can do whatever the want. :)
> Anyway. I don't think we will contribute this file.
>

Hi, Patrik:
    Thanks for reminding this.

Regards,
-Jeremy

>>
>> +#
>> +# Licensed under the Apache License, Version 2.0 (the "License");
>> +# you may not use this file except in compliance with the License.
>> +# You may obtain a copy of the License at
>> +#
>> +#      http://www.apache.org/licenses/LICENSE-2.0
>> +#
>> +# Unless required by applicable law or agreed to in writing, software
>> +# distributed under the License is distributed on an "AS IS" BASIS,
>> +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
>> implied.
>> +# See the License for the specific language governing permissions and
>> +# limitations under the License.
>> +
>> +PRODUCT_COPY_FILES := \
>> +    device/linaro/beagleboard/vold.fstab:system/etc/vold.fstab
>> diff --git a/vold.fstab b/vold.fstab
>> new file mode 100644
>> index 0000000..c17bb64
>> --- /dev/null
>> +++ b/vold.fstab
>> @@ -0,0 +1,15 @@
>> +## Vold 2.0 Generic fstab
>> +## - San Mehat (s...@android.com)
>> +##
>> +
>> +#######################
>> +## Regular device mount
>> +##
>> +## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
>> +## label        - Label for the volume
>> +## mount_point  - Where the volume will be mounted
>> +## part         - Partition # (1 based), or 'auto' for first usable
>> partition.
>> +## <sysfs_path> - List of sysfs paths to source devices
>> +######################
>> +
>> +dev_mount sdcard /mnt/sdcard 7
>> /devices/platform/mmci-omap-hs.0/mmc_host/mmc0
>> --
>> 1.7.1
>
>

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to