mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Skip binary files in GEN_INCLUDES
A binary file may be a temporary Vim .swp file when examining contrib sources. The commit prevents build errors like .../repos/dde_linux/lib/mk/lxip_include.mk:29: target '.../x86_64/var/libcache/lxip_include/include/include/include/Binary' given more than once in the same rule .../repos/dde_linux/lib/mk/lxip_include.mk:29: target '.../x86_64/var/libcache/lxip_include/include/include/include/file' given more than once in the same rule ...
This commit is contained in:
committed by
Norman Feske
parent
61b6dccf13
commit
eda0828ca0
@@ -9,7 +9,7 @@ ifeq ($(called_from_lib_mk),yes)
|
||||
BSD_CONTRIB_DIR := $(call select_from_ports,dde_bsd)/src/lib/audio
|
||||
BSD_EMUL_H := $(REP_DIR)/src/lib/audio/include/bsd_emul.h
|
||||
|
||||
GEN_INCLUDES := $(shell grep -rh "^\#include .*" $(BSD_CONTRIB_DIR) |\
|
||||
GEN_INCLUDES := $(shell grep -rIh "^\#include .*" $(BSD_CONTRIB_DIR) |\
|
||||
sed "s/^\#include [^<\"]*[<\"]\([^>\"]*\)[>\"].*/\1/" | sort | uniq)
|
||||
|
||||
GEN_INC := $(shell pwd)/include
|
||||
|
||||
Reference in New Issue
Block a user