tools include: Add config.h header file
authorJiri Olsa <jolsa@kernel.org>
Fri, 30 Mar 2018 09:27:11 +0000 (17:27 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Apr 2018 16:31:38 +0000 (13:31 -0300)
commit6b416ebcc32c5753214d53c18ac5719c93bc340e
treea213012c92273845c33f55743cefbe9a6d3f5efb
parent0a6545bda2756807a089c64352edfc5628c57e6c
tools include: Add config.h header file

Adding IS_BUILTIN macro and its dependencies into tools world.

It's taken from kernel's include/linux/kconfig.h, which can't be taken
completely due to its kconfig dependencies.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1522402036-22915-2-git-send-email-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/tools/config.h [new file with mode: 0644]