Page MenuHomeFreeBSD

Fix `make` in sys/modules/gpio
ClosedPublic

Authored by lwhsu on Sep 7 2016, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 8:24 AM
Unknown Object (File)
Tue, Dec 10, 5:26 AM
Unknown Object (File)
Nov 21 2024, 7:13 PM
Unknown Object (File)
Nov 2 2024, 10:02 AM
Unknown Object (File)
Nov 2 2024, 10:02 AM
Unknown Object (File)
Nov 2 2024, 10:02 AM
Unknown Object (File)
Nov 2 2024, 9:52 AM
Unknown Object (File)
Sep 25 2024, 5:48 AM
Subscribers

Details

Summary

Without this, make in sys/modules/gpio generates this error:

===> gpiospi (all)
Warning: Object directory not changed from original /home/lwhsu/freebsd-head/sys/modules/gpio/gpiospi
cc -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I/home/lwhsu/freebsd-head/sys/modules/gpio/gpiospi/../../../dev/gpio/ -I. -I/home/lwhsu/freebsd-head/sys -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -MD  -MF.depend.gpiospi.o -MTgpiospi.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /home/lwhsu/freebsd-head/sys/modules/gpio/gpiospi/../../../dev/gpio//gpiospi.c -o gpiospi.o
In file included from /home/lwhsu/freebsd-head/sys/modules/gpio/gpiospi/../../../dev/gpio//gpiospi.c:45:
/home/lwhsu/freebsd-head/sys/dev/gpio/gpiobusvar.h:33:10: fatal error: 'opt_platform.h' file not found
#include "opt_platform.h"
         ^
1 error generated.
*** Error code 1
Test Plan

cd sys/modules/gpio; make depend

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lwhsu retitled this revision from to Fix `make` in sys/modules/gpio.
lwhsu updated this object.
lwhsu edited the test plan for this revision. (Show Details)
imp added a reviewer: imp.
This revision is now accepted and ready to land.Sep 7 2016, 4:44 PM
loos added a reviewer: loos.
This revision was automatically updated to reflect the committed changes.