fpga: x4xx: assemble x410/x440-version-info.dtsi in BUILD_DIR
Original-commit: 0a635d0d11b52b300474cb2871f54a1a5458647c
This commit is contained in:
committed by
joergho
parent
2a89218e95
commit
5cbd981c3e
@@ -4,4 +4,3 @@ build-*
|
|||||||
*.jou
|
*.jou
|
||||||
vivado*.str
|
vivado*.str
|
||||||
ip/*/sim/
|
ip/*/sim/
|
||||||
dts/x4*0-version-info.dtsi
|
|
||||||
|
|||||||
+4
-4
@@ -134,24 +134,24 @@ X410_IP: ##Build X410 IP only. Use the -j option to build multiple IP block
|
|||||||
X440_IP: ##Build X440 IP only. Use the -j option to build multiple IP blocks simultaneously.
|
X440_IP: ##Build X440 IP only. Use the -j option to build multiple IP blocks simultaneously.
|
||||||
+$(call vivado_ip,X440,$(DEFS) X440=1)
|
+$(call vivado_ip,X440,$(DEFS) X440=1)
|
||||||
|
|
||||||
dts/x410-version-info.dtsi: regmap/x410/versioning_regs_regmap_utils.vh
|
$(BUILD_DIR)/x410-version-info.dtsi: regmap/x410/versioning_regs_regmap_utils.vh
|
||||||
tools/parse_versions_for_dts.py \
|
tools/parse_versions_for_dts.py \
|
||||||
--input $< --output $@ \
|
--input $< --output $@ \
|
||||||
--components fpga,cpld_ifc,db_gpio_ifc,rf_core_100m,rf_core_400m
|
--components fpga,cpld_ifc,db_gpio_ifc,rf_core_100m,rf_core_400m
|
||||||
|
|
||||||
dts/x440-version-info.dtsi: regmap/x440/versioning_regs_regmap_utils.vh
|
$(BUILD_DIR)/x440-version-info.dtsi: regmap/x440/versioning_regs_regmap_utils.vh
|
||||||
tools/parse_versions_for_dts.py \
|
tools/parse_versions_for_dts.py \
|
||||||
--input $< --output $@ \
|
--input $< --output $@ \
|
||||||
--components fpga,cpld_ifc,db_gpio_ifc,rf_core_full
|
--components fpga,cpld_ifc,db_gpio_ifc,rf_core_full
|
||||||
|
|
||||||
# The device tree source file $(BUILD_DIR)/device_tree.dts is generated by the
|
# The device tree source file $(BUILD_DIR)/device_tree.dts is generated by the
|
||||||
# RFNoC image builder.
|
# RFNoC image builder.
|
||||||
$(BUILD_DIR)/X410.dts: $(BUILD_DIR)/device_tree.dts dts/x410-version-info.dtsi dts/*.dtsi
|
$(BUILD_DIR)/X410.dts: $(BUILD_DIR)/device_tree.dts $(BUILD_DIR)/x410-version-info.dtsi dts/*.dtsi
|
||||||
${CC} -o $@ -C -E -I dts -nostdinc -undef -x assembler-with-cpp -D__DTS__ $<
|
${CC} -o $@ -C -E -I dts -nostdinc -undef -x assembler-with-cpp -D__DTS__ $<
|
||||||
|
|
||||||
# The device tree source file $(BUILD_DIR)/device_tree.dts is generated by the
|
# The device tree source file $(BUILD_DIR)/device_tree.dts is generated by the
|
||||||
# RFNoC image builder.
|
# RFNoC image builder.
|
||||||
$(BUILD_DIR)/X440.dts: $(BUILD_DIR)/device_tree.dts dts/x440-version-info.dtsi dts/*.dtsi
|
$(BUILD_DIR)/X440.dts: $(BUILD_DIR)/device_tree.dts $(BUILD_DIR)/x440-version-info.dtsi dts/*.dtsi
|
||||||
${CC} -o $@ -C -E -I dts -nostdinc -undef -x assembler-with-cpp -D__DTS__ $<
|
${CC} -o $@ -C -E -I dts -nostdinc -undef -x assembler-with-cpp -D__DTS__ $<
|
||||||
|
|
||||||
clean: ##Clean up all target build outputs.
|
clean: ##Clean up all target build outputs.
|
||||||
|
|||||||
Reference in New Issue
Block a user