geresa / openwrt-upx

UPX package for OpenWrt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Makefile 100.0%