History log of /fuchsia/zircon/system/uapp/lsblk/rules.mk
Revision Date Author Comments
# fc922e59 21-Aug-2018 Petr Hosek <phosek@google.com>

[ulib][gpt] Add missing static dependency on cksum

gpt depends on cksum as static library, that means that anything that
depends on gpt should also link cksum as static library since these
dependencies are propagated transitively.

This wasn't an issue before, but it leads to linking errors when
enabling profiling instrumentation.

Test: manually
Change-Id: I42337e9215da1a344059285008ec3c8bc85523ee


# e3455ed7 31-Jul-2018 Suraj Malhotra <surajmalhotra@google.com>

[lsblk] Add ability to work with skip-block devices

Change-Id: If3126a62fed4ba57a3f3760dbdd6aa848eaa96f3
Tested: Manually tested on astro and vim2.


# f3e2126c 12-Sep-2017 Roland McGrath <mcgrathr@google.com>

[zx] Magenta -> Zircon

The Great Renaming is here!

Change-Id: I3229bdeb2a3d0e40fb4db6fec8ca7d971fbffb94


# 3eba7de5 25-Aug-2017 Brian Swetland <swetland@google.com>

[build][groups] annotate 'misc' and 'test' modules

This allows us to generate a bootdata.bin which excludes them,
reducing it from 4.52MB to 2.65MB

The default bootdata.bin still includes all modules.

Change-Id: If13bfcacba9386a691e6b7c380eed53d67bb44eb


# 0d5ae8c9 12-May-2017 Dave Bort <dbort@google.com>

[ulib] Merge ulib/hexdump into ulib/pretty

Change-Id: I194595de04e83178121c455f31732d1046448850


# 16656ae0 05-Apr-2017 Brian Swetland <swetland@google.com>

[build] flatten the build

Previously we treated kernel/, system/, and third_party/ as
overlays on a shared namespace. This required the concept
of "canonical" module names, and a lot of complexity to ensure
that things didn't collide and the build worked.

This change gets rid of that, no longer passes -I to make,
so that include directives from our *.mk files do not magically
wildcard across various paths, etc.

The most user-visible change is that everywhere where a module
name is specified (MODULE_DEPS, MODULE_LIBS, etc), full module
names like kernel/lib/io or system/ulib/mxio must be used instead
of previously-allowed "short" names like lib/io and ulib/mxio.

The build output still has a similar shape, but the first segment
of the module path (kernel/, system/, or third_party/) is no
longer elided under $(BUILDDIR)

Change-Id: I525aba1da1c86eb7a86007bddc669f7eeebfedd5


# 12242caa 07-Mar-2017 Brian Swetland <swetland@google.com>

[build][musl] refer to musl libc as ulib/c

This makes the build rules and the intermediate
output files easier to understand, without having
to modify the path where musl libc lives.

The biggest observeable difference is the build
intermediate files:

$ ls build-magenta-pc-x86-64/ulib/c
config-module.h libc.abi.h libc.abi.stamp libc.so libc.so.id libc.so.strip
libc.a libc.abi.o libc.a.opts libc.so.abi libc.so.opts third_party

which previously were at build-magenta-pc-x86/ulib/musl
and named libmusl.*

and the replacing of ulib/musl with ulib/c in the library
dependencies of all the rules.mk files (the vast bulk of
this change)

Change-Id: If9c5d522099d2c9ac5bdb666b8e67a2eb3d316ee


# d0e3829a 13-Nov-2016 Sean Klein <smklein@google.com>

[udev][gpt] Returning GUID as uint8_t array, not string

This change relocates the "uint8 to string" utility to the GPT library,
and adds a dependency on the GPT library where previously applications
(devmgr and lsblk) sent ioctls directly to the GPT driver.

This change intentionally copies the "uint8 to string" utility from the
gpt driver to the gpt library -- the copy is not shared, to avoid making
a dependency from a device driver on a larger ulib library.

Change-Id: I6368a8409d5322c1424c2ae1c550744f1b073fff


# 4fb1ae03 26-Aug-2016 Mike Voydanoff <voydanoff@google.com>

[ddk] Move hexdump utils to a separate library

Change-Id: I6a2f061f886fc98db656fc4f0a991887f11c3ba9


# 66a201f1 16-Aug-2016 Brian Swetland <swetland@frotz.net>

[system] align license and license banners with Fuchsia

This adjusts the Magenta userspace code to match the prevailing
license in Fuchsia (three-clause BSD), using the same banner
and license text.

Change-Id: I6b6d79435c5dbaa32027888874849e4f47aaa7be


# f358d68e 29-Jul-2016 Brian Swetland <swetland@google.com>

[build] make musl-static the exception rather than musl-shared

This makes the common uapp, ulib, or utest rules.mk much more
comprehensible. Some day we'll eliminate the need for -static
entirely, but that requires some deeper refactoring.

Change-Id: Ifcdb635e5af7bf0b033632358164c3042e7e6d4a


# 33d4a51b 29-Jul-2016 Brian Swetland <swetland@google.com>

[build] make dynamic linking the default

Now userapp/usertest modules are dynamic, and to build a static
binary userapp-static or usertest-static are used.

Change-Id: Ifd16f40a2bf23202ec17f3142f896abdec1c3271


# 92553231 28-Jul-2016 Brian Swetland <swetland@google.com>

[build] improve dynamic app linkage, make more apps dynamic

- userapp and usertest modules may not use MODULE_DEPS and
must use MODULE_LIBS or MODULE_STATIC_LIBS to declare
what libraries the depend on. Update all apps to comply
and generate a build error for apps that don't.
- no longer do fancy recursive resolution of static library
deps -- if you use MODULE_STATIC_LIBS it's up to you to
list all the ones you need.
- In practice this means a dynamic linked app including a
single static library will not accidentally pull in another
copy of libc or the like
- netsvc and others are now dynamic (and much smaller)

Change-Id: I2a9127e8dca90903b6a6e022c227a71c009c5659


# 68fc0fce 16-Jun-2016 Yvonne Yip <yky@google.com>

[udev] cheesy ahci, sata, gpt driver

This set of drivers will match the AHCI controller, probes and identify
disks, read the partition table (GPT format) from any disks it
discovers, and create devices for each partition under /dev/protocol/block.

The 'lsblk' utility will dump info and read from block devices.

Also add hexdump to ulib/ddk and make the copy in ulib/unittest private
to unittest.

Change-Id: Iee7165bbb049325b2765a3aa33522d4cf8c04c61