Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
ab76e984
Commit
ab76e984
authored
Feb 05, 2009
by
Mike Frysinger
Committed by
Wolfgang Denk
Feb 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bzip2: move ifdef handling to Makefile COBJS-$(...)
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
ae0b05df
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
20 deletions
+5
-20
lib_generic/Makefile
lib_generic/Makefile
+5
-5
lib_generic/bzlib.c
lib_generic/bzlib.c
+0
-3
lib_generic/bzlib_crctable.c
lib_generic/bzlib_crctable.c
+0
-3
lib_generic/bzlib_decompress.c
lib_generic/bzlib_decompress.c
+0
-3
lib_generic/bzlib_huffman.c
lib_generic/bzlib_huffman.c
+0
-3
lib_generic/bzlib_randtable.c
lib_generic/bzlib_randtable.c
+0
-3
No files found.
lib_generic/Makefile
View file @
ab76e984
...
...
@@ -26,11 +26,11 @@ include $(TOPDIR)/config.mk
LIB
=
$(obj)
libgeneric.a
COBJS-$(CONFIG_ADDR_MAP)
+=
addr_map.o
COBJS-
y
+=
bzlib.o
COBJS-
y
+=
bzlib_crctable.o
COBJS-
y
+=
bzlib_decompress.o
COBJS-
y
+=
bzlib_randtable.o
COBJS-
y
+=
bzlib_huffman.o
COBJS-
$(CONFIG_BZIP2)
+=
bzlib.o
COBJS-
$(CONFIG_BZIP2)
+=
bzlib_crctable.o
COBJS-
$(CONFIG_BZIP2)
+=
bzlib_decompress.o
COBJS-
$(CONFIG_BZIP2)
+=
bzlib_randtable.o
COBJS-
$(CONFIG_BZIP2)
+=
bzlib_huffman.o
COBJS-y
+=
crc16.o
COBJS-y
+=
crc32.o
COBJS-y
+=
ctype.o
...
...
lib_generic/bzlib.c
View file @
ab76e984
#include <config.h>
#include <common.h>
#include <watchdog.h>
#ifdef CONFIG_BZIP2
/*
* This file is a modified version of bzlib.c from the bzip2-1.0.2
...
...
@@ -1600,5 +1599,3 @@ void bz_internal_error(int errcode)
/*-------------------------------------------------------------*/
/*--- end bzlib.c ---*/
/*-------------------------------------------------------------*/
#endif
/* CONFIG_BZIP2 */
lib_generic/bzlib_crctable.c
View file @
ab76e984
#include <config.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Table for doing CRCs ---*/
...
...
@@ -144,5 +143,3 @@ UInt32 BZ2_crc32Table[256] = {
/*-------------------------------------------------------------*/
/*--- end crctable.c ---*/
/*-------------------------------------------------------------*/
#endif
/* CONFIG_BZIP2 */
lib_generic/bzlib_decompress.c
View file @
ab76e984
#include <config.h>
#include <common.h>
#include <watchdog.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Decompression machinery ---*/
...
...
@@ -673,5 +672,3 @@ Int32 BZ2_decompress ( DState* s )
/*-------------------------------------------------------------*/
/*--- end decompress.c ---*/
/*-------------------------------------------------------------*/
#endif
/* CONFIG_BZIP2 */
lib_generic/bzlib_huffman.c
View file @
ab76e984
#include <config.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Huffman coding low-level stuff ---*/
...
...
@@ -228,5 +227,3 @@ void BZ2_hbCreateDecodeTables ( Int32 *limit,
/*-------------------------------------------------------------*/
/*--- end huffman.c ---*/
/*-------------------------------------------------------------*/
#endif
/* CONFIG_BZIP2 */
lib_generic/bzlib_randtable.c
View file @
ab76e984
#include <config.h>
#ifdef CONFIG_BZIP2
/*-------------------------------------------------------------*/
/*--- Table for randomising repetitive blocks ---*/
...
...
@@ -124,5 +123,3 @@ Int32 BZ2_rNums[512] = {
/*-------------------------------------------------------------*/
/*--- end randtable.c ---*/
/*-------------------------------------------------------------*/
#endif
/* CONFIG_BZIP2 */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment