toolchain/uclibc: brown paper bag fix for r23746
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 20 Oct 2008 18:55:26 +0000 (18:55 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 20 Oct 2008 18:55:26 +0000 (18:55 -0000)
So much for doing one more "obvious" fix before going home -
Sorry everyone.

toolchain/uClibc/uclibc.mk

index 31ac84f21729880c2faae20d9647a10f78dc6f5b..45b57ce03c36ae73f92e3f2fe7f27ecdc5d4aefa 100644 (file)
@@ -433,12 +433,9 @@ $(UCLIBC_DIR)/.configured: $(LINUX_HEADERS_DIR)/.configured $(UCLIBC_DIR)/.confi
                PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
                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
+               HOSTCC="$(HOSTCC)" headers \
+               $(if $(BR2_UCLIBC_VERSION_0_9_28_3),install_dev,install_headers)
+
        # Install the kernel headers to the first stage gcc include dir
        # if necessary
 ifeq ($(LINUX_HEADERS_IS_KERNEL),y)