]> Zhao Yanbai Git Server - minix.git/commitdiff
mmc/emmc: compile for ARM target only 31/3231/2
authorDavid van Moolenbroek <david@minix3.org>
Thu, 12 Nov 2015 12:53:32 +0000 (13:53 +0100)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Wed, 13 Jan 2016 19:32:30 +0000 (20:32 +0100)
It was not used or tested on x86 in practice, and the automated arm
tests should obviate the need for a dummy-only x86 implementation.
It should be noted that this change is merely the simplest way to
deal with conflicts with live update (for the second time now).

Change-Id: I6e066c4659c6213cd556144271784588356b140f

distrib/sets/lists/minix-base/md.evbarm
distrib/sets/lists/minix-base/mi
minix/drivers/storage/Makefile
minix/drivers/storage/mmc/Makefile

index 9c9d6375f9f3cdb6cb9ac284f241694435b78b7b..d116e1b0a3879b6c9f7bb2b385488a413d09da80 100644 (file)
 ./etc/system.conf.d/usbd                                minix-base
 ./service/bmp085                                        minix-base
 ./service/cat24c256                                     minix-base
+./service/emmc                                          minix-base
 ./service/fb                                            minix-base
 ./service/gpio                                          minix-base
 ./service/i2c                                           minix-base
 ./service/lan8710a                                      minix-base
+./service/mmc                                           minix-base
 ./service/random                                        minix-base
 ./service/sht21                                         minix-base
 ./service/tda19988                                      minix-base
index 99435c16a8aa3236f3affc3a14282b7febd6e07d..6869d37620412390d2cd38087431448211fac1f0 100644 (file)
 ./service/asr                                           minix-base
 ./service/devman                                        minix-base
 ./service/ds                                            minix-base
-./service/emmc                                          minix-base
 ./service/ext2                                          minix-base
 ./service/hello                                         minix-base
 ./service/inet                                          minix-base
 ./service/lwip                                          minix-base
 ./service/memory                                        minix-base
 ./service/mfs                                           minix-base
-./service/mmc                                           minix-base
 ./service/pfs                                           minix-base
 ./service/pm                                            minix-base
 ./service/procfs                                        minix-base
index da7307bc25d16b7a00a50de2f947a02910441a35..f9f53ee98ac665ccde9101ff2a78185485334783 100644 (file)
@@ -8,7 +8,10 @@ SUBDIR+=       filter
 SUBDIR+=       virtio_blk
 .  endif # ${MACHINE_ARCH} == "i386"
 
+.  if ${MACHINE_ARCH} == "earm"
 SUBDIR+=       mmc
+.  endif # ${MACHINE_ARCH} == "earm"
+
 SUBDIR+=       vnd
 .endif # ${MKIMAGEONLY} == "no"
 
index bc51c8ce431ed7d54882e250ba10d0eedbb76d38..6309948247c1ede658a3961222e72f85a1f2d811 100644 (file)
@@ -1,11 +1,11 @@
 # Makefile for the mmc driver.
-PROG=      mmc emmc
-SRCS.mmc=  mmcblk.c mmchost_dummy.c sdhcreg.h sdmmcreg.h
-SRCS.emmc= emmc.c mmcblk.c
+PROGS=      mmc emmc
+MAN.mmc=
+MAN.emmc=
 
-.if ${MACHINE_ARCH} == "earm"
+SRCS.mmc=  mmcblk.c mmchost_dummy.c sdhcreg.h sdmmcreg.h
 SRCS.mmc += mmchost_mmchs.c 
-.endif
+SRCS.emmc= emmc.c mmcblk.c
 
 DPADD+=        ${LIBBLOCKDRIVER} ${LIBSYS}
 LDADD+=        -lblockdriver -lsys