Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add --with-kernel-headers option when building gecko #16

Open
wants to merge 1 commit into from

2 participants

@glandium

This allows to enable perf counters in gecko.

@michaelwu
Owner

Do we still want this? I forgot what the conclusion was WRT using the kernel headers repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 7, 2012
  1. @glandium
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +5 −1 Android.mk
View
6 Android.mk
@@ -138,8 +138,12 @@ GECKO_LIB_DEPS := \
libsensorservice.so \
libsysutils.so \
+ifdef KERNEL_HEADERS_INSTALL
+GECKO_CONFIGURE_ARGS += --with-linux-headers=$(abspath $(KERNEL_HEADERS_INSTALL))/include
+endif
+
.PHONY: $(LOCAL_BUILT_MODULE)
-$(LOCAL_BUILT_MODULE): $(TARGET_CRTBEGIN_DYNAMIC_O) $(TARGET_CRTEND_O) $(addprefix $(TARGET_OUT_SHARED_LIBRARIES)/,$(GECKO_LIB_DEPS))
+$(LOCAL_BUILT_MODULE): $(TARGET_CRTBEGIN_DYNAMIC_O) $(TARGET_CRTEND_O) $(addprefix $(TARGET_OUT_SHARED_LIBRARIES)/,$(GECKO_LIB_DEPS)) $(KERNEL_HEADERS_INSTALL)
export CONFIGURE_ARGS="$(GECKO_CONFIGURE_ARGS)" && \
export GONK_PRODUCT="$(TARGET_DEVICE)" && \
export TARGET_ARCH="$(TARGET_ARCH)" && \
Something went wrong with that request. Please try again.