diff options
author | Russ Cox <rsc@swtch.com> | 2020-05-18 22:46:16 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-05-18 22:46:42 -0400 |
commit | 6c1235d234dfe290c61c492a1779c7a3ad2f7fc6 (patch) | |
tree | 5b9aa3736b4336516dec8b7c5dcce54de70b8ef5 | |
parent | fa157263c8f510318f1f119a2d4843281e506eba (diff) | |
download | plan9port-6c1235d234dfe290c61c492a1779c7a3ad2f7fc6.tar.gz plan9port-6c1235d234dfe290c61c492a1779c7a3ad2f7fc6.tar.bz2 plan9port-6c1235d234dfe290c61c492a1779c7a3ad2f7fc6.zip |
build: use installbsd instead of install on AIX
Even in mkmk.sh.
-rwxr-xr-x | dist/buildmk | 2 | ||||
-rw-r--r-- | src/mk.AIX-power | 2 | ||||
-rw-r--r-- | src/mkenv | 1 | ||||
-rw-r--r-- | src/mkfile | 3 | ||||
-rw-r--r-- | src/mkhdr | 3 | ||||
-rw-r--r-- | src/mkmk.sh | 2 |
6 files changed, 5 insertions, 8 deletions
diff --git a/dist/buildmk b/dist/buildmk index c559570c..cd11417c 100755 --- a/dist/buildmk +++ b/dist/buildmk @@ -2,5 +2,5 @@ # run this in the src directory . ../src/mkenv -export SYSNAME OBJTYPE +export SYSNAME OBJTYPE INSTALL sh -x mkmk.sh diff --git a/src/mk.AIX-power b/src/mk.AIX-power deleted file mode 100644 index 39f8ee8a..00000000 --- a/src/mk.AIX-power +++ /dev/null @@ -1,2 +0,0 @@ -INSTALL=installbsd - @@ -20,3 +20,4 @@ OBJTYPE=`(uname -m -p 2>/dev/null || uname -m) | sed ' s;.*aarch64.*;arm64; s;.*arm64.*;arm64; '` +INSTALL=`[ $(uname) = AIX ] && echo installbsd || echo install` @@ -30,11 +30,12 @@ mkmk.sh:VD: (cd lib9; mk -n -a install) echo cd .. for i in libbio libregexp cmd/mk - do + do (cd $i; echo cd $i; echo 'echo cd `pwd`'; mk -n -a install) echo cd .. done ) | sed ' + s/'$INSTALL'/$INSTALL/g s/'$SYSNAME'/$SYSNAME/g s/'$OBJTYPE'/$OBJTYPE/g s;'$PLAN9';$PLAN9;g @@ -11,7 +11,6 @@ CC=9c LD=9l AS=9a AR=9ar -INSTALL=install CFLAGS= LDFLAGS= AFLAGS= @@ -24,5 +23,3 @@ LIB= SHORTLIB=9 <|cat $PLAN9/config 2>/dev/null || true -<|cat $PLAN9/src/mk.$SYSNAME-$OBJTYPE 2>/dev/null || true - diff --git a/src/mkmk.sh b/src/mkmk.sh index 89c311f3..dfccd369 100644 --- a/src/mkmk.sh +++ b/src/mkmk.sh @@ -209,5 +209,5 @@ echo cd `pwd` 9c word.c 9c unix.c 9l -o o.mk arc.o archive.o bufblock.o env.o file.o graph.o job.o lex.o main.o match.o mk.o parse.o recipe.o rc.o rule.o run.o sh.o shell.o shprint.o symtab.o var.o varsub.o word.o unix.o -install o.mk $PLAN9/bin/mk +$INSTALL o.mk $PLAN9/bin/mk cd .. |