This concept is very much like .jar or .war archives in Java.
NOTE: The built
.pyzzipapp can run on both Python 2 & 3 but you can only build.pyzzipapps with Python 3.5 or later.
| #!/usr/bin/env python3 | |
| # Usage: python convert_teegris_tas.py ~/Downloads/sw/pda/s10/fw/fw_G973FXXU4BTA8/AP/vendor/tee/ | |
| import os | |
| import sys | |
| from textwrap import wrap | |
| def teegris_ta_to_elf(path_from, path_to): | |
| with open(path_from, 'rb') as fin: | |
| with open(path_to, 'wb') as fout: |
This concept is very much like .jar or .war archives in Java.
NOTE: The built
.pyzzipapp can run on both Python 2 & 3 but you can only build.pyzzipapps with Python 3.5 or later.
| obj-m += afw.o | |
| afw-objs := afw_main.o locate_sct.o ttgl.o | |
| ccflags-y := -std=gnu99 -O2 | |
| all: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
| clean: | |
| make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |