20 lines
415 B
Makefile
20 lines
415 B
Makefile
|
include $(top_rulesdir)/Makefile.inc
|
||
|
|
||
|
# Upstream enables LTO by default, but we don't want it
|
||
|
CFLAGS += -fno-lto
|
||
|
|
||
|
MAKE_RTLA := +CFLAGS='$(CFLAGS) $(CPPFLAGS)' LDFLAGS='$(LDFLAGS)' $(MAKE) -C $(top_srcdir)/$(OUTDIR) O=$(CURDIR)
|
||
|
MAKE_RTLA += LD='$(CROSS_COMPILE)ld'
|
||
|
MAKE_RTLA += PKG_CONFIG='$(PKG_CONFIG)'
|
||
|
MAKE_RTLA += STRIP=true
|
||
|
MAKE_RTLA += V=1
|
||
|
|
||
|
all:
|
||
|
$(MAKE_RTLA)
|
||
|
|
||
|
install:
|
||
|
$(MAKE_RTLA) install
|
||
|
|
||
|
clean:
|
||
|
rm -rf *
|