[Mesa-dev] [PATCH] mesa/dri/r200: Refrain from using symbol links in repo
eocallaghan at alterapraxis.com
eocallaghan at alterapraxis.com
Thu Feb 18 06:23:03 UTC 2016
Disregard, apparently this breaks out-of-tree builds. There perhaps is
maybe no good solution here so i`ll refrain from this can of worms for
now.
On 2016-02-18 15:46, Edward O'Callaghan wrote:
> Just use the relative path in the Makefile.source over
> symbol links that are not necessarily portable.
>
> Untested as I don't have this old hardware.
>
> Signed-off-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
> ---
> src/mesa/drivers/dri/r200/Makefile.sources | 58
> +++++++++++------------
> src/mesa/drivers/dri/r200/radeon_buffer_objects.c | 1 -
> src/mesa/drivers/dri/r200/radeon_buffer_objects.h | 1 -
> src/mesa/drivers/dri/r200/radeon_chipset.h | 1 -
> src/mesa/drivers/dri/r200/radeon_cmdbuf.h | 1 -
> src/mesa/drivers/dri/r200/radeon_common.c | 1 -
> src/mesa/drivers/dri/r200/radeon_common.h | 1 -
> src/mesa/drivers/dri/r200/radeon_common_context.c | 1 -
> src/mesa/drivers/dri/r200/radeon_common_context.h | 1 -
> src/mesa/drivers/dri/r200/radeon_debug.c | 1 -
> src/mesa/drivers/dri/r200/radeon_debug.h | 1 -
> src/mesa/drivers/dri/r200/radeon_dma.c | 1 -
> src/mesa/drivers/dri/r200/radeon_dma.h | 1 -
> src/mesa/drivers/dri/r200/radeon_fbo.c | 1 -
> src/mesa/drivers/dri/r200/radeon_fog.c | 1 -
> src/mesa/drivers/dri/r200/radeon_fog.h | 1 -
> src/mesa/drivers/dri/r200/radeon_mipmap_tree.c | 1 -
> src/mesa/drivers/dri/r200/radeon_mipmap_tree.h | 1 -
> src/mesa/drivers/dri/r200/radeon_pixel_read.c | 1 -
> src/mesa/drivers/dri/r200/radeon_queryobj.c | 1 -
> src/mesa/drivers/dri/r200/radeon_queryobj.h | 1 -
> src/mesa/drivers/dri/r200/radeon_screen.c | 1 -
> src/mesa/drivers/dri/r200/radeon_screen.h | 1 -
> src/mesa/drivers/dri/r200/radeon_span.c | 1 -
> src/mesa/drivers/dri/r200/radeon_span.h | 1 -
> src/mesa/drivers/dri/r200/radeon_tex_copy.c | 1 -
> src/mesa/drivers/dri/r200/radeon_texture.c | 1 -
> src/mesa/drivers/dri/r200/radeon_texture.h | 1 -
> src/mesa/drivers/dri/r200/radeon_tile.c | 1 -
> src/mesa/drivers/dri/r200/radeon_tile.h | 1 -
> 30 files changed, 29 insertions(+), 58 deletions(-)
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_buffer_objects.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_buffer_objects.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_chipset.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_cmdbuf.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_common.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_common.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_common_context.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_common_context.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_debug.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_debug.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_dma.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_dma.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_fbo.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_fog.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_fog.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_mipmap_tree.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_mipmap_tree.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_pixel_read.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_queryobj.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_queryobj.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_screen.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_screen.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_span.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_span.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_tex_copy.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_texture.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_texture.h
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_tile.c
> delete mode 120000 src/mesa/drivers/dri/r200/radeon_tile.h
>
> diff --git a/src/mesa/drivers/dri/r200/Makefile.sources
> b/src/mesa/drivers/dri/r200/Makefile.sources
> index dbcb9af..ef2e7be 100644
> --- a/src/mesa/drivers/dri/r200/Makefile.sources
> +++ b/src/mesa/drivers/dri/r200/Makefile.sources
> @@ -1,30 +1,30 @@
> R200_COMMON_FILES = \
> - radeon_buffer_objects.c \
> - radeon_buffer_objects.h \
> - radeon_cmdbuf.h \
> - radeon_common.c \
> - radeon_common.h \
> - radeon_common_context.c \
> - radeon_common_context.h \
> - radeon_debug.c \
> - radeon_debug.h \
> - radeon_dma.c \
> - radeon_dma.h \
> - radeon_fbo.c \
> - radeon_fog.c \
> - radeon_fog.h \
> - radeon_mipmap_tree.c \
> - radeon_mipmap_tree.h \
> - radeon_pixel_read.c \
> - radeon_queryobj.c \
> - radeon_queryobj.h \
> - radeon_span.c \
> - radeon_span.h \
> - radeon_tex_copy.c \
> - radeon_texture.c \
> - radeon_texture.h \
> - radeon_tile.c \
> - radeon_tile.h
> + ../radeon/radeon_buffer_objects.c \
> + ../radeon/radeon_buffer_objects.h \
> + ../radeon/radeon_cmdbuf.h \
> + ../radeon/radeon_common.c \
> + ../radeon/radeon_common.h \
> + ../radeon/radeon_common_context.c \
> + ../radeon/radeon_common_context.h \
> + ../radeon/radeon_debug.c \
> + ../radeon/radeon_debug.h \
> + ../radeon/radeon_dma.c \
> + ../radeon/radeon_dma.h \
> + ../radeon/radeon_fbo.c \
> + ../radeon/radeon_fog.c \
> + ../radeon/radeon_fog.h \
> + ../radeon/radeon_mipmap_tree.c \
> + ../radeon/radeon_mipmap_tree.h \
> + ../radeon/radeon_pixel_read.c \
> + ../radeon/radeon_queryobj.c \
> + ../radeon/radeon_queryobj.h \
> + ../radeon/radeon_span.c \
> + ../radeon/radeon/radeon_span.h \
> + ../radeon/radeon_tex_copy.c \
> + ../radeon/radeon_texture.c \
> + ../radeon/radeon_texture.h \
> + ../radeon/radeon_tile.c \
> + ../radeon/radeon_tile.h
>
> DRIVER_FILES = \
> r200_blit.c \
> @@ -52,9 +52,9 @@ DRIVER_FILES = \
> r200_texstate.c \
> r200_vertprog.c \
> r200_vertprog.h \
> - radeon_chipset.h \
> - radeon_screen.c \
> - radeon_screen.h \
> + ../radeon/radeon_chipset.h \
> + ../radeon/radeon_screen.c \
> + ../radeon/radeon_screen.h \
> server/radeon_reg.h
>
> R200_C_FILES = $(R200_COMMON_FILES) $(DRIVER_FILES)
> diff --git a/src/mesa/drivers/dri/r200/radeon_buffer_objects.c
> b/src/mesa/drivers/dri/r200/radeon_buffer_objects.c
> deleted file mode 120000
> index f6a5f66..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_buffer_objects.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_buffer_objects.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_buffer_objects.h
> b/src/mesa/drivers/dri/r200/radeon_buffer_objects.h
> deleted file mode 120000
> index 2f134fd..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_buffer_objects.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_buffer_objects.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_chipset.h
> b/src/mesa/drivers/dri/r200/radeon_chipset.h
> deleted file mode 120000
> index eba9900..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_chipset.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_chipset.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_cmdbuf.h
> b/src/mesa/drivers/dri/r200/radeon_cmdbuf.h
> deleted file mode 120000
> index a799e1d..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_cmdbuf.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_cmdbuf.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_common.c
> b/src/mesa/drivers/dri/r200/radeon_common.c
> deleted file mode 120000
> index 67b19ba..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_common.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_common.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_common.h
> b/src/mesa/drivers/dri/r200/radeon_common.h
> deleted file mode 120000
> index 5bcb696..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_common.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_common.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_common_context.c
> b/src/mesa/drivers/dri/r200/radeon_common_context.c
> deleted file mode 120000
> index 86800f3..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_common_context.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_common_context.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_common_context.h
> b/src/mesa/drivers/dri/r200/radeon_common_context.h
> deleted file mode 120000
> index 4d66312..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_common_context.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_common_context.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_debug.c
> b/src/mesa/drivers/dri/r200/radeon_debug.c
> deleted file mode 120000
> index c98c2e0..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_debug.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_debug.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_debug.h
> b/src/mesa/drivers/dri/r200/radeon_debug.h
> deleted file mode 120000
> index bd8aa28..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_debug.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_debug.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_dma.c
> b/src/mesa/drivers/dri/r200/radeon_dma.c
> deleted file mode 120000
> index 43be000..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_dma.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_dma.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_dma.h
> b/src/mesa/drivers/dri/r200/radeon_dma.h
> deleted file mode 120000
> index 82e5063..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_dma.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_dma.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_fbo.c
> b/src/mesa/drivers/dri/r200/radeon_fbo.c
> deleted file mode 120000
> index 0d738d8..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_fbo.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_fbo.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_fog.c
> b/src/mesa/drivers/dri/r200/radeon_fog.c
> deleted file mode 120000
> index 231aa4f..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_fog.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_fog.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_fog.h
> b/src/mesa/drivers/dri/r200/radeon_fog.h
> deleted file mode 120000
> index 76c40f6..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_fog.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_fog.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_mipmap_tree.c
> b/src/mesa/drivers/dri/r200/radeon_mipmap_tree.c
> deleted file mode 120000
> index 31c0cfb..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_mipmap_tree.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_mipmap_tree.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_mipmap_tree.h
> b/src/mesa/drivers/dri/r200/radeon_mipmap_tree.h
> deleted file mode 120000
> index 254d50c..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_mipmap_tree.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_mipmap_tree.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_pixel_read.c
> b/src/mesa/drivers/dri/r200/radeon_pixel_read.c
> deleted file mode 120000
> index 3b03803..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_pixel_read.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_pixel_read.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_queryobj.c
> b/src/mesa/drivers/dri/r200/radeon_queryobj.c
> deleted file mode 120000
> index 1d6ebc1..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_queryobj.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_queryobj.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_queryobj.h
> b/src/mesa/drivers/dri/r200/radeon_queryobj.h
> deleted file mode 120000
> index 8f6f842..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_queryobj.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_queryobj.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_screen.c
> b/src/mesa/drivers/dri/r200/radeon_screen.c
> deleted file mode 120000
> index 8616111..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_screen.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_screen.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_screen.h
> b/src/mesa/drivers/dri/r200/radeon_screen.h
> deleted file mode 120000
> index 23bb6bd..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_screen.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_screen.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_span.c
> b/src/mesa/drivers/dri/r200/radeon_span.c
> deleted file mode 120000
> index 232868c..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_span.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_span.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_span.h
> b/src/mesa/drivers/dri/r200/radeon_span.h
> deleted file mode 120000
> index f9d6345..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_span.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_span.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_tex_copy.c
> b/src/mesa/drivers/dri/r200/radeon_tex_copy.c
> deleted file mode 120000
> index dfa5ba3..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_tex_copy.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_tex_copy.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_texture.c
> b/src/mesa/drivers/dri/r200/radeon_texture.c
> deleted file mode 120000
> index a822710..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_texture.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_texture.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_texture.h
> b/src/mesa/drivers/dri/r200/radeon_texture.h
> deleted file mode 120000
> index 17fac3d..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_texture.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_texture.h
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_tile.c
> b/src/mesa/drivers/dri/r200/radeon_tile.c
> deleted file mode 120000
> index d4bfe27..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_tile.c
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_tile.c
> \ No newline at end of file
> diff --git a/src/mesa/drivers/dri/r200/radeon_tile.h
> b/src/mesa/drivers/dri/r200/radeon_tile.h
> deleted file mode 120000
> index 31074c5..0000000
> --- a/src/mesa/drivers/dri/r200/radeon_tile.h
> +++ /dev/null
> @@ -1 +0,0 @@
> -../radeon/radeon_tile.h
> \ No newline at end of file
More information about the mesa-dev
mailing list