summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-10-20 15:23:50 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-10-20 15:23:50 +0000
commitcdade1dd0075404ea7aae65afb0c824b8b00bdbe (patch)
tree4768335865c829d50f2cace7f21fe327f260492a
parent00ad71901b92627d8b4dd65e0a2caa3613f92857 (diff)
downloadbuildroot-novena-cdade1dd0075404ea7aae65afb0c824b8b00bdbe.tar.gz
buildroot-novena-cdade1dd0075404ea7aae65afb0c824b8b00bdbe.zip
toolchain/uclibc: only use make install_headers for 0.9.29+
0.9.28.3 doesn't have install_headers, so use install_dev there. Got broken by r23561.
-rw-r--r--toolchain/uClibc/uclibc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 0eb9f6446..31ac84f21 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -434,7 +434,11 @@ $(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.confi
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+ headers install_dev
+else
headers install_headers
+endif
# Install the kernel headers to the first stage gcc include dir
# if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)