Skip to content

kuoruan/openwrt-upx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

openwrt-upx

UPX pacakage for OpenWrt

Build Guide

  • Download and unzip OpenWrt SDK

  • In SDK directory, download Makefiles with git:

  git clone https://github.com/kuoruan/openwrt-upx.git package/openwrt-upx
  • Build pakcage
./scripts/feeds update -a
./scripts/feeds install -a

make defconfig # or make menuconfig

make package/upx/{clean,compile} V=s

For Packages that Need UPX Compress

  • Add upx/host to PKG_BUILD_DEPENDS:
PKG_BUILD_DEPENDS:=... upx/host
  • In Build/Compile stage:
define Build/Compile
  ...
  $(STAGING_DIR_HOST)/bin/upx --lzma --best ... # bin files to be compressed
  ...
endef

About

UPX package for OpenWrt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published