2015-04-11 07:44:37 +08:00
|
|
|
###
|
|
|
|
# scripts contains sources for various helper programs used throughout
|
|
|
|
# the kernel for the build process.
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# docproc: Used in Documentation/DocBook
|
|
|
|
|
|
|
|
HOST_EXTRACFLAGS += -I$(srctree)/tools/include
|
|
|
|
|
|
|
|
always := $(hostprogs-y) $(hostprogs-m)
|
|
|
|
|
|
|
|
# The following hostprogs-y programs are only build on demand
|
|
|
|
hostprogs-y += unifdef docproc
|
|
|
|
|
|
|
|
# These targets are used internally to avoid "is up to date" messages
|
|
|
|
PHONY += build_unifdef build_docproc
|
|
|
|
build_unifdef: $(obj)/unifdef
|
|
|
|
@:
|
|
|
|
build_docproc: $(obj)/docproc
|
|
|
|
@:
|
|
|
|
|
|
|
|
# Let clean descend into subdirs
|
2015-06-18 05:20:30 +08:00
|
|
|
subdir- += basic kconfig gen_idt
|