# include/asm-generic contains a lot of files that are used # verbatim by several architectures. # # This Makefile reads the file arch/$(SRCARCH)/include/asm/Kbuild # and for each file listed in this file with generic-y creates # a small wrapper file in $(obj) (arch/$(SRCARCH)/include/generated/asm) kbuild-file := $(srctree)/arch/$(SRCARCH)/include/$(src)/Kbuild -include $(kbuild-file) include scripts/Kbuild.include # Create output directory if not already present _dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj)) # Stale wrappers when the corresponding files are removed from generic-y # need removing. generated-y := $(generic-y) $(genhdr-y) $(generated-y) all-files := $(patsubst %, $(obj)/%, $(generated-y)) old-headers := $(wildcard $(obj)/*.h) unwanted := $(filter-out $(all-files),$(old-headers)) quiet_cmd_wrap = WRAP $@ cmd_wrap = echo "\#include " >$@ quiet_cmd_remove = REMOVE $(unwanted) cmd_remove = rm -f $(unwanted) all: $(patsubst %, $(obj)/%, $(generic-y)) FORCE $(if $(unwanted),$(call cmd,remove),) @: $(obj)/%.h: $(call cmd,wrap) PHONY += FORCE .PHONY: $(PHONY) FORCE: ; ='nds-private-remove'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/irda/irlan/irlan_provider_event.c
diff options
context:
space:
mode:
authorJohn Brooks <john@fastquake.com>2016-12-23 00:53:10 +0000
committerJonathan Corbet <corbet@lwn.net>2016-12-27 13:05:36 -0700
commit66115335fbb411365c23349b2fbe7e041eabbaf2 (patch)
tree4cd3d5d8c97cc5279754c605c5017dfaa6642f75 /net/irda/irlan/irlan_provider_event.c
parent54ab6db0909061ab7ee07233d3cab86d29f86e6c (diff)
docs: Fix build failure
The 80211.tmpl DocBook file was removed in commit 819bf593767c ("docs-rst: sphinxify 802.11 documentation"), but the 80211.xml target was re-added to the Makefile by commit 7ddedebb03b7 ("ALSA: doc: ReSTize writing-an-alsa-driver document"), leading to a failure when building the documentation: *** No rule to make target 'Documentation/DocBook/80211.xml', needed by 'Documentation/DocBook/80211.aux.xml'. cc: stable@vger.kernel.org Signed-off-by: John Brooks <john@fastquake.com> Mea-culpa-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'net/irda/irlan/irlan_provider_event.c')