8dbd27fe48
Commit 00810e0ea3
still didn't fix the
license information properly, so this is a new commit (properly tested
this time) fixing the license information.
Fixes:
http://autobuild.buildroot.net/results/ece1407b9f32472fb55823bb554dc026546cd26d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
38 lines
1.4 KiB
Makefile
38 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# pru-software-support
|
|
#
|
|
################################################################################
|
|
|
|
PRU_SOFTWARE_SUPPORT_VERSION = 804b548e69ef9fdf44445f6d0968d81cb8a1e7b4
|
|
PRU_SOFTWARE_SUPPORT_SITE = git://git.ti.com/pru-software-support-package/pru-software-support-package.git
|
|
PRU_SOFTWARE_SUPPORT_LICENSE = BSD-3c, GPLv2, Public Domain
|
|
PRU_SOFTWARE_SUPPORT_LICENSE_FILES = PRU-Package-v4.0-Manifest.html
|
|
PRU_SOFTWARE_SUPPORT_DEPENDENCIES = host-ti-cgt-pru host-pru-software-support
|
|
HOST_PRU_SOFTWARE_SUPPORT_DEPENDENCIES = host-ti-cgt-pru
|
|
|
|
define HOST_PRU_SOFTWARE_SUPPORT_BUILD_CMDS
|
|
$(MAKE) PRU_CGT=$(TI_CGT_PRU_INSTALLDIR) -C $(@D)/lib/src
|
|
endef
|
|
|
|
# install this library support alongside PRU toolchain i.e.
|
|
# everything in TI_CGT_PRU_INSTALLDIR as PRU_CGT
|
|
define HOST_PRU_SOFTWARE_SUPPORT_INSTALL_CMDS
|
|
mkdir -p $(TI_CGT_PRU_INSTALLDIR)/usr/include
|
|
cp -dpfr $(@D)/include/* $(TI_CGT_PRU_INSTALLDIR)/usr/include
|
|
mkdir -p $(TI_CGT_PRU_INSTALLDIR)/usr/lib
|
|
cp -dpfr $(@D)/lib/src/*/gen/*.lib $(TI_CGT_PRU_INSTALLDIR)/usr/lib/
|
|
endef
|
|
|
|
define PRU_SOFTWARE_SUPPORT_BUILD_CMDS
|
|
$(MAKE) PRU_CGT=$(TI_CGT_PRU_INSTALLDIR) -C $(@D)/examples
|
|
endef
|
|
|
|
define PRU_SOFTWARE_SUPPORT_INSTALL_TARGET_CMDS
|
|
mkdir -p $(TARGET_DIR)/usr/share/pru-software-support
|
|
cp -dpfr $(@D)/examples/* $(TARGET_DIR)/usr/share/pru-software-support/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
$(eval $(host-generic-package))
|