diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/32.mk | 5 | ||||
-rw-r--r-- | rules/64.mk | 5 | ||||
-rw-r--r-- | rules/common.mk | 7 | ||||
-rw-r--r-- | rules/ips.mk | 2 |
4 files changed, 18 insertions, 1 deletions
diff --git a/rules/32.mk b/rules/32.mk index 907f90f..3bd29ba 100644 --- a/rules/32.mk +++ b/rules/32.mk @@ -31,6 +31,11 @@ protodirs += $(destdir.32) %-32-stamp: bits = 32 +# build32 = \#, not it is emtpy and lines like +# $(build32) file path=... +# in manifests are included +build32 := + __32_mk := included endif diff --git a/rules/64.mk b/rules/64.mk index 81c7390..29b63b7 100644 --- a/rules/64.mk +++ b/rules/64.mk @@ -31,6 +31,11 @@ protodirs += $(destdir.64) %-64-stamp: bits = 64 +# build64 = \#, not it is emtpy and lines like +# $(build64) file path=... +# in manifests are included +build64 := + __64_mk := included endif diff --git a/rules/common.mk b/rules/common.mk index e9861e9..820b8f0 100644 --- a/rules/common.mk +++ b/rules/common.mk @@ -24,8 +24,13 @@ # include guard: ifeq (,$(__common_mk)) +skip := \# + +build32 := $(skip) +build64 := $(skip) + # Default: -bits := 32 +bits := 64 # Prepended to commands which require root privileges # May be overriden in /etc/cibs/cibs.conf to, for example, pfexec diff --git a/rules/ips.mk b/rules/ips.mk index 5503147..f0f082e 100644 --- a/rules/ips.mk +++ b/rules/ips.mk @@ -44,6 +44,8 @@ pkg-define += \ -DMACH="$(mach)" \ -DMACH32="$(mach32)" \ -DMACH64="$(mach64)" \ +-Dbuild32="$(build32)" \ +-Dbuild64="$(build64)" \ # Where to find files: |