mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
libports: make include paths absolute
If contrib and/or download in libports are symlinks, then using ".." ends up in the wrong directory. Use CURDIR variable set by make.
This commit is contained in:
parent
b85447c602
commit
fb0ca69fe4
@ -41,7 +41,7 @@ $(CONTRIB_DIR)/$(FFAT): $(DOWNLOAD_DIR)/$(FFAT_ZIP) include/ffat
|
||||
$(VERBOSE)for i in $(FFAT_HEADERS); do \
|
||||
ln -sf ../../$(CONTRIB_DIR)/$(FFAT)/src/$$i include/ffat/; done
|
||||
$(VERBOSE)rm $(addprefix $(CONTRIB_DIR)/$(FFAT)/src/,$(FFAT_DELETE))
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(FFAT) -p1 -i ../../src/lib/ffat/config.patch
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(FFAT) -p1 -i $(CURDIR)/src/lib/ffat/config.patch
|
||||
|
||||
clean-ffat:
|
||||
$(VERBOSE)rm -f $(addprefix include/ffat/,$(FFAT_HEADERS))
|
||||
|
@ -20,7 +20,7 @@ $(DOWNLOAD_DIR)/$(LIBAV_TGZ):
|
||||
|
||||
$(CONTRIB_DIR)/$(LIBAV): $(DOWNLOAD_DIR)/$(LIBAV_TGZ)
|
||||
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(LIBAV) -p1 -i ../../src/app/avplay/avplay.patch
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(LIBAV) -p1 -i $(CURDIR)/src/app/avplay/avplay.patch
|
||||
|
||||
clean-libav:
|
||||
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(LIBAV)
|
||||
|
@ -25,7 +25,7 @@ $(CONTRIB_DIR)/$(SDL): $(DOWNLOAD_DIR)/$(SDL_TGZ)
|
||||
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
|
||||
$(VERBOSE)rm -f $@/include/SDL_config.h
|
||||
$(VERBOSE)patch -p0 -i src/lib/sdl/SDL_video.patch
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(SDL) -p1 -i ../../src/lib/sdl/SDL_audio.patch
|
||||
$(VERBOSE)patch -d $(CONTRIB_DIR)/$(SDL) -p1 -i $(CURDIR)/src/lib/sdl/SDL_audio.patch
|
||||
|
||||
#
|
||||
# Install SDL headers
|
||||
|
Loading…
x
Reference in New Issue
Block a user