summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-11-04 11:44:21 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-11-07 10:06:20 +1000
commit108b1c41f002a3b3b1f262bd78be9a63f6bd1683 (patch)
tree57001664ee1fa615797be7cadec80dcc7aef0b01 /lib
parentf70356c4b14a5089006a1839e707895597c37074 (diff)
downloadnouveau-108b1c41f002a3b3b1f262bd78be9a63f6bd1683.tar.gz
silence sparse warnings about symbols not being marked static
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index c72ccbe0c..626f24715 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -55,15 +55,19 @@ $(deps-src): $(lib)/%.d : $(lib)/%.c
$(filter %.fuc0s.h,$(fucs)): %.fuc0s.h : %.fuc0s
@echo " FUC0S "$@
@$(call ENVYPP,$<) | $(ENVYAS) -a -w -mfuc -Vfuc0 -Fcrypt -o $@
+ @sed -i -e 's:^uint32_t:static uint32_t:g' $@
$(filter %.fuc3.h,$(fucs)): %.fuc3.h : %.fuc3
@echo " FUC3 "$@
@$(call ENVYPP,$<) | $(ENVYAS) -a -w -mfuc -Vfuc3 -o $@
+ @sed -i -e 's:^uint32_t:static uint32_t:g' $@
$(filter %.fuc4.h,$(fucs)): %.fuc4.h : %.fuc4
@echo " FUC4 "$@
@$(call ENVYPP,$<) | $(ENVYAS) -a -w -mfuc -Vfuc4 -o $@
+ @sed -i -e 's:^uint32_t:static uint32_t:g' $@
$(filter %.fuc5.h,$(fucs)): %.fuc5.h : %.fuc5
@echo " FUC5 "$@
@$(call ENVYPP,$<) | $(ENVYAS) -a -w -mfuc -Vfuc5 -o $@
+ @sed -i -e 's:^uint32_t:static uint32_t:g' $@
$(drms): $(lib)/%.o : $(drm)/%.c
@echo " CC "$@