mtd/drivers/mtd/maps Makefile.common,NONE,1.1 GNUmakefile,1.11,1.12
Makefile,1.43,1.44
David Woodhouse
dwmw2 at infradead.org
Wed May 21 11:00:06 EDT 2003
- Previous message: mtd/drivers/mtd/devices Makefile.common,NONE,1.1
GNUmakefile,1.5,1.6 Makefile,1.7,1.8
- Next message: mtd/drivers/mtd/nand Makefile.common,NONE,1.1 GNUmakefile,1.3,1.4
Makefile,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv26380/maps
Modified Files:
GNUmakefile Makefile
Added Files:
Makefile.common
Log Message:
Make makefiles work for 2.5 too
***** Error reading new file: [Errno 2] No such file or directory: 'Makefile.common'
Index: GNUmakefile
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/GNUmakefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- GNUmakefile 20 May 2003 20:41:30 -0000 1.11
+++ GNUmakefile 21 May 2003 15:00:03 -0000 1.12
@@ -1,43 +1,7 @@
+#
+# Out of tree drivers/mtd/maps/GNUmakefile
+#
# $Id$
-ifndef CONFIG_MTD
-
-# We're being invoked outside a normal kernel build. Fake it
-# CONFIG_MTD_ARM := m
-CONFIG_MTD_CFI_FLAGADM := m
-# CONFIG_MTD_CSTM_MIPS_IXX := m
-# CONFIG_MTD_DC21285 := m
-# CONFIG_MTD_ELAN_104NC := m
-CONFIG_MTD_IQ80310 := m
-CONFIG_MTD_L440GX := m
-CONFIG_MTD_NORA := m
-# CONFIG_MTD_OCTAGON := m
-CONFIG_MTD_PHYSMAP := m
-CONFIG_MTD_PNC2000 := m
-CONFIG_MTD_RPXLITE := m
-# CONFIG_MTD_SA1100 := m
-# CONFIG_MTD_PCMCIA := m
-# CONFIG_MTD_SBC_GXX := m
-CONFIG_MTD_SC520CDP := m
-CONFIG_MTD_NETSC520 := m
-# CONFIG_MTD_SUN_UFLASH := m
-# CONFIG_MTD_VMAX := m
-CONFIG_MTD_DBOX2 := m
-
-CFLAGS_physmap.o := -DCONFIG_MTD_PHYSMAP_START=0x8000000 -DCONFIG_MTD_PHYSMAP_LEN=0x4000000 -DCONFIG_MTD_PHYSMAP_BUSWIDTH=2
-CFLAGS_cstmmap.o := -DCONFIG_MTD_CSTM_MIPS_IXX_START=0x8000000 -DCONFIG_MTD_CSTM_MIPS_IXX_LEN=0x4000000 -DCONFIG_MTD_CSTM_MIPS_IXX_BUSWIDTH=2
-endif
-
-# Normal case - build in-kernel
-
-ifeq ($(VERSION),2)
- ifneq ($(PATCHLEVEL),4)
- ifneq ($(PATCHLEVEL),5)
- OLDTOPDIR := $(TOPDIR)
- TOPDIR := $(shell pwd)/..
- endif
- endif
-endif
-
+obj := $(shell pwd)
include Makefile
-
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/Makefile,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- Makefile 20 May 2003 13:10:05 -0000 1.43
+++ Makefile 21 May 2003 15:00:03 -0000 1.44
@@ -1,69 +1,8 @@
#
-# linux/drivers/maps/Makefile
+# Out of tree drivers/mtd/maps/Makefile
#
# $Id$
-BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/)
+# Munge the kernel build environment to suit our needs....
+include $(mtd)/Makefile.inc
-ifeq ($(BELOW25),y)
-O_TARGET := mapslink.o
-endif
-
-export-objs := map_funcs.o
-
-ifeq ($(CONFIG_MTD_COMPLEX_MAPPINGS),y)
-obj-$(CONFIG_MTD) += map_funcs.o
-endif
-
-# Chip mappings
-obj-$(CONFIG_MTD_CDB89712) += cdb89712.o
-obj-$(CONFIG_MTD_ARM_INTEGRATOR)+= integrator-flash.o
-obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o
-obj-$(CONFIG_MTD_CSTM_MIPS_IXX) += cstm_mips_ixx.o
-obj-$(CONFIG_MTD_DC21285) += dc21285.o
-obj-$(CONFIG_MTD_DILNETPC) += dilnetpc.o
-obj-$(CONFIG_MTD_ELAN_104NC) += elan-104nc.o
-obj-$(CONFIG_MTD_EPXA10DB) += epxa10db-flash.o
-obj-$(CONFIG_MTD_IQ80310) += iq80310.o
-obj-$(CONFIG_MTD_L440GX) += l440gx.o
-obj-$(CONFIG_MTD_AMD76XROM) += amd76xrom.o
-obj-$(CONFIG_MTD_ICH2ROM) += ich2rom.o
-obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o
-obj-$(CONFIG_MTD_LUBBOCK) += lubbock-flash.o
-obj-$(CONFIG_MTD_MBX860) += mbx860.o
-obj-$(CONFIG_MTD_CEIVA) += ceiva.o
-obj-$(CONFIG_MTD_OCTAGON) += octagon-5066.o
-obj-$(CONFIG_MTD_PHYSMAP) += physmap.o
-obj-$(CONFIG_MTD_PNC2000) += pnc2000.o
-obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o
-obj-$(CONFIG_MTD_RPXLITE) += rpxlite.o
-obj-$(CONFIG_MTD_TQM8XXL) += tqm8xxl.o
-obj-$(CONFIG_MTD_SA1100) += sa1100-flash.o
-obj-$(CONFIG_MTD_SBC_GXX) += sbc_gxx.o
-obj-$(CONFIG_MTD_SC520CDP) += sc520cdp.o
-obj-$(CONFIG_MTD_NETSC520) += netsc520.o
-obj-$(CONFIG_MTD_SUN_UFLASH) += sun_uflash.o
-obj-$(CONFIG_MTD_VMAX) += vmax301.o
-obj-$(CONFIG_MTD_SCx200_DOCFLASH)+= scx200_docflash.o
-obj-$(CONFIG_MTD_DBOX2) += dbox2-flash.o
-obj-$(CONFIG_MTD_OCELOT) += ocelot.o
-obj-$(CONFIG_MTD_SOLUTIONENGINE)+= solutionengine.o
-obj-$(CONFIG_MTD_PCI) += pci.o
-obj-$(CONFIG_MTD_PB1000) += pb1xxx-flash.o
-obj-$(CONFIG_MTD_PB1100) += pb1xxx-flash.o
-obj-$(CONFIG_MTD_PB1500) += pb1xxx-flash.o
-obj-$(CONFIG_MTD_LASAT) += lasat.o
-obj-$(CONFIG_MTD_AUTCPU12) += autcpu12-nvram.o
-obj-$(CONFIG_MTD_EDB7312) += edb7312.o
-obj-$(CONFIG_MTD_IMPA7) += impa7.o
-obj-$(CONFIG_MTD_FORTUNET) += fortunet.o
-obj-$(CONFIG_MTD_REDWOOD) += redwood.o
-obj-$(CONFIG_MTD_UCLINUX) += uclinux.o
-obj-$(CONFIG_MTD_NETtel) += nettel.o
-obj-$(CONFIG_MTD_SCB2_FLASH) += scb2_flash.o
-obj-$(CONFIG_MTD_EBONY) += ebony.o
-obj-$(CONFIG_MTD_BEECH) += beech-mtd.o
-obj-$(CONFIG_MTD_ARCTIC) += arctic-mtd.o
-obj-$(CONFIG_MTD_H720X) += h720x-flash.o
-
--include $(TOPDIR)/Rules.make
- Previous message: mtd/drivers/mtd/devices Makefile.common,NONE,1.1
GNUmakefile,1.5,1.6 Makefile,1.7,1.8
- Next message: mtd/drivers/mtd/nand Makefile.common,NONE,1.1 GNUmakefile,1.3,1.4
Makefile,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list