Amlogic/Rockchip: fix missing initramfs when compiling linux pkg
This commit is contained in:
parent
2244aea07e
commit
ec9256d930
2 changed files with 10 additions and 0 deletions
|
@ -114,6 +114,11 @@ makeinstall_host() {
|
|||
}
|
||||
|
||||
pre_make_target() {
|
||||
( cd ${ROOT}
|
||||
rm -rf ${BUILD}/initramfs
|
||||
rm -f ${STAMPS_INSTALL}/initramfs/install_target ${STAMPS_INSTALL}/*/install_init
|
||||
${SCRIPTS}/install initramfs
|
||||
)
|
||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||
# copy some extra firmware to linux tree
|
||||
mkdir -p ${PKG_BUILD}/external-firmware
|
||||
|
|
|
@ -132,6 +132,11 @@ makeinstall_host() {
|
|||
}
|
||||
|
||||
pre_make_target() {
|
||||
( cd ${ROOT}
|
||||
rm -rf ${BUILD}/initramfs
|
||||
rm -f ${STAMPS_INSTALL}/initramfs/install_target ${STAMPS_INSTALL}/*/install_init
|
||||
${SCRIPTS}/install initramfs
|
||||
)
|
||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||
# copy some extra firmware to linux tree
|
||||
mkdir -p ${PKG_BUILD}/external-firmware
|
||||
|
|
Loading…
Reference in a new issue