From fda4eff0d2f19a41e2ecd413b6cd875b7021c8a9 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 18 May 2019 20:17:40 -0400 Subject: build: Move comments to fix whitespace Fixes: ../build:22: ../targets.d/~none: No such file or directory ../build:22: .mk: No such file or directory make: *** No rule to make target '.mk'. Stop. And: [ -e "src/gcc/config /i386/linux64.h.orig" ] || \ mv "src/gcc/config /i386/linux64.h" "src/gcc/config /i386/linux64.h.orig" mv: can't rename 'src/gcc/config /i386/linux64.h': No such file or directory ../build:121: recipe for target 'build-gcc-config' failed make[1]: *** [build-gcc-config] Error 1 make is stupid sometimes. --- diff --git a/build b/build index 6dec72e..8ca1cd6 100755 --- a/build +++ b/build @@ -13,7 +13,8 @@ targets = $(OPK_HOST_ARCH) version = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | sed 's/+sip.*//') base_version = $$(printf '%s\n' '$(OPK_SOURCE)' | sed 's/^gcc-//') -target = ~none # Will be set in sub-makes +# target will be set in sub-makes. +target = ~none target_gnu = $$(oh-architecture $(target)) builddir = obj-$(target) @@ -61,7 +62,8 @@ bootstrap1_opts = \ --disable-libgomp \ --disable-libssp -tm = src/gcc/config # Abbreviation for build-gcc-config +# Abbreviation for build-gcc-config +tm = src/gcc/config # Defaults: libdir = /usr/lib/$(OPK_HOST_ARCH) -- cgit v0.9.1