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)
Fri, Mar 29, 4:51 AM
Unknown Object (File)
Jan 9 2024, 6:50 AM
Unknown Object (File)
Jan 9 2024, 6:50 AM
Unknown Object (File)
Jan 9 2024, 6:50 AM
Unknown Object (File)
Jan 9 2024, 6:07 AM
Unknown Object (File)
Dec 27 2023, 9:37 AM
Unknown Object (File)
Dec 27 2023, 9:36 AM
Unknown Object (File)
Dec 20 2023, 1:11 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.