Skip to content

Commit

Permalink
support debian package format
Browse files Browse the repository at this point in the history
  • Loading branch information
hh committed Mar 11, 2015
1 parent 667474f commit bef20c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions device-software/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function usage()
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]"
echo -e "\t-l --list_sdk_hosts\t\tlist availables sdk host supported machines"
echo -e "\t--create_src_archive\t\twhen set, copies sources of all deployed packages into build/tmp/deploy/sources"
echo -e "\t--deb_packages\t\twhen set, use .deb package format instead of .ipk"
echo ""
}

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

#probe my_sdk_host from uname
plat=$(uname -s | tr '[:upper:]' '[:lower:]')
Expand Down Expand Up @@ -155,6 +157,9 @@ ARCHIVER_MODE[src] = \"original\"
COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*'
"
;;
--deb_packages)
extra_package_type="PACKAGE_CLASSES = \"package_deb\""
;;
--dl_dir)
check_path
my_dl_dir=$(readlink -f "$VALUE")
Expand Down

0 comments on commit bef20c1

Please sign in to comment.