Fix cross build
This fixes cross build regression introduced by commit v4.15-39-g605a705a63d533dceb3c2d489468fcd3aed3963c. * tests/Makefile.am (BUILT_SOURCES): Remove scno.h (objects, scno_dependants): New variables. ($(scno_dependants)): New rule. Reported-by: Joakim Bech <joakim.bech@linaro.org>
This commit is contained in:
parent
b0b3f55b3b
commit
c4cf9213a8
@ -930,5 +930,9 @@ ksysent.h: $(srcdir)/ksysent.sed
|
||||
scno.h: generate_scno
|
||||
./$< > $@-t && mv $@-t $@
|
||||
|
||||
BUILT_SOURCES = ksysent.h scno.h
|
||||
objects = $(filter %.$(OBJEXT),$(SOURCES:.c=.$(OBJEXT)))
|
||||
scno_dependants = $(filter-out generate_scno.$(OBJEXT),$(objects))
|
||||
$(scno_dependants): scno.h
|
||||
|
||||
BUILT_SOURCES = ksysent.h
|
||||
CLEANFILES = ksysent.h scno.h $(TESTS:=.tmp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user