aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-07 19:47:15 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-07 19:47:15 +0000
commit1deb618afd207bb3e1fc650a45ae031b78b546df (patch)
treeceaeb92d4200c0a10588c737668c47bcf4cdc97a /release
parent6052b0ac86fcf206e98bcc5c1a0b989e45d6fbac (diff)
downloadsrc-1deb618afd207bb3e1fc650a45ae031b78b546df.tar.gz
src-1deb618afd207bb3e1fc650a45ae031b78b546df.zip
Remove arm/Makefile.{KERNEL} files, as this project
branch is now going in a different direction than originally planned. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282603
Diffstat (limited to 'release')
-rw-r--r--release/Makefile1
-rw-r--r--release/Makefile.arm134
-rw-r--r--release/arm/Makefile.BEAGLEBONE10
-rw-r--r--release/arm/Makefile.PANDABOARD9
-rw-r--r--release/arm/Makefile.RPI-B10
-rw-r--r--release/arm/Makefile.WANDBOARD-QUAD10
-rw-r--r--release/arm/Makefile.ZEDBOARD9
7 files changed, 0 insertions, 183 deletions
diff --git a/release/Makefile b/release/Makefile
index 7b599409e51c..e3485f222ad5 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -303,4 +303,3 @@ release-install:
cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5
.include "${.CURDIR}/Makefile.vm"
-.include "${.CURDIR}/Makefile.arm"
diff --git a/release/Makefile.arm b/release/Makefile.arm
deleted file mode 100644
index b7092c32bbc1..000000000000
--- a/release/Makefile.arm
+++ /dev/null
@@ -1,134 +0,0 @@
-#
-# $FreeBSD$
-#
-
-BOARDS?= BEAGLEBONE \
- RPI-B \
- PANDABOARD \
- WANDBOARD-QUAD \
- ZEDBOARD
-
-ARMTARGETS?=
-ARMSIZE?= 1G
-BOOTSIZE?= 4m
-ARM_WFLAGS?= CROSS_TOOLCHAIN=armv6-gcc
-ARMPORTS?=
-
-WITH_ARM_IMAGES?=1
-CLEANFILES+= arm-all
-
-.if defined(WITH_ARM_IMAGES) && !empty(WITH_ARM_IMAGES) && !empty(BOARDS)
-. for BOARD in ${BOARDS}
-ARMTARGETS+= arm-${BOARD:tl}
-ARMBEFORECLEAN+= arm-mdclean${BOARD:tl}
-CLEANDIRS+= arm-${BOARD:tl} \
- arm-${BOARD:tl}-boot
-CLEANFILES+= arm-buildworld${BOARD:tl} \
- arm-buildkernel${BOARD:tl} \
- arm-installworld${BOARD:tl} \
- arm-installkernel${BOARD:tl} \
- ${${BOARD:tu}IMAGE} \
- ${${BOARD:tu}MDDEV} \
- ${${BOARD:tu}MDFILE} \
- ${${BOARD:tu}BOOTDEV} \
- ${${BOARD:tu}BOOTFILE} \
- build-arm-${BOARD:tl} \
- build-arm-ports${BOARD:tl}
-${BOARD:tu}IMAGE= arm-${BOARD:tu}.img
-${BOARD:tu}MDDEV= arm-${BOARD:tu}.mddev
-${BOARD:tu}MDFILE= arm-${BOARD:tu}.raw
-${BOARD:tu}BOOTDEV= arm-${BOARD:tu}.bootdev
-${BOARD:tu}BOOTFILE= arm-${BOARD:tu}.boot
-. if exists(${.CURDIR}/arm/Makefile.${BOARD})
-. include "${.CURDIR}/arm/Makefile.${BOARD}"
-. endif
-
-arm-mdclean${BOARD:tl}:
-.if exists(${${BOARD:tu}MDDEV})
- umount ${${BOARD:tu}MDFILE} || true
- mdconfig -d -u $$(cat ${${BOARD:tu}MDDEV})
-.endif
-.if exists(${${BOARD:tu}BOOTDEV})
- umount ${${BOARD:tu}BOOTFILE} || true
- mdconfig -d -u $$(cat ${${BOARD:tu}BOOTDEV})
-.endif
-
-arm-${BOARD:tl}: arm-buildworld${BOARD:tl} arm-buildkernel${BOARD:tl} \
- arm-installworld${BOARD:tl} arm-installkernel${BOARD:tl}
- ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} build-${.TARGET}
-
-arm-buildworld${BOARD:tl}:
- @echo ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${ARM_WFLAGS} \
- buildworld
- touch ${.TARGET}
-
-arm-buildkernel${BOARD:tl}:
- @echo ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${ARM_WFLAGS} \
- KERNCONF=${BOARD} buildkernel
- touch ${.TARGET}
-
-arm-installworld${BOARD:tl}: arm-mkfs${BOARD:tl}
- @echo ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${ARM_WFLAGS} \
- DESTDIR=${.OBJDIR}/arm-${BOARD:tl} installworld distribution
- touch ${.TARGET}
-
-arm-installkernel${BOARD:tl}:
- @echo ${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${ARM_WFLAGS} \
- DESTDIR=${.OBJDIR}/arm-${BOARD:tl} KERNCONF=${BOARD} \
- installkernel
- touch ${.TARGET}
-
-arm-mkfs${BOARD:tl}:
-.if !exists(${${BOARD:tu}MDDEV})
- mkdir -p ${.OBJDIR}/arm-${BOARD:tl}
- truncate -s ${ARMSIZE} ${.OBJDIR}/${${BOARD:tu}MDFILE}
- echo $$(mdconfig -f ${.OBJDIR}/${${BOARD:tu}MDFILE}) > \
- ${.OBJDIR}/${${BOARD:tu}MDDEV}
- newfs -S 4096 /dev/$$(cat ${.OBJDIR}/${${BOARD:tu}MDDEV})
- mount /dev/$$(cat ${.OBJDIR}/${${BOARD:tu}MDDEV}) \
- ${.OBJDIR}/arm-${BOARD:tl}
-.endif
-.if !exists(${${BOARD:tu}BOOTDEV})
- mkdir -p ${.OBJDIR}/arm-${BOARD:tl}-boot
- truncate -s ${BOOTSIZE} ${.OBJDIR}/${${BOARD:tu}BOOTFILE}
- echo $$(mdconfig -f ${.OBJDIR}/${${BOARD:tu}BOOTFILE}) > \
- ${.OBJDIR}/${${BOARD:tu}BOOTDEV}
- newfs_msdos -S 4096 /dev/$$(cat ${.OBJDIR}/${${BOARD:tu}BOOTDEV})
- mount_msdosfs /dev/$$(cat ${.OBJDIR}/${${BOARD:tu}BOOTDEV}) \
- ${.OBJDIR}/arm-${BOARD:tl}-boot
-.endif
-
-arm-mkimage${BOARD:tl}:
-.if exists(/dev/$$(cat ${.OBJDIR}/${${BOARD:tu}BOOTDEV})
- umount ${.OBJDIR}/arm-${BOARD:tl}-boot
-.endif
-.if exists(/dev/$$(cat ${.OBJDIR}/${${BOARD:tu}MDDEV})
- umount ${.OBJDIR}/arm-${BOARD:tl}
-.endif
-# FIXME:
-# Do these things need to be MBR?
-# I'm also not entirely sure this is correct, anyway.
-#
- mkimg -s ${${BOARD}PARTSCHEME} \
- -b ${${BOARD:tu}BOOTFILE} \
- -p freebsd/rootfs:=${${BOARD:tu}MDFILE} \
- -o ${${BOARD:tu}IMAGE}
-
-build-arm-ports${BOARD:tl}:
-. if defined(ARMPORTS) && !empty(ARMPORTS)
-. if !exists(${PORTSDIR}/Makefile)
-. error "Ports tree (${PORTSDIR}) is required."
-. endif
-. for AP in ${ARMPORTS}
- @echo ${MAKE} -C ${PORTSDIR}/${AP} all install clean distclean
-. endfor
-. endif
- touch ${.TARGET}
-
-. endfor # main loop
-.endif # !WITH_ARM_IMAGES
-
-beforeclean: ${ARMBEFORECLEAN}
-
-arm-all: ${ARMTARGETS}
- touch ${.TARGET}
diff --git a/release/arm/Makefile.BEAGLEBONE b/release/arm/Makefile.BEAGLEBONE
deleted file mode 100644
index 5f59f0317d88..000000000000
--- a/release/arm/Makefile.BEAGLEBONE
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# $FreeBSD$
-#
-
-BOARD= BEAGLEBONE
-${BOARD}PARTSCHEME= mbr
-ARMPORTS= sysutils/u-boot-beaglebone
-
-build-arm-${BOARD:tl}: build-arm-ports${BOARD:tl}
- touch ${.TARGET}
diff --git a/release/arm/Makefile.PANDABOARD b/release/arm/Makefile.PANDABOARD
deleted file mode 100644
index cd911e9cbb62..000000000000
--- a/release/arm/Makefile.PANDABOARD
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# $FreeBSD$
-#
-
-BOARD= PANDABOARD
-${BOARD}PARTSCHEME= mbr
-
-build-arm-${BOARD:tl}:
- touch ${.TARGET}
diff --git a/release/arm/Makefile.RPI-B b/release/arm/Makefile.RPI-B
deleted file mode 100644
index c81e51ed35c6..000000000000
--- a/release/arm/Makefile.RPI-B
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# $FreeBSD$
-#
-
-BOARD= RPI-B
-${BOARD}PARTSCHEME= mbr
-ARMPORTS= sysutils/u-boot-rpi
-
-build-arm-${BOARD:tl}: build-arm-ports${BOARD:tl}
- touch ${.TARGET}
diff --git a/release/arm/Makefile.WANDBOARD-QUAD b/release/arm/Makefile.WANDBOARD-QUAD
deleted file mode 100644
index d7f7ff7e4474..000000000000
--- a/release/arm/Makefile.WANDBOARD-QUAD
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# $FreeBSD$
-#
-
-BOARD= WANDBOARD-QUAD
-${BOARD}PARTSCHEME= mbr
-ARMPORTS= sysutils/u-boot-wandboard
-
-build-arm-${BOARD:tl}: build-arm-ports${BOARD:tl}
- touch ${.TARGET}
diff --git a/release/arm/Makefile.ZEDBOARD b/release/arm/Makefile.ZEDBOARD
deleted file mode 100644
index 5d3a6856cc1d..000000000000
--- a/release/arm/Makefile.ZEDBOARD
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# $FreeBSD$
-#
-
-BOARD= ZEDBOARD
-${BOARD}PARTSCHEME= mbr
-
-build-arm-${BOARD:tl}:
- touch ${.TARGET}