Skip to content

Commit bef20c1

Browse files
committed
support debian package format
1 parent 667474f commit bef20c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

device-software/setup.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ function usage()
113113
echo -e "\t--sdk_host=$my_sdk_host\t\tchoose host machine on which the generated SDK and cross compiler will be run. Must be one of [$all_sdk_hosts]"
114114
echo -e "\t-l --list_sdk_hosts\t\tlist availables sdk host supported machines"
115115
echo -e "\t--create_src_archive\t\twhen set, copies sources of all deployed packages into build/tmp/deploy/sources"
116+
echo -e "\t--deb_packages\t\twhen set, use .deb package format instead of .ipk"
116117
echo ""
117118
}
118119

@@ -125,6 +126,7 @@ main() {
125126
my_parallel_make=4
126127
my_build_name="Custom Edison build by $USER@$HOSTNAME "$(date +"%F %H:%M:%S %Z")
127128
all_sdk_hosts="linux32 linux64 win32 win64 macosx"
129+
extra_package_type=""
128130

129131
#probe my_sdk_host from uname
130132
plat=$(uname -s | tr '[:upper:]' '[:lower:]')
@@ -155,6 +157,9 @@ ARCHIVER_MODE[src] = \"original\"
155157
COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*'
156158
"
157159
;;
160+
--deb_packages)
161+
extra_package_type="PACKAGE_CLASSES = \"package_deb\""
162+
;;
158163
--dl_dir)
159164
check_path
160165
my_dl_dir=$(readlink -f "$VALUE")

0 commit comments

Comments
 (0)