summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergii Kurylo2013-06-03 06:36:31 -0500
committerSergii Kurylo2013-06-03 06:43:55 -0500
commit9da66a66441ed6bc5d77fa2caadf078c53763c51 (patch)
tree27f479293670668f2f8085e0754f06f7eb7c1548
parent5bc092d113f7fd9e93539e26744311345deb4487 (diff)
downloaddevice-ti-common-open-9da66a66441ed6bc5d77fa2caadf078c53763c51.tar.gz
device-ti-common-open-9da66a66441ed6bc5d77fa2caadf078c53763c51.tar.xz
device-ti-common-open-9da66a66441ed6bc5d77fa2caadf078c53763c51.zip
WFD: DHCP leases modification script installation change
This patch modify DHCP script installation procedure from regular copy to installation as executable binary file. In this case executable flag is set for script by build system. Change-Id: Ib199ff9dc724706a242fc2aa758c7906bf7aef37 Signed-off-by: Sergii Kurylo <x0156751@ti.com>
-rw-r--r--wfd/scripts/Android.mk11
-rw-r--r--[-rwxr-xr-x]wfd/scripts/dhcp_script.sh0
-rw-r--r--wfd/wfd-products.mk4
3 files changed, 12 insertions, 3 deletions
diff --git a/wfd/scripts/Android.mk b/wfd/scripts/Android.mk
new file mode 100644
index 0000000..60d9eea
--- /dev/null
+++ b/wfd/scripts/Android.mk
@@ -0,0 +1,11 @@
1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE := dhcp_script.sh
6
7LOCAL_MODULE_CLASS := EXECUTABLES
8
9LOCAL_SRC_FILES := dhcp_script.sh
10
11include $(BUILD_PREBUILT) \ No newline at end of file
diff --git a/wfd/scripts/dhcp_script.sh b/wfd/scripts/dhcp_script.sh
index 7156c79..7156c79 100755..100644
--- a/wfd/scripts/dhcp_script.sh
+++ b/wfd/scripts/dhcp_script.sh
diff --git a/wfd/wfd-products.mk b/wfd/wfd-products.mk
index 21b8e46..f6fea53 100644
--- a/wfd/wfd-products.mk
+++ b/wfd/wfd-products.mk
@@ -3,13 +3,11 @@
3PRODUCT_COPY_FILES += \ 3PRODUCT_COPY_FILES += \
4 device/ti/common-open/wfd/configs/wfd_source_cfg.xml:system/etc/wfd/wfd_source_cfg.xml \ 4 device/ti/common-open/wfd/configs/wfd_source_cfg.xml:system/etc/wfd/wfd_source_cfg.xml \
5 device/ti/common-open/wfd/configs/wfd_sink_cfg.xml:system/etc/wfd/wfd_sink_cfg.xml \ 5 device/ti/common-open/wfd/configs/wfd_sink_cfg.xml:system/etc/wfd/wfd_sink_cfg.xml \
6 device/ti/common-open/wfd/scripts/dhcp_script.sh:system/etc/dhcp_script.sh \
7 device/ti/common-open/wfd/configs/com.ti.wfd.xml:system/etc/permissions/com.ti.wfd.xml 6 device/ti/common-open/wfd/configs/com.ti.wfd.xml:system/etc/permissions/com.ti.wfd.xml
8 7
9PRODUCT_PACKAGES += \ 8PRODUCT_PACKAGES += \
10 libwfdsink_jni \ 9 libwfdsink_jni \
11 com.ti.wfd \ 10 com.ti.wfd \
11 dhcp_script.sh \
12 WfdSinkService \ 12 WfdSinkService \
13 WfdSinkPlayer 13 WfdSinkPlayer
14
15ALL_PREBUILT += $(TOP)/system/etc/dhcp_script.sh