aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2009-01-22 07:51:28 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2009-01-22 07:51:28 +0000
commit0496551eac22bdef4a5fe1e49811d59e561880b0 (patch)
treeb76231cbe8ba061534f39af2855e50a5f18b450a
parent2f4722048b6e47ca5141891148644abef5dc5fc8 (diff)
downloadbuildroot-0496551eac22bdef4a5fe1e49811d59e561880b0.tar.gz
buildroot-0496551eac22bdef4a5fe1e49811d59e561880b0.tar.bz2
Make sure ln command does not break if link exist
-rw-r--r--package/sdl/sdl.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 0ab02100bb..2cdead2cd2 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -75,7 +75,7 @@ $(SDL_DIR)/.configured: $(SDL_DIR)/.unpacked
ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y)
$(SDL_DIRECTFB_TARGET):
mkdir -p $(STAGING_DIR)/include
- ln -s ../usr/include/directfb $(SDL_DIRECTFB_TARGET)
+ ln -s -f ../usr/include/directfb $(SDL_DIRECTFB_TARGET)
endif
$(SDL_DIR)/.compiled: $(SDL_DIR)/.configured $(SDL_DIRECTFB_TARGET)