@ -6,84 +6,46 @@
#
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( INCLUDE_DIR ) / i m a g e . m k
PKG_NAME := fman-ucode
PKG_NAME := fman-ucode
PKG_SOURCE_DATE := 2017-02-13
PKG_VERSION := lsdk-1806
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_SOURCE_PROTO := git
PKG_SOURCE_PROTO := git
PKG_SOURCE_URL := https://github.com/NXP/qoriq-fm-ucode.git
PKG_SOURCE_URL := https://github.com/NXP/qoriq-fm-ucode.git
PKG_SOURCE_VERSION := c275e91392e2adab1ed22f3867b8269ca3c54014
PKG_SOURCE_VERSION := c275e91392e2adab1ed22f3867b8269ca3c54014
PKG_MIRROR_HASH := 1a4611d528f67f3acfa88aefdec9a9a67d96a3139ac5fe1089f599272e6c4a52
PKG_MIRROR_HASH := 4e8914340c4a08941898900500f3239762af933ff359bebcf988a10ac30b2bec
PKG_BUILD_DIR = $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION) -$( BUILD_VARIANT) /$( PKG_NAME) -$( PKG_VERSION)
PKG_FLAGS := nonshared
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e f m a n / D e f a u l t
d e f i n e P a c k a g e / l a y e r s c a p e - f m a n - l s 1 0 4 3 a r d b
TITLE:=
CONFIG:=
e n d e f
d e f i n e f m a n / l s 1 0 4 3 a r d b
TITLE = FMAN UCODE $( PKG_NAME) -$( PKG_VERSION) for NXP ls1043ardb 64b/32b Dev Board
CONFIG = fsl_fman_ucode_ls1043_r1.1_106_4_18.bin
e n d e f
d e f i n e f m a n / l s 1 0 4 6 a r d b
TITLE = FMAN UCODE $( PKG_NAME) -$( PKG_VERSION) for NXP ls1046ardb 64b/32b Dev Board
CONFIG = fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
e n d e f
FMANS := \
ls1043ardb \
ls1046ardb
d e f i n e P a c k a g e / f m a n / t e m p l a t e
d e f i n e P a c k a g e / f m a n - l a y e r s c a p e - $( 1)
SECTION:= firmware
SECTION:= firmware
CATEGORY:= Firmware
CATEGORY:= Firmware
TITLE:= NXP LS1043ARDB FMan ucode
DEPENDS:= @TARGET_layerscape
DEPENDS:= @TARGET_layerscape
TITLE:= $( 2)
CONFIG:= fsl_fman_ucode_ls1043_r1.1_106_4_18.bin
URL:= https://github.com/qoriq-open-source/fm-ucode.git
VARIANT:= $( 1)
MAINTAINER:= Jiang Yutang <jiangyutang1978@gmail.com>
e n d e f
e n d e f
e n d e f
d e f i n e B u i l d F M A N P a c k a g e
d e f i n e P a c k a g e / l a y e r s c a p e - f m a n - l s 1 0 4 6 a r d b
$( eval $( fman/Default) )
SECTION:= firmware
$( eval $( fman/$( 1) ) )
CATEGORY:= Firmware
$( call Package/fman/template,$( 1) ,$( TITLE) )
TITLE:= NXP LS1046ARDB FMan ucode
DEPENDS:= @TARGET_layerscape
CONFIG:= fsl_fman_ucode_ls1046_r1.0_106_4_18.bin
e n d e f
e n d e f
i f d e f B U I L D _ V A R I A N T
$( eval $ ( call fman /$ ( BUILD_VARIANT ) ) )
FMAN_CONFIG := $( if $( CONFIG) ,$( CONFIG) ,$( BUILD_VARIANT) )
e n d i f
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e
e n d e f
e n d e f
d e f i n e P a c k a g e / f m a n / i n s t a l l / d e f a u l t
d e f i n e P a c k a g e / l a y e r s c a p e - f m a n - l s 1 0 4 3 a r d b / i n s t a l l
$( INSTALL_DIR) $( STAGING_DIR_IMAGE)
$( INSTALL_DIR) $( STAGING_DIR_IMAGE)
$( CP) $( PKG_BUILD_DIR) /$( FMAN_ CONFIG) $( STAGING_DIR_IMAGE) /$( 1) -fman.bin
$( CP) $( PKG_BUILD_DIR) /$( CONFIG) $( STAGING_DIR_IMAGE) /ls1043ardb -fman.bin
e n d e f
e n d e f
d e f i n e P a c k a g e / f m a n / i n s t a l l / t e m p l a t e
d e f i n e P a c k a g e / l a y e r s c a p e - f m a n - l s 1 0 4 6 a r d b / i n s t a l l
d e f i n e P a c k a g e / f m a n - l a y e r s c a p e - $( 1) / i n s t a l l
$( INSTALL_DIR) $( STAGING_DIR_IMAGE)
$( call Package/fman/install/default,$( 2) )
$( CP) $( PKG_BUILD_DIR) /$( CONFIG) $( STAGING_DIR_IMAGE) /ls1046ardb-fman.bin
e n d e f
e n d e f
e n d e f
$( foreach f ,$ ( FMANS ) , \
$( eval $ ( call BuildPackage ,layerscape -fman -ls 1043ardb ) )
$( eval $( call Package/fman/install/template,$( f) ,$( f) ) ) \
$( eval $ ( call BuildPackage ,layerscape -fman -ls 1046ardb ) )
)
$( foreach f ,$ ( FMANS ) , \
$( eval $( call BuildFMANPackage,$( f) ) ) \
$( eval $( call BuildPackage,fman-layerscape-$( f) ) ) \
)