# Makefile for llmnrd # # Copyright (C) 2014-2015 Tobias Klauser P = llmnrd OBJS = llmnr.o iface.o socket.o util.o main.o LIBS = -lpthread CC = $(CROSS_COMPILE)gcc INSTALL = install CFLAGS ?= -W -Wall -O2 LDFLAGS ?= ifeq ($(DEBUG), 1) CFLAGS += -g -DDEBUG endif CCQ = @echo " CC $<" && $(CC) LDQ = @echo " LD $@" && $(CC) prefix ?= /usr/local BINDIR = $(prefix)/bin DESTDIR = all: $(P) $(P): $(OBJS) $(LDQ) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) install_$(P): $(P) @echo " INSTALL $(P)" @$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) @$(INSTALL) -m 755 $(P) $(BINDIR)/$(P) %.o: %.c %.h $(CCQ) $(CFLAGS) -o $@ -c $< %.o: %.c $(CCQ) $(CFLAGS) -o $@ -c $< install: install_$(P) clean: @echo " CLEAN" @rm -f $(OBJS) $(P) it logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@linux.vnet.ibm.com>2016-08-23 19:57:39 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-09-06 14:54:08 +1000
commitd81d8258218228d3137055afe8acf981c3ebed46 (patch)
tree3a99b7e9bcd95ecae02167b6fbdf16e9a1d8a684 /.mailmap
parent78a3e8889b4b6b99775ed954696ff3e017f5d19b (diff)
powerpc/pseries: Fix little endian build with CONFIG_KEXEC=n
On ppc64le, builds with CONFIG_KEXEC=n fail with: arch/powerpc/platforms/pseries/setup.c: In function ‘pseries_big_endian_exceptions’: arch/powerpc/platforms/pseries/setup.c:403:13: error: implicit declaration of function ‘kdump_in_progress’ if (rc && !kdump_in_progress()) This is because pseries/setup.c includes <linux/kexec.h>, but kdump_in_progress() is defined in <asm/kexec.h>. This is a problem because the former only includes the latter if CONFIG_KEXEC_CORE=y. Fix it by including <asm/kexec.h> directly, as is done in powernv/setup.c. Fixes: d3cbff1b5a90 ("powerpc: Put exception configuration in a common place") Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '.mailmap')