Skip to content

Commit

Permalink
make: dont check libelf on clean and install
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jan 2, 2025
1 parent 9a28775 commit 4463ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fdpp/loader/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ CFLAGS += -I . -I $(PPINC) \
-DFDPPKRNLDIR=$(DATADIR)/fdpp \
-DKRNL_ELFNAME=$(TARGET).elf -DKRNL_MAP_NAME=$(TARGET).map \
-fpic
ifeq ($(filter clean install,$(MAKECMDGOALS)),)
LIBELF := $(shell $(PKG_CONFIG) --libs libelf)
ifeq ($(LIBELF),)
$(error libelf not installed)
endif
LIBS += $(LIBELF)
endif

ALL = $(T)/$(FDPPLIB)

Expand Down

0 comments on commit 4463ce9

Please sign in to comment.