diff options
author | HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> | 2012-03-23 13:41:35 +0900 |
---|---|---|
committer | Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> | 2012-05-11 11:02:16 +0900 |
commit | b722ff707b2b071df0684e92829dcb239a63a3bd (patch) | |
tree | 0a34396ec544f442ce97774652e0812419817e36 /Makefile | |
parent | 5e01993c04b6777009f28d7b7cbdd25e7691eaf1 (diff) |
[PATCH v3 4/4] Add build condition for LZO support.
To enable lzo compression support, build makedumpfile as:
$ make USELZO=on
To disable, as:
$ make
In default, lzo compression support is disabled.
Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -50,6 +50,11 @@ ifneq ($(LINKTYPE), dynamic) LIBS := -static $(LIBS) endif +ifeq ($(USELZO), on) +LIBS := -llzo2 $(LIBS) +CFLAGS += -DUSELZO +endif + all: makedumpfile $(OBJ_PART): $(SRC_PART) |