From 84ec8649b643e24a564705936cc4e78ade2ceb39 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Fri, 5 May 2006 14:26:28 +0000 Subject: [PATCH] Remove hand-rolled cross-build glue. Normal cross-build infrastructure in FreeBSD likely supports this without any extra work. --- sys/modules/rr232x/Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sys/modules/rr232x/Makefile b/sys/modules/rr232x/Makefile index 1a045f70e3d..0321bf81b74 100644 --- a/sys/modules/rr232x/Makefile +++ b/sys/modules/rr232x/Makefile @@ -8,14 +8,6 @@ KMOD = rr232x SRCS = opt_scsi.h opt_cam.h bus_if.h device_if.h pci_if.h os_bsd.h os_bsd.c osm_bsd.c rr232x_config.c OBJS = rr232x_lib.o -ARCH ?= $(MACHINE_ARCH) -.if $(MACHINE_ARCH)!=$(ARCH) -HOSTARCH != uname -m -CROSS_COMPILE ?= /usr/obj/$(ARCH)/usr/src/$(HOSTARCH)/usr/bin/ -.MAKEFLAGS: MACHINE_ARCH=$(ARCH) CC=$(CROSS_COMPILE)$(CC) LD=$(CROSS_COMPILE)$(LD)\ - NM=$(CROSS_COMPILE)nm OBJCOPY=$(CROSS_COMPILE)objcopy -.endif - rr232x_lib.o: uudecode -p < ${RR232X}/$(MACHINE_ARCH)-elf.rr232x_lib.o.uu > ${.TARGET}