# This file is subject to the terms and conditions of the GNU General Public # License. See the file "COPYING" in the main directory of this archive # for more details. # # Copyright (c) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. # Copyright (c) 2009 Wind River Systems, Inc. All Rights Reserved. # CCVERSION := $(shell $(CC) -v 2>&1 | sed -ne '$$p') obj-y := kdb_io.o kdb_main.o kdb_support.o kdb_bt.o gen-kdb_cmds.o kdb_bp.o kdb_debugger.o obj-$(CONFIG_KDB_KEYBOARD) += kdb_keyboard.o clean-files := gen-kdb_cmds.c quiet_cmd_gen-kdb = GENKDB $@ cmd_gen-kdb = $(AWK) 'BEGIN {print "\#include "; print "\#include "} \ /^\#/{next} \ /^[ \t]*$$/{next} \ {gsub(/"/, "\\\"", $$0); \ print "static __initdata char kdb_cmd" cmds++ "[] = \"" $$0 "\\n\";"} \ END {print "extern char *kdb_cmds[]; char __initdata *kdb_cmds[] = {"; for (i = 0; i < cmds; ++i) {print " kdb_cmd" i ","}; print(" NULL\n};");}' \ $(filter-out %/Makefile,$^) > $@# $(obj)/gen-kdb_cmds.c: $(src)/kdb_cmds $(src)/Makefile $(call cmd,gen-kdb) anup'>emaclite-cleanup net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-12-12 14:26:55 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-12 20:41:52 -0800
commitfe6bce8d30a86c693bf7cfbf4759cbafd121289f (patch)
tree0870fe4b44e9c2cb57a9883400cea2e7795fe05f /tools/perf/scripts/python
parentf082f02c4731900a5065de69eb0d8cb5aab66196 (diff)
treewide: Make remaining source files non-executable
.c and .h source files should not be executable, change the permissions to 0644. [ This would normally go through Andrew Morton, but his ancient patch-based toolchain doesn't do permission changes ] Signed-off-by: Joe Perches <joe@perches.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')