summaryrefslogtreecommitdiffstats
path: root/loader2/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2006-09-05 22:17:36 +0000
committerPeter Jones <pjones@redhat.com>2006-09-05 22:17:36 +0000
commit1b1a2dfa8ef0d51d367b2339010c6a353d7c1144 (patch)
tree17ea56cb7abc22a59b46e45f4da3c17cb4443e4d /loader2/Makefile
parentb4368b4bab49a63d1542abd1674263cb9d3b04a8 (diff)
downloadanaconda-1b1a2dfa8ef0d51d367b2339010c6a353d7c1144.tar.gz
anaconda-1b1a2dfa8ef0d51d367b2339010c6a353d7c1144.tar.xz
anaconda-1b1a2dfa8ef0d51d367b2339010c6a353d7c1144.zip
- don't use firmware loader
Diffstat (limited to 'loader2/Makefile')
-rw-r--r--loader2/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/loader2/Makefile b/loader2/Makefile
index 28cdbdc58..63aa872ec 100644
--- a/loader2/Makefile
+++ b/loader2/Makefile
@@ -7,7 +7,7 @@ else
TARGET=depend $(PROGS)
endif
-LIBS = -lnewt -lslang -lz -ldevmapper -lpopt ../isys/libisys.a
+LIBS = -lnewt -lslang -lz -lpopt ../isys/libisys.a
# glib - for utility stuff
LIBS += $(shell pkg-config --libs glib-2.0)
@@ -17,9 +17,15 @@ CFLAGS += $(shell pkg-config --cflags glib-2.0)
LIBS += $(shell pkg-config --libs libdhcp)
CFLAGS += $(shell pkg-config --cflags libdhcp)
+# devmapper
+LIBS += $(shell pkg-config --libs devmapper)
+CFLAGS += $(shell pkg-config --cflags devmapper)
+
+ifeq (1, $(USEFWLOADER))
# nash library flags
LIBS += $(shell pkg-config --libs libnash)
-CFLAGS += $(shell pkg-config --cflags libnash)
+CFLAGS += $(shell pkg-config --cflags libnash) -DNASH_FIRMWARE_LOADER
+endif
ifeq (1, $(USESELINUX))
LIBS += -lselinux -lsepol