rbutil: Add bspatch and libbzip2

This is to enable binary patching of Hiby-based firmware files

  Note that noting in rbutil uses this yet.

Change-Id: I03ac824dd7402d508eb4e857ad78f184eb0d0243
This commit is contained in:
Solomon Peachy 2020-04-08 14:39:30 -04:00
parent 5cdfe30e79
commit 8d2d6f4ca5
20 changed files with 5558 additions and 2 deletions

15
rbutil/bzip2/Makefile Normal file
View file

@ -0,0 +1,15 @@
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
LIBSOURCES := blocksort.c compress.c decompress.c randtable.c \
bzlib.c crctable.c huffman.c
OUTPUT := bzip2
include ../libtools.make