Create $(STAGING_DIR)/usr/bin unconditionnally
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Feb 2010 21:44:15 +0000 (22:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Feb 2010 21:44:15 +0000 (22:44 +0100)
This fixes the build of libcap, with external toolchain, when it is
the first package being built.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile

index a0c18ba7c1caae2737a4655fee9cf9b02d17d18f..76eeddb919cef1f956e27f87ad670e9f65adfe51 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -371,6 +371,7 @@ ifneq ($(BR2_TOOLCHAIN_EXTERNAL),y)
 endif
 endif
        @mkdir -p $(STAGING_DIR)/usr/include
+       @mkdir -p $(STAGING_DIR)/usr/bin
 
 $(BUILD_DIR)/.root:
        mkdir -p $(TARGET_DIR)