1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 3e7b6d123cab23a587ccbc45173296b33786faa409dba0494e4658fda3ede646
12 PKG_DEPENDS
:= zlib libressl
13 PKG_BUILDDEP
:= zlib libressl
15 PKG_URL
:= https
://www.qt.io
/
16 PKG_SITES
:= http
://download.qt.io
/official_releases
/qt
/5.7/$(PKG_VERSION
)/submodules
/
18 DISTFILES
:= $(PKG_NAME
)-opensource-src-
$(PKG_VERSION
).
tar.xz
19 WRKDIST
= $(WRKDIR
)/$(PKG_NAME
)-opensource-src-
$(PKG_VERSION
)
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,QTBASE
,qtbase
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
26 CONFIG_STYLE
:= minimal
29 -hostprefix
$(STAGING_HOST_DIR
) \
48 -device-option CROSS_COMPILE
="$(TARGET_CROSS)" \
49 -device-option ADK_COMPILER_CFLAGS
="$(TARGET_CFLAGS)" \
50 -device-option ADK_COMPILER_CXXFLAGS
="$(TARGET_CXXFLAGS)" \
51 -device-option ADK_COMPILER_LDFLAGS
="$(TARGET_LDFLAGS)" \
53 -sysroot
$(STAGING_TARGET_DIR
)
56 $(INSTALL_DIR
) $(WRKBUILD
)/mkspecs
/devices
/linux-openadk-g
++/
57 $(CP
) .
/files
/qmake.conf
$(WRKBUILD
)/mkspecs
/devices
/linux-openadk-g
++/
58 $(CP
) .
/files
/qplatformdefs.h
$(WRKBUILD
)/mkspecs
/devices
/linux-openadk-g
++/
61 $(INSTALL_DIR
) $(IDIR_QTBASE
)/usr
/lib
62 $(CP
) $(STAGING_TARGET_DIR
)/usr
/lib
/libQt5
*.so
* $(IDIR_QTBASE
)/usr
/lib
64 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk