File tree 7 files changed +83
-0
lines changed
7 files changed +83
-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 @@ -41,6 +41,7 @@ omnios developer/debug/mdb
41
41
omnios developer/debug/mdb/module/module-fibre-channel
42
42
omnios developer/debug/mdb/module/module-qlc
43
43
omnios developer/driver/ftsafe
44
+ omnios developer/dtc
44
45
omnios developer/dtrace
45
46
omnios developer/dtrace/toolkit
46
47
omnios developer/exuberant-ctags
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ omnios developer/debug/ctf
35
35
omnios developer/debug/mdb
36
36
omnios developer/debug/mdb/module/module-fibre-channel
37
37
omnios developer/driver/ftsafe
38
+ omnios developer/dtc
38
39
omnios developer/dtrace
39
40
omnios developer/exuberant-ctags
40
41
omnios developer/gcc14
Original file line number Diff line number Diff line change 17
17
| developer/build/automake | 1.17 | https://ftp.gnu.org/gnu/automake/
18
18
| developer/build/gnu-make | 4.4.1 | https://ftp.gnu.org/gnu/make/
19
19
| developer/build/libtool | 2.5.4 | https://www.gnu.org/software/libtool/
20
+ | developer/dtc | 1.7.2 | https://git.kernel.org/pub/scm/utils/dtc/dtc.git/refs/
20
21
| developer/exuberant-ctags | 5.8 | https://sourceforge.net/projects/ctags/files/ctags/ http://ctags.sourceforge.net/
21
22
| developer/gcc10 | 10.5 | https://ftp.gnu.org/gnu/gcc/
22
23
| developer/gcc13 | 13.3 | https://ftp.gnu.org/gnu/gcc/
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ text/gnu-sed
88
88
archiver/gnu-tar
89
89
compress/7zip
90
90
compress/gzip
91
+ developer/dtc
91
92
developer/swig
92
93
library/glib2
93
94
library/libxslt
You can’t perform that action at this time.
0 commit comments