mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 05:53:14 +00:00
907e906f01
Adresses @easrentai suggestion to pass modules build optimization for space here: #590 (comment) - Uniformized module's $(CROSS_TOOLS) being passed as environment variable, prior of ./configure call Doesn't work for: - busybox (HOSTCXXFLAGS="-Os" attempted prior of ./configure call) - zlib (CFLAGS="-Os" attempted prior of ./configure call) - npth (CFLAGS="-Os" attempted prior of ./configure call)
26 lines
607 B
Makefile
26 lines
607 B
Makefile
modules-$(CONFIG_CAIRO) += pixman
|
|
|
|
pixman_version := 0.34.0
|
|
pixman_dir := pixman-$(pixman_version)
|
|
pixman_tar := pixman-$(pixman_version).tar.gz
|
|
pixman_url := https://www.cairographics.org/releases/$(pixman_tar)
|
|
pixman_hash := 21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e
|
|
|
|
pixman_configure := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-Os" \
|
|
./configure \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--prefix="/" \
|
|
--disable-gtk
|
|
|
|
pixman_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install \
|
|
|
|
pixman_libraries := pixman/.libs/libpixman-1.so.0
|
|
|
|
pixman_depends := libpng $(musl_dep)
|