[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[openap-cvs] : pcmcia-cs Makefile,1.3,1.4
From: |
David Kimdon <address@hidden> |
Subject: |
[openap-cvs] : pcmcia-cs Makefile,1.3,1.4 |
Date: |
Fri, 09 Aug 2002 18:54:14 -0400 |
Update of /cvsroot/openap/pcmcia-cs
In directory subversions:/tmp/cvs-serv9052/apps/pcmcia-cs
Modified Files:
Makefile
Log Message:
rules from toplevel Makefile are now moved into here.
Index: Makefile
===================================================================
RCS file: /cvsroot/openap/pcmcia-cs/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Makefile 1 Aug 2002 00:08:43 -0000 1.3
+++ Makefile 9 Aug 2002 22:54:12 -0000 1.4
@@ -57,7 +57,7 @@
$(MAKE) -f $$f install ; \
fi ; done
-kcheck:
+kcheck:
@. ./config.out ; \
if [ "$$CHECK" != "" ] ; then \
if [ "`cksum < $$CHECK`" != "$$CKSUM" ] ; then \
@@ -66,3 +66,29 @@
exit 1 ; \
fi ; \
fi
+
+PCMCIA_DIR = $(TOPDIR)/apps/pcmcia-cs
+
+PCMCIA_OPTS=--kernel=$(KERNEL_DIR) --target=$(IMAGE_DIR) --trust --nocardbus \
+ --nopnp --noapm --ld=$(LD) --ucc=$(CC) --kcc=$(CC) --srctree
+
+ifneq ($(FLAVOR),native)
+PCMCIA_OPTS+=-n
+endif
+
+config_pcmcia:
+ @if [ ! -L $(PCMCIA_DIR)/PCMCIA-HOWTO ] ; then \
+ ln -s doc/PCMCIA-HOWTO $(PCMCIA_DIR)/PCMCIA-HOWTO ; \
+ ln -s ../pcmcia/config.h $(PCMCIA_DIR)/include/linux/compile.h
; \
+ ln -s ../pcmcia/config.h $(PCMCIA_DIR)/include/linux/config.h ;
\
+ ln -s ../pcmcia/config.h $(PCMCIA_DIR)/include/linux/version.h
; \
+ mkdir -p $(PCMCIA_DIR)/include/static/asm ; \
+ mkdir -p $(PCMCIA_DIR)/include/static/linux ; \
+ mkdir -p $(PCMCIA_DIR)/include/static/pcmcia ; \
+ ln -s ../asm $(PCMCIA_DIR)/include/static/asm ; \
+ ln -s ../linux $(PCMCIA_DIR)/include/static/linux ; \
+ ln -s ../../pcmcia/ciscode.h
$(PCMCIA_DIR)/include/static/pcmcia/ciscode.h ; \
+ fi
+
+ cd $(PCMCIA_DIR) ; \
+ $(PCMCIA_DIR)/Configure $(PCMCIA_OPTS)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [openap-cvs] : pcmcia-cs Makefile,1.3,1.4,
David Kimdon <address@hidden> <=