projects / fglrx-packaging.git / commitdiff
Build Results
 
Summary

Description: The git repository for the ATI/AMD fglrx packaging scripts.
Last Change: Mon 8/30/10 10:11

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Thu 7/8/10 5:52
Alberto Milone  
Ubuntu: add initial... 
Sat 8/28/10 12:47
Alberto Milone  
Ubuntu: add links to the... 
Fri 8/27/10 11:22
Alberto Milone  
Ubuntu: Add support for... 
Sat 8/14/10 9:39
Anssi Hannula  
Mandriva: fix XvBA on... 
Wed 8/11/10 19:08
Anssi Hannula  
Mandriva: mark cards as... 
Wed 8/11/10 18:59
Anssi Hannula  
Mandriva: switch to using... 
 
> --git a/Ubuntu/dists/source/replacements/Makefile b/Ubuntu/dists/source/replacements/Makefile
index cfe2ff7
..abb3dc1 100644
--- a/Ubuntu/dists/source/replacements/Makefile
+++ b/Ubuntu/dists/source/replacements/Makefile
@@ -1,27 +1,64 @@
+
# Copyright (c) 2008 Advanced Micro Devices. All Rights Reserved.
+#
+# Redistribution and  use  in  source  and  binary  forms,  with  or  without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above  copyright  notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in  binary  form  must  reproduce  the  above  copyright
+# notice, this list  of  conditions  and  the  following  disclaimer  in  the
+# documentation and/or other materials provided with the distribution.
+#
+# 3. The name of the author may not be used to endorse  or  promote  products
+# derived from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR  IMPLIED
+# WARRANTIES, INCLUDING, BUT  NOT  LIMITED  TO,  THE  IMPLIED  WARRANTIES  OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN  NO
+# EVENT SHALL THE AUTHOR BE LIABLE  FOR  ANY  DIRECT,  INDIRECT,  INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,  BUT  NOT  LIMITED
+# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS  OF  USE,  DATA,  OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED  AND  ON  ANY  THEORY  OF
+# LIABILITY, WHETHER  IN  CONTRACT,  STRICT  LIABILITY,  OR  TORT  (INCLUDING
+# NEGLIGENCE OR OTHERWISE) ARISING  IN  ANY  WAY  OUT  OF  THE  USE  OF  THIS
+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 
GCC_VER_MAJ      = $(shell $(CC) --version head -n 1 sed -'s/[^0-9. ]//g;s/^ *//;s/^\(.\)\..*$$/\1/')

 
LIBIP_PREFIX    ?= ..

 
obj-m           += fglrx.o
 fglrx
-libs      += libfglrx_ip.a.GCC$(GCC_VER_MAJ)
+
 
fglrx-c-objs    += firegl_public.o      \
+                   
kcl_acpi.o           \
                    
kcl_agp.o            \
+                   
kcl_debug.o          \
+                   
kcl_ioctl.o          \
                    
kcl_io.o             \
-                   
kcl_pci.o
+                   kcl_pci.o            \
+                   
kcl_str.o            \
+                   
kcl_wait.o
+
 
fglrx-objs      += $(fglrx-c-objs) $(fglrx-libs)
+
 
fglrx-hdrs      += firegl_public.h      \
                    
fglrxko_pci_ids.h    \
+                   
kcl_acpi.h           \
                    
kcl_agp.h            \
                    
kcl_config.h         \
+                   
kcl_debug.h          \
                    
kcl_io.h             \
+                   
kcl_ioctl.h          \
+                   
kcl_osconfig.h       \
                    
kcl_pci.h            \
-                   
kcl_type.h
+                   kcl_str.h            \
+                   
kcl_type.h           \
+                   
kcl_wait.h
+
 
drm-hdrs        += drm.h drmP.h drm_os_linux.h drm_proc.h drm_compat.h

-ifeq ($(PAGE_ATTR_FIX),)
-
PAGE_ATTR_FIX   =1
-endif
-
 
EXTRA_CFLAGS    += \
                 -
I$(PWD) \
                 -
DFGL \
@@ -
38,11 +75,@@ ifeq ($(KVER),)
 
KVER            = $(shell uname -r)
 endif

-
ifeq (1,1)
 
KDIR            = /lib/modules/$(KVER)/build
-else
-
KDIR            = /usr/src/linux-$(KVER)
-endif
 
PWD             = $(shell pwd)

 
fglrx-cfiles    = ${fglrx-c-objs:.o=.c}
@@ -
64,+97,@@ kmod_build:: $(fglrx-libs) $(fglrx-cfiles) $(fglrx-hdrs) $(drm-hdrs)
 
# distclean:: clean

 
clean::
-    
rm -*.*.*.*.ko *.GCC* .??*
+    
rm -rf *.*.*.*.ko *.GCC* .??* *.symvers

 
endif

<
 
Phoronix.com
Linux Driver Forums
Copyright © 2010 by Phoronix Media