summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-04 12:29:26 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-05 17:36:45 +0100
commit07f95bca216fc79b82e0c6e9ff4378e5434f84c1 (patch)
tree9ad2b600cb2f836af2e37b46743a714de0e572a8
parentf4f90e607cfc95a9f0b2ae539b98aad214605a03 (diff)
downloadOSELAS.Toolchain-07f95bca216fc79b82e0c6e9ff4378e5434f84c1.tar.gz
uClibc: update rules for newer versions
* use "install_headers", it does the right thing now. * define KERNEL_HEADERS instead of KERNEL_SOURCE Note: this probably breaks older uClibc versions, but we don't have any toolchains for those anyways. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/uclibc-headers.make2
-rw-r--r--rules/uclibc.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/rules/uclibc-headers.make b/rules/uclibc-headers.make
index a87b265..0d7f6b8 100644
--- a/rules/uclibc-headers.make
+++ b/rules/uclibc-headers.make
@@ -77,7 +77,7 @@ $(STATEDIR)/uclibc-headers.install:
cd $(UCLIBC_DIR) && \
$(UCLIBC_PATH) $(UCLIBC_ENV) \
$(MAKE) $(UCLIBC_MAKEVARS) \
- headers install_dev #pregen install_headers
+ install_headers
@$(call touch)
# ----------------------------------------------------------------------------
diff --git a/rules/uclibc.make b/rules/uclibc.make
index 298ec34..7ea9c91 100644
--- a/rules/uclibc.make
+++ b/rules/uclibc.make
@@ -47,7 +47,7 @@ UCLIBC_MAKEVARS := \
HOSTCC="$(HOSTCC)" \
DEVEL_PREFIX=/usr/ \
PREFIX=$(SYSROOT) \
- KERNEL_SOURCE=$(SYSROOT)/usr \
+ KERNEL_HEADERS=$(SYSROOT)/usr/include \
RUNTIME_PREFIX=/ \
SHARED_LIB_LOADER_PREFIX=/lib