The files tap-haiku.c and tap-aix.c are identical (except one line of error message). We should avoid such code duplication, so replace these by a generic tap-stub.c file instead. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Jason Wang <jasowang@redhat.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			757 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			757 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| common-obj-y = net.o queue.o checksum.o util.o hub.o
 | |
| common-obj-y += socket.o
 | |
| common-obj-y += dump.o
 | |
| common-obj-y += eth.o
 | |
| common-obj-$(CONFIG_L2TPV3) += l2tpv3.o
 | |
| common-obj-$(CONFIG_POSIX) += vhost-user.o
 | |
| common-obj-$(CONFIG_SLIRP) += slirp.o
 | |
| common-obj-$(CONFIG_VDE) += vde.o
 | |
| common-obj-$(CONFIG_NETMAP) += netmap.o
 | |
| common-obj-y += filter.o
 | |
| common-obj-y += filter-buffer.o
 | |
| common-obj-y += filter-mirror.o
 | |
| common-obj-y += colo-compare.o
 | |
| common-obj-y += colo.o
 | |
| common-obj-y += filter-rewriter.o
 | |
| common-obj-y += filter-replay.o
 | |
| 
 | |
| tap-obj-$(CONFIG_LINUX) = tap-linux.o
 | |
| tap-obj-$(CONFIG_BSD) = tap-bsd.o
 | |
| tap-obj-$(CONFIG_SOLARIS) = tap-solaris.o
 | |
| tap-obj-y ?= tap-stub.o
 | |
| common-obj-$(CONFIG_POSIX) += tap.o $(tap-obj-y)
 | |
| common-obj-$(CONFIG_WIN32) += tap-win32.o
 |