https://github.com/torvalds/linux
Revision 67820021dc9c8da37f773025190280f55f3626d4 authored by Jean Delvare on 23 November 2011, 10:33:07 UTC, committed by Jean Delvare on 23 November 2011, 10:33:07 UTC
Last piece of code using ANY_I2C_BUS was deleted almost 2 years ago,
so ANY_I2C_BUS can go away as well.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
1 parent cbb4451
Raw File
Tip revision: 67820021dc9c8da37f773025190280f55f3626d4 authored by Jean Delvare on 23 November 2011, 10:33:07 UTC
i2c: Delete ANY_I2C_BUS
Tip revision: 6782002
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