Skip to content

Commit

Permalink
Makefile: add dtc 1.6.0 detection
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Nelson <[email protected]>
  • Loading branch information
RobertCNelson committed Mar 21, 2020
1 parent 4f58191 commit 60112d7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,19 @@ ifeq "$(DTCVERSION)" "1.5.0"
DTC_FLAGS += -Wno-unique_unit_address
endif

ifeq "$(DTCVERSION)" "1.6.0"
#http://snapshot.debian.org/package/device-tree-compiler/1.5.0-1/#device-tree-compiler_1.5.0-1
#http://snapshot.debian.org/archive/debian/20190313T032949Z/pool/main/d/device-tree-compiler/device-tree-compiler_1.5.0-1_amd64.deb
#Debian: 1.4.5
DTC_FLAGS += -Wno-pci_bridge
DTC_FLAGS += -Wno-simple_bus_reg
#Debian: 1.4.6
DTC_FLAGS += -Wno-avoid_unnecessary_addr_size
DTC_FLAGS += -Wno-alias_paths
#Debian: 1.4.7-3 (Buster)
DTC_FLAGS += -Wno-unique_unit_address
endif

# Beautify output
# ---------------------------------------------------------------------------
#
Expand Down

0 comments on commit 60112d7

Please sign in to comment.