From f54166860450e09870f1bbc79f73f2b397cb35c7 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 4 Jun 2021 11:51:23 +0200 Subject: [PATCH] dde_linux/create_dummies: show objs for variables Issue #4188 --- tool/dde_linux/create_dummies | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/dde_linux/create_dummies b/tool/dde_linux/create_dummies index e265f763d6..eb6fe75798 100755 --- a/tool/dde_linux/create_dummies +++ b/tool/dde_linux/create_dummies @@ -127,7 +127,7 @@ CROSS_DEV_PREFIX ?= /usr/local/genode/tool/current/bin/genode-$(TOOL_ARCH)- # gather list of : pairs, strip first path element (build dir) NM = $(CROSS_DEV_PREFIX)nm --print-file-name --defined-only -C_FILE_DEF := $(shell cd $(LINUX_KERNEL_DIR); $(NM) `find -name "*.o" -printf "%P\n" | grep -v vmlinux.o` | grep -i " t " | sed -e 's/o:[0-f]* [tT] /c:/') +C_FILE_DEF := $(shell cd $(LINUX_KERNEL_DIR); $(NM) `find -name "*.o" -printf "%P\n" | grep -v vmlinux.o` | grep -i " [tD] " | sed -e 's/o:[0-f]* [tTD] /c:/') # query C_FILE_DEF database for a given symbol symbol_to_c_file = $(addprefix $(LINUX_SRC_DIR)/, $(firstword $(subst :, ,$(filter %:$(1),$(C_FILE_DEF)))))