summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pa-lld/files/init_pa.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/pa-lld/files/init_pa.sh')
-rwxr-xr-xrecipes-bsp/pa-lld/files/init_pa.sh47
1 files changed, 0 insertions, 47 deletions
diff --git a/recipes-bsp/pa-lld/files/init_pa.sh b/recipes-bsp/pa-lld/files/init_pa.sh
deleted file mode 100755
index 8f80e355..00000000
--- a/recipes-bsp/pa-lld/files/init_pa.sh
+++ /dev/null
@@ -1,47 +0,0 @@
1#*
2#* Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
3#*
4#*
5#* Redistribution and use in source and binary forms, with or without
6#* modification, are permitted provided that the following conditions
7#* are met:
8#*
9#* Redistributions of source code must retain the above copyright
10#* notice, this list of conditions and the following disclaimer.
11#*
12#* Redistributions in binary form must reproduce the above copyright
13#* notice, this list of conditions and the following disclaimer in the
14#* documentation and/or other materials provided with the
15#* distribution.
16#*
17#* Neither the name of Texas Instruments Incorporated nor the names of
18#* its contributors may be used to endorse or promote products derived
19#* from this software without specific prior written permission.
20#*
21
22#! /bin/sh
23compatible=$(cat /proc/device-tree/compatible)
24
25cd /usr/lib
26case "$compatible" in
27 *k2hk*)
28 device=k2hk
29 ln -sf libpa.so.1.0.0 libpa_device.so.1
30 ;;
31 *k2l*)
32 device=k2l
33 ln -sf libpa2.so.1.0.0 libpa_device.so.1
34 ;;
35 *k2e*)
36 device=k2e
37 ln -sf libpa2.so.1.0.0 libpa_device.so.1
38 ;;
39 *)
40 device=unknown
41 ;;
42esac
43
44if [ $device != unknown ]; then
45 ln -sf libpa_device.so.1 libpa_device.so
46 echo PA library link established for device : $device
47fi