diff options
Diffstat (limited to 'data/darwintools/make.sh')
-rw-r--r-- | data/darwintools/make.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/data/darwintools/make.sh b/data/darwintools/make.sh index 1ae2f726b..7294145fd 100644 --- a/data/darwintools/make.sh +++ b/data/darwintools/make.sh @@ -1,7 +1,8 @@ pkg:setup -pkg: mkdir -p /usr/bin -for tool in startupfiletool sw_vers; do - "${PKG_TARG}-gcc" -o "${tool}" "${tool}.c" -framework CoreFoundation - pkg: cp -a "${tool}" /usr/bin -done +"${PKG_TARG}-gcc" -O2 -mthumb -o startupfiletool startupfiletool.c +"${PKG_TARG}-gcc" -O2 -mthumb -o sw_vers sw_vers.c -framework CoreFoundation + +pkg: mkdir -p /usr/{,s}bin +pkg: cp -a sw_vers /usr/bin +pkg: cp -a startupfiletool /usr/sbin |