Page MenuHomeFreeBSD

Just install ar5523.bin into /usr/share/firmware and stop compiling it in.
ClosedPublic

Authored by imp on Mar 14 2016, 11:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 12 2024, 1:52 AM
Unknown Object (File)
Mar 12 2024, 1:49 AM
Unknown Object (File)
Mar 12 2024, 1:49 AM
Unknown Object (File)
Mar 12 2024, 1:49 AM
Unknown Object (File)
Mar 12 2024, 1:44 AM
Unknown Object (File)
Mar 12 2024, 1:44 AM
Unknown Object (File)
Mar 12 2024, 1:44 AM
Unknown Object (File)
Mar 8 2024, 4:17 AM
Subscribers

Details

Reviewers
emaste
adrian
bdrewery
Group Reviewers
manpages

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2904
Build 2930: arc lint + arc unit

Event Timeline

imp retitled this revision from to Just install ar5523.bin into /usr/share/firmware and stop compiling it in..
imp updated this object.
imp edited the test plan for this revision. (Show Details)
adrian edited edge metadata.
This revision is now accepted and ready to land.Mar 14 2016, 11:17 PM
emaste edited edge metadata.

Thanks!

bdrewery edited edge metadata.

Is there something needed in ObsoleteFiles?

usr.sbin/uathload/Makefile
8

${SHAREDIR}/firmware

This revision now requires changes to proceed.Mar 14 2016, 11:26 PM
imp edited edge metadata.

Fixes, per bdrewery

Updating D5639: Just install ar5523.bin into /usr/share/firmware and stop compiling it

in.

emaste edited edge metadata.

Is there something needed in ObsoleteFiles?

I don't think so, unless we're using it for optional file pruning.

imp edited edge metadata.

Fix hier.7

Updating D5639: Just install ar5523.bin into /usr/share/firmware and stop compiling it

in.

share/man/man7/hier.7
549–550

There seems to be a word missing before done.

I don't think so, unless we're using it for optional file pruning.

Ahh, it should go in the .if ${MK_USB} == no section in tools/build/mk/OptionalObsoleteFiles.inc.

We can also lose the .if !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50200) condition in usr.sbin/Makefile

share/man/man7/hier.7
31

.Dd needs a bump

Ahh, it should go in the .if ${MK_USB} == no section in tools/build/mk/OptionalObsoleteFiles.inc.

Thanks!

We can also lose the .if !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50200) condition in usr.sbin/Makefile

We can? This looks like it is due to the rest of the program, not this aspect of it. Am I missing something?

imp edited edge metadata.

Obsolete files and hier.7 fix.

Updating D5639: Just install ar5523.bin into /usr/share/firmware and stop compiling it

in.

imp edited edge metadata.

Doh! bump hier.7 .Dd

Updating D5639: Just install ar5523.bin into /usr/share/firmware and stop compiling it

in.

In D5639#120359, @imp wrote:

We can also lose the .if !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50200) condition in usr.sbin/Makefile

We can? This looks like it is due to the rest of the program, not this aspect of it. Am I missing something?

I think @br made a mistake in basing this on the compiler instead of linker version; the commit that brought that test in was:

Remove uathload from build due to issue with GCC 5.2.0:
"ld: --relax and -r may not be used together."
Requires fixing ld command line arguments and testing.

Anyway, perhaps just commit this change and br@ can revert the GCC test.

emaste edited edge metadata.
emaste added inline comments.
share/man/man7/hier.7
549–550

This seems a bit awkward to me, what about just "Firmware files for use by various user land firmware loaders / programmers"?

bdrewery edited edge metadata.
This revision is now accepted and ready to land.Mar 14 2016, 11:52 PM
imp edited edge metadata.

What the heck, always build uathload.
Wordsmithing.

Updating D5639: Just install ar5523.bin into /usr/share/firmware and stop compiling it

in.

This revision now requires review to proceed.Mar 15 2016, 12:49 AM
emaste edited edge metadata.
This revision is now accepted and ready to land.Mar 15 2016, 1:05 AM
share/man/man7/hier.7
549–550

Maybe this is even better?

share/man/man7/hier.7
549–550

sounds good to me

wblock added inline comments.
share/man/man7/hier.7
549

Should be "userland", no space. A grep of /usr/src in 10-stable suggests 986 occurrences to only 23 of the two-word variety.

share/man/man7/hier.7
549

I think @imp's commit was prior to your comment; this instance should just be included in a broad sweep of these I'd think.