mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
Makefile.am: Mark local_headers as BUILT_SOURCES
As these files are auto-generated they need to be marked as BUILT_SOURCES so that we don't run into a build race later on. lib/bluetooth is removed by clean-local so this doesn't need to be in CLEAN_FILES
This commit is contained in:
parent
d7f192abc0
commit
c5d2a5e570
@ -53,6 +53,8 @@ lib_headers = lib/bluetooth.h lib/hci.h lib/hci_lib.h lib/mgmt.h \
|
||||
lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h
|
||||
local_headers = $(foreach file,$(lib_headers), lib/bluetooth/$(notdir $(file)))
|
||||
|
||||
BUILT_SOURCES = $(local_headers)
|
||||
|
||||
include_HEADERS += $(lib_headers)
|
||||
|
||||
lib_LTLIBRARIES += lib/libbluetooth.la
|
||||
@ -62,9 +64,6 @@ lib_libbluetooth_la_SOURCES = $(lib_headers) \
|
||||
lib_libbluetooth_la_LDFLAGS = -version-info 14:3:11
|
||||
lib_libbluetooth_la_DEPENDENCIES = $(local_headers)
|
||||
|
||||
CLEANFILES += $(local_headers)
|
||||
|
||||
|
||||
if SBC
|
||||
noinst_LTLIBRARIES += sbc/libsbc.la
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user