Module: xenomai-head
Branch: master
Commit: 45b87f3fb7933ea66640f856ba261d9d9a773cd5
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=45b87f3fb7933ea66640f856ba261d9d9a773cd5

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Dec  6 18:10:22 2009 +0100

analogy: fix Linux 2.4 build

---

 ksrc/drivers/analogy/intel/Config.in |    4 +++-
 ksrc/drivers/analogy/intel/Makefile  |    7 +++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ksrc/drivers/analogy/intel/Config.in 
b/ksrc/drivers/analogy/intel/Config.in
index 515648a..306e01b 100644
--- a/ksrc/drivers/analogy/intel/Config.in
+++ b/ksrc/drivers/analogy/intel/Config.in
@@ -5,4 +5,6 @@
 
 dep_tristate '8255 driver' CONFIG_XENO_DRIVERS_ANALOGY_8255 
$CONFIG_XENO_DRIVERS_ANALOGY
 
-dep_tristate 'standard parallel port driver' 
CONFIG_XENO_DRIVERS_ANALOGY_PARPORT $CONFIG_XENO_DRIVERS_ANALOGY
\ No newline at end of file
+if [ "$CONFIG_X86" == "y" ]; then 
+   dep_tristate 'standard parallel port driver' 
CONFIG_XENO_DRIVERS_ANALOGY_PARPORT $CONFIG_XENO_DRIVERS_ANALOGY
+fi
diff --git a/ksrc/drivers/analogy/intel/Makefile 
b/ksrc/drivers/analogy/intel/Makefile
index e708c39..c2389a9 100644
--- a/ksrc/drivers/analogy/intel/Makefile
+++ b/ksrc/drivers/analogy/intel/Makefile
@@ -12,7 +12,6 @@ analogy_8255-y := 8255.o
 
 analogy_parport-y := parport.o
 
-
 else
 
 # Makefile frag for Linux v2.4
@@ -27,13 +26,13 @@ analogy_8255-objs := 8255.o
 
 analogy_parport-objs := parport.o
 
-export-objs := $(analgoy_8255-objs) $(analgoy_parport-objs)
+export-objs := $(analogy_8255-objs) $(analogy_parport-objs)
 
 EXTRA_CFLAGS += -D__IN_XENOMAI__ -I$(TOPDIR)/include/xenomai 
-I$(TOPDIR)/include/xenomai/compat
 
 include $(TOPDIR)/Rules.make
 
-analogy_8255.o: $(analogy_8255-objs) $(analgoy_parport-objs)
-       $(LD) -r -o $@ $(analogy_8255-objs) $(analgoy_parport-objs)
+analogy_8255.o: $(analogy_8255-objs) $(analogy_parport-objs)
+       $(LD) -r -o $@ $(analogy_8255-objs) $(analogy_parport-objs)
 
 endif


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to