浏览代码

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.
Peter Korsgaard 17 年之前
父节点
当前提交
cdade1dd00
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      toolchain/uClibc/uclibc.mk

+ 4 - 0
toolchain/uClibc/uclibc.mk

@@ -434,7 +434,11 @@ $(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.confi
 		DEVEL_PREFIX=/usr/ \
 		DEVEL_PREFIX=/usr/ \
 		RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
 		RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
 		HOSTCC="$(HOSTCC)" \
 		HOSTCC="$(HOSTCC)" \
+ifeq ($(BR2_UCLIBC_VERSION_0_9_28_3),y)
+		headers install_dev
+else
 		headers install_headers
 		headers install_headers
+endif
 	# Install the kernel headers to the first stage gcc include dir
 	# Install the kernel headers to the first stage gcc include dir
 	# if necessary
 	# if necessary
 ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
 ifeq ($(LINUX_HEADERS_IS_KERNEL),y)