https://github.com/torvalds/linux
Revision 8b97b21e0f4f59801d05a5c536417f04ecfb5603 authored by Linus Torvalds on 16 June 2011, 22:02:20 UTC, committed by Linus Torvalds on 16 June 2011, 22:02:20 UTC
* git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-nsfd:
  proc: Fix Oops on stat of /proc/<zombie pid>/ns/net
2 parent s 99a15e2 + 7939253
Raw File
Tip revision: 8b97b21e0f4f59801d05a5c536417f04ecfb5603 authored by Linus Torvalds on 16 June 2011, 22:02:20 UTC
Merge git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/linux-2.6-nsfd
Tip revision: 8b97b21
Makefile.asm-generic
# 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/asm/Kbuild
-include $(kbuild-file)

include scripts/Kbuild.include

# Create output directory if not already present
_dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj))

quiet_cmd_wrap = WRAP    $@
cmd_wrap = echo "\#include <asm-generic/$*.h>" >$@

all: $(patsubst %, $(obj)/%, $(generic-y))
	@:

$(obj)/%.h:
	$(call cmd,wrap)

back to top