mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
pylibfdt: Don't emit warnings from swig generate C code
The swig generated code has a heap of warnings with the flags we usually use. These aren't helpful, since there's nothing we can do about them from the dtc side. So, just disable the warnings flags when compiling the Python module. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
838f11e830
commit
48795c82bd
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ ifndef V
|
|||
SETUPFLAGS += --quiet
|
||||
endif
|
||||
|
||||
$(PYMODULE): WARNINGS = # suppress warnings from generated code
|
||||
$(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP)
|
||||
@$(VECHO) PYMOD $@
|
||||
CFLAGS="$(CFLAGS) -Wno-error" $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue