aboutsummaryrefslogtreecommitdiff
path: root/rules/ips-manifest.mk
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-29 15:36:38 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-29 15:36:38 +0400
commit434c9d1997c6b4e8efff4755511f5430ba8f7efe (patch)
treeaddb65ce4643f17b41548d4da9bb7d612fda682e /rules/ips-manifest.mk
parent64fb34d1346bab605bf702bf2c2659c91bac0bc3 (diff)
downloadcibs-434c9d1997c6b4e8efff4755511f5430ba8f7efe.tar.gz
Add support for creating deb packages
Diffstat (limited to 'rules/ips-manifest.mk')
-rw-r--r--rules/ips-manifest.mk24
1 files changed, 12 insertions, 12 deletions
diff --git a/rules/ips-manifest.mk b/rules/ips-manifest.mk
index 3d20e1d..7eb9fdf 100644
--- a/rules/ips-manifest.mk
+++ b/rules/ips-manifest.mk
@@ -34,26 +34,26 @@ ips-version = $(version)
# Substitutions in IPS manifest:
makefile-vars := $(shell sed -n 's/^ *\([a-zA-Z][-_0-9a-zA-Z]*\) *[:?]*=.*$$/\1/p' Makefile | sort -u)
-pkg-define = $(foreach _,$(makefile-vars),-D$(_)="$($(_))")
-pkg-define += -Dips-version="$(ips-version)"
+pkg-define = $(foreach _,$(makefile-vars),-D $(_)="$($(_))")
+pkg-define += -D ips-version="$(ips-version)"
pkg-define += \
--DMACH="$(mach)" \
--DMACH32="$(mach32)" \
--DMACH64="$(mach64)" \
--Dmach="$(mach)" \
--Dmach32="$(mach32)" \
--Dmach64="$(mach64)" \
--Dbuild32="$(build32)" \
--Dbuild64="$(build64)" \
+-D MACH="$(mach)" \
+-D MACH32="$(mach32)" \
+-D MACH64="$(mach64)" \
+-D mach="$(mach)" \
+-D mach32="$(mach32)" \
+-D mach64="$(mach64)" \
+-D build32="$(build32)" \
+-D build64="$(build64)" \
# Add $(protodir.<variant>) to use in manifest:
# file $(protodir.64) path=usr/include/header.64.h
-pkg-define += $(foreach _,$(variants),-Dprotodir.$(_)="$(protodir-base.$(_))")
+pkg-define += $(foreach _,$(variants),-D protodir.$(_)="$(protodir-base.$(_))")
# Same for $(builddir.xxx):
-pkg-define += $(foreach _,$(variants),-Dbuilddir.$(_)="$(builddir-base.$(_))")
+pkg-define += $(foreach _,$(variants),-D builddir.$(_)="$(builddir-base.$(_))")
# Where to find files:
pkg-protos = $(foreach _,$(variants),-d "$(protodir.$(_))")