Commit 8da38171 authored by 戴成荣's avatar 戴成荣
Browse files

reclean

parent 8235cac6
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
DEFAULTTUNE ?= "sifive-7-series"
require conf/machine/include/riscv/tune-sifive.inc

HOSTTOOLS += "xxd dtc bc busybox"

MACHINE_FEATURES = "screen keyboard ext2 ext3 serial alsa pci usbhost vfat"

KERNEL_IMAGETYPE = "Image.gz"
@@ -40,6 +42,7 @@ IMAGE_BOOT_FILES ?= " \
    nuclei_rv64imac.dtb \
"

IMAGE_FSTYPES += "squashfs-xz"
WKS_FILE ?= "nuclei-sdcard.wks"

BAD_RECOMMENDATIONS += "\
@@ -58,9 +61,3 @@ ASSUME_PROVIDED += "\
INIT_MANAGER = "mdev-busybox"

HOSTTOOLS += "xxd"
HOSTTOOLS += "dtc"
HOSTTOOLS += "bc"
HOSTTOOLS += "busybox"

IMAGE_FSTYPES += "squashfs-xz"
 No newline at end of file
+0 −1
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ do_install () {
	oe_runmake install
}


DEPENDS:append = " across-toolchain-nezha-native"

do_install () {
+3 −9
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ SRC_URI = "git://git@isrc.iscas.ac.cn/chengrong/u-boot-nezha.git;protocol=ssh;br
SRCREV = "dc37958a987055ac69fd05836307ea754140be4f"
S = "${WORKDIR}/git"


SYSROOT_DIRS += "/image"
PROVIDES += "u-boot"

do_configure() {
@@ -19,18 +19,12 @@ do_compile() {
} 

DEPENDS:append = " across-toolchain-nezha-native"

DEPENDS:append = " u-boot-tools-native"


do_install () {
   install -d ${D}/image
	install -m 0755  ${S}/u-boot-sun20iw1p1.bin ${D}/image/u-boot-sun20iw1p1.fex
}


SYSROOT_DIRS += "/image"

FILES:${PN} += " \
    /image/ \
FILES:${PN} += " /image/ \
               "
 No newline at end of file
+0 −7
Original line number Diff line number Diff line
DESCRIPTION = "A console-only image with more full-featured Linux system \
functionality installed."

# IMAGE_FEATURES += "splash ssh-server-openssh"

IMAGE_INSTALL = "\
		initramfs-framework-base \
        busybox \
@@ -20,8 +18,3 @@ do_copy_file () {
}

addtask do_copy_file after do_rootfs before do_image


## rdinit:
##      export INITRAMFS=1
##      exec /sbin/init  ---> exec /init
+4 −7
Original line number Diff line number Diff line
@@ -20,15 +20,11 @@ do_compile[depends] += "core-image-full-cmdline-nezha:do_image_complete"
PATH:prepend = "${STAGING_DIR_NATIVE}/usr/bin/pack-bintools:"




do_deploy() {
    install -m 0755 ${S}/tina_d1-h-nezha_uart0.img \
                    ${DEPLOYDIR}/tina_d1-h-nezha_uart0.img
}

addtask deploy after do_install

INSANE_SKIP:${PN} += "already-stripped"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
@@ -43,10 +39,8 @@ DEPENDS:append = " apack-bintools-native"
DEPENDS:append = " python3-native"
LICENSE = "CLOSED"


DEPENDS:append = " across-toolchain-nezha-native"


do_compile() {
    install -d ${S}

@@ -180,3 +174,6 @@ do_compile() {
    ${S}/dragon image.cfg sys_partition_for_dragon.fex

}


addtask deploy after do_install
 No newline at end of file