File tree 6 files changed +82
-0
lines changed
6 files changed +82
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/bash
2
+ #
3
+ # {{{ CDDL HEADER
4
+ #
5
+ # This file and its contents are supplied under the terms of the
6
+ # Common Development and Distribution License ("CDDL"), version 1.0.
7
+ # You may only use this file in accordance with the terms of version
8
+ # 1.0 of the CDDL.
9
+ #
10
+ # A full copy of the text of the CDDL should have accompanied this
11
+ # source. A copy of the CDDL is also available via the Internet at
12
+ # http://www.illumos.org/license/CDDL.
13
+ # }}}
14
+
15
+ # Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
16
+
17
+ . ../../lib/build.sh
18
+
19
+ PROG=dtc
20
+ VER=1.7.2
21
+ PKG=developer/dtc
22
+ SUMMARY=" Device Tree Compiler"
23
+ DESC=" $PROG - $SUMMARY "
24
+
25
+ set_arch 64
26
+
27
+ NO_SONAME_EXPECTED=1
28
+
29
+ pre_configure () {
30
+ typeset arch=$1
31
+
32
+ # TODO: no debug info/SSP for shared library
33
+ MAKE_ARGS="
34
+ NO_YAML=1
35
+ NO_PYTHON=1
36
+ PREFIX=$PREFIX
37
+ "
38
+ MAKE_ARGS_WS="
39
+ EXTRA_CFLAGS=\" $CFLAGS ${CFLAGS[$arch]} \"
40
+ SHAREDLIB_LDFLAGS=\" -shared -Wl,-soname\"
41
+ LDFLAGS=\" -R$PREFIX /${LIBDIRS[$arch]} \"
42
+ "
43
+ MAKE_INSTALL_ARGS="
44
+ $MAKE_ARGS
45
+ LIBDIR=$PREFIX /${LIBDIRS[$arch]} /libfdt
46
+ "
47
+
48
+ # no configure
49
+ false
50
+ }
51
+
52
+ init
53
+ download_source $PROG $PROG $VER
54
+ patch_source
55
+ prep_build
56
+ build
57
+ make_package
58
+ clean_up
59
+
60
+ # Vim hints
61
+ # vim:ts=4:sw=4:et:fdm=marker
Original file line number Diff line number Diff line change
1
+ #
2
+ # This file and its contents are supplied under the terms of the
3
+ # Common Development and Distribution License ("CDDL"), version 1.0.
4
+ # You may only use this file in accordance with the terms of version
5
+ # 1.0 of the CDDL.
6
+ #
7
+ # A full copy of the text of the CDDL should have accompanied this
8
+ # source. A copy of the CDDL is also available via the Internet at
9
+ # http://www.illumos.org/license/CDDL.
10
+
11
+ # Copyright 2025 OmniOS Community Edition (OmniOSce) Association.
12
+
13
+ license GPL license=GPLv2
14
+
15
+ # drop static lib
16
+ <transform file path=.*\.a$ -> drop>
17
+
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ compress/xz O
25
25
compress/zip O
26
26
compress/zstd O
27
27
developer/debug/mdb O
28
+ developer/dtc O
28
29
developer/dtrace O
29
30
developer/linker O
30
31
diagnostic/diskinfo O
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ omnios developer/debug/mdb
40
40
omnios developer/debug/mdb/module/module-fibre-channel
41
41
omnios developer/debug/mdb/module/module-qlc
42
42
omnios developer/driver/ftsafe
43
+ omnios developer/dtc
43
44
omnios developer/dtrace
44
45
omnios developer/dtrace/toolkit
45
46
omnios developer/exuberant-ctags
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ omnios developer/debug/ctf
34
34
omnios developer/debug/mdb
35
35
omnios developer/debug/mdb/module/module-fibre-channel
36
36
omnios developer/driver/ftsafe
37
+ omnios developer/dtc
37
38
omnios developer/dtrace
38
39
omnios developer/exuberant-ctags
39
40
omnios developer/gcc10
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ text/gnu-sed
87
87
.SYSROOT
88
88
archiver/gnu-tar
89
89
compress/gzip
90
+ developer/dtc
90
91
developer/swig
91
92
library/glib2
92
93
library/libxslt
You can’t perform that action at this time.
0 commit comments