Make sure ln command does not break if link exist

This commit is contained in:
Ulf Samuelsson 2009-01-22 07:51:28 +00:00
parent 2f4722048b
commit 0496551eac

View File

@ -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)