shithub: plan9front

Download patch

ref: bcfee7b54757eb64cade34e476cf0dba672832f6
parent: abe0534492a790de821b520129c70628ba54ed48
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Aug 22 13:47:38 EDT 2021

revert 8c228a123fa0c6062570964011854302bbf57242: accidental commit

was testing out the git/import tweaks and accidentally
pushed this commit. No comment on whether we want it,
but it definitely wasn't ready for merge.

Oops.

--- a/sys/src/9/mkfile	Sun Aug 22 13:18:35 2021
+++ b/sys/src/9/mkfile	Sun Aug 22 13:47:38 2021
@@ -3,13 +3,11 @@
 	bcm64\
 	cycv\
 	kw\
-#	power arch:\
-#	mtx\
+	mtx\
 	omap\
 	pc\
 	pc64\
-#	power arch:\
-#	ppc\
+	ppc\
 	sgi\
 	teg2\
 	xen\
--- a/sys/src/boot/zynq/mkfile	Sun Aug 22 13:18:35 2021
+++ b/sys/src/boot/zynq/mkfile	Sun Aug 22 13:47:38 2021
@@ -7,9 +7,6 @@
 
 all:V: $TARG
 
-install:V:
-	echo install not supported >[1=2]
-
 clean:V:
 	rm -rf $TARG *.$O
 	@{objtype=$cputype mk -f mkfile.port clean}
--- a/sys/src/mkfile	Sun Aug 22 13:18:35 2021
+++ b/sys/src/mkfile	Sun Aug 22 13:47:38 2021
@@ -1,12 +1,5 @@
 </$objtype/mkfile
 
-SUPPORTED_OBJS=\
-	386\
-	amd64\
-	arm\
-	arm64\
-	mips\
-
 LIBS=\
 	lib9p\
 	libString\
@@ -59,29 +52,21 @@
 
 all install clean nuke:VQ:
 	date
-	if (~ $objtype $SUPPORTED_OBJS) {
-		for (i in $LIBS $SUBSYS $CMDS) @{
-			cd $i
-			mk $target
-		}
+	for (i in $LIBS $SUBSYS $CMDS) @{
+		cd $i
+		mk $target
 	}
-	if not
-		echo $objtype arch not supported by 9front >[1=2]
 	date
 
 installall:V:
 	echo "installall not supported"
 
 release:V:
-	if (~ $objtype $SUPPORTED_OBJS) {
-		mk nuke
-		rm -f /$objtype/lib/ape/*.a
-		rm -f /$objtype/lib/*.a
-		mk install
-		mk clean
-	}
-	if not
-		echo $objtype architecture not supported >[1=2]
+	mk nuke
+	rm -f /$objtype/lib/ape/*.a
+	rm -f /$objtype/lib/*.a
+	mk install
+	mk clean
 
 kernels:V:
 	for (i in 9 boot) @{