diff options
author | Lee Duncan <lduncan@suse.com> | 2022-03-29 11:07:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 11:07:22 -0700 |
commit | 4cc94655720a5c1fe3baf1cb903ed35880d505fe (patch) | |
tree | b96c83ff4479e16f9032dcabf4435270f2ca6a9d /utils/fwparam_ibft/Makefile | |
parent | ec7eae680c2d6bc2f1852091cafce45e00e93f45 (diff) | |
parent | 9a2d2f2cf391c707a98204d488c3cb3e58cdab00 (diff) | |
download | open-iscsi-4cc94655720a5c1fe3baf1cb903ed35880d505fe.tar.gz |
Merge pull request #325 from gonzoleeman/make_etc_iscsi_configurable
Make etc iscsi configurable
Diffstat (limited to 'utils/fwparam_ibft/Makefile')
-rw-r--r-- | utils/fwparam_ibft/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/fwparam_ibft/Makefile b/utils/fwparam_ibft/Makefile index 1a2b4cf..c27ba40 100644 --- a/utils/fwparam_ibft/Makefile +++ b/utils/fwparam_ibft/Makefile @@ -24,6 +24,7 @@ ifeq ($(TOPDIR),) TOPDIR = ../.. endif +SBINDIR ?= $(DESTDIR)/sbin SYSDEPS_OBJS = $(sort $(wildcard ../sysdeps/*.o)) OBJS := fw_entry.o fwparam_sysfs.o $(SYSDEPS_OBJS) \ @@ -35,6 +36,7 @@ CFLAGS ?= -O2 -g WARNFLAGS ?= -Wall -Wstrict-prototypes -Wno-format-truncation CFLAGS += -fPIC $(WARNFLAGS) -I$(TOPDIR)/include -I$(TOPDIR)/usr -D_GNU_SOURCE \ -I$(TOPDIR)/libopeniscsiusr +CFLAGS += -DSBINDIR=\"$(SBINDIR)\" LDFLAGS += -L$(TOPDIR)/libopeniscsiusr -liscsiusr |