diff options
author | Jeff Hartmann <jhartmann@valinux.com> | 2000-03-15 18:42:10 +0000 |
---|---|---|
committer | Jeff Hartmann <jhartmann@valinux.com> | 2000-03-15 18:42:10 +0000 |
commit | 3f212ea971dea919bf4eeb3fccea8c71981c985e (patch) | |
tree | f31cfebdf7db558fa7e720ac43f9b73131ed9a39 | |
parent | 355f98bf25b6f8aed82934f8970b9d333d484ea8 (diff) |
Fixed bug in makefile from last commit
-rw-r--r-- | linux/Makefile.linux | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/linux/Makefile.linux b/linux/Makefile.linux index 2f22fe64..79b30d7d 100644 --- a/linux/Makefile.linux +++ b/linux/Makefile.linux @@ -113,20 +113,7 @@ ifeq ($(AGP),0) AGP := $(shell gcc -E -nostdinc -I$(TREE) picker.c 2>/dev/null \ | grep -s 'AGP_MODULE = ' | cut -d' ' -f3) endif -all::;@echo KERNEL HEADERS IN $(TREE): SMP=${SMP} MODVERSIONS=${MODVERSIONS} \ - AGP=${AGP} -all:: $(LIBS) $(MODS) -endif -# **** End of SMP/MODVERSIONS detection - -# **** Handle SMP/MODVERSIONS -ifeq ($(SMP),1) -MODCFLAGS += -D__SMP__ -endif -ifeq ($(MODVERSIONS),1) -MODCFLAGS += -DMODVERSIONS -include $(TREE)/linux/modversions.h -endif ifeq ($(AGP),1) MODCFLAGS += -DDRM_AGP DRMOBJS += agpsupport.o @@ -139,7 +126,21 @@ I810OBJS= i810_drv.o i810_dma.o i810_bufs.o i810_context.o I810HEADERS= i810_drv.h i810_drm_public.h $(DRMHEADERS) endif +all::;@echo KERNEL HEADERS IN $(TREE): SMP=${SMP} MODVERSIONS=${MODVERSIONS} \ + AGP=${AGP} all:: $(LIBS) $(MODS) $(PROGS) +endif + +# **** End of SMP/MODVERSIONS detection + +# **** Handle SMP/MODVERSIONS +ifeq ($(SMP),1) +MODCFLAGS += -D__SMP__ +endif +ifeq ($(MODVERSIONS),1) +MODCFLAGS += -DMODVERSIONS -include $(TREE)/linux/modversions.h +endif + # **** End of configuration |