|
@@ -4,7 +4,7 @@
|
|
#
|
|
#
|
|
################################################################################
|
|
################################################################################
|
|
|
|
|
|
-DTC_VERSION = 1.4.1
|
|
|
|
|
|
+DTC_VERSION = 1.4.4
|
|
DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
|
|
DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz
|
|
DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
|
|
DTC_SITE = https://www.kernel.org/pub/software/utils/dtc
|
|
DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library)
|
|
DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library)
|
|
@@ -32,7 +32,7 @@ DTC_INSTALL_GOAL = install-lib
|
|
endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y
|
|
endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y
|
|
|
|
|
|
define DTC_BUILD_CMDS
|
|
define DTC_BUILD_CMDS
|
|
- $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=/usr
|
|
|
|
|
|
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) PREFIX=/usr
|
|
endef
|
|
endef
|
|
|
|
|
|
# For staging, only the library is needed
|
|
# For staging, only the library is needed
|
|
@@ -47,7 +47,7 @@ endef
|
|
|
|
|
|
# host build
|
|
# host build
|
|
define HOST_DTC_BUILD_CMDS
|
|
define HOST_DTC_BUILD_CMDS
|
|
- $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr
|
|
|
|
|
|
+ $(HOST_CONFIGURE_OPTS) $(MAKE) CFLAGS="$(HOST_CFLAGS) -fPIC" -C $(@D) PREFIX=$(HOST_DIR)/usr
|
|
endef
|
|
endef
|
|
|
|
|
|
define HOST_DTC_INSTALL_CMDS
|
|
define HOST_DTC_INSTALL_CMDS
|