mirror of
https://gitee.com/bianbu-linux/openwrt
synced 2025-06-27 10:40:40 -04:00
add tarball for opensib,uboot,linux
This commit is contained in:
parent
ece00866ca
commit
ff7f4e21af
4 changed files with 20 additions and 11 deletions
|
@ -62,6 +62,10 @@ else
|
|||
LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz
|
||||
endif
|
||||
|
||||
ifeq ($(BOARD),spacemit)
|
||||
LINUX_SOURCE:=$(LINUX_VERSION_CUSTOM).tar.xz
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring -rc,$(LINUX_VERSION)))
|
||||
LINUX_SITE:=https://git.kernel.org/torvalds/t
|
||||
else ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
|
||||
|
|
|
@ -16,11 +16,11 @@ else
|
|||
PKG_NAME:=opensbi
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=1.3
|
||||
PKG_SOURCE_VERSION:=v1.0.5
|
||||
PKG_SOURCE_VERSION:=1.0.5
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL=https://gitee.com/bianbu-linux/opensbi.git
|
||||
PKG_MIRROR_HASH:=skip
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://archive.spacemit.com/openwrt/dl/
|
||||
PKG_HASH:=skip
|
||||
endif
|
||||
|
||||
PKG_TARGETS:=bin
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
include $(INCLUDE_DIR)/u-boot.mk
|
||||
|
||||
INTERNAL_ENV:=$(shell echo $${OPENWRT_INTERNAL_ENV})
|
||||
|
||||
|
@ -14,16 +15,16 @@ PKG_RELEASE:=1
|
|||
PKG_VERSION:=2022.10
|
||||
LOCAL_SOURCE_DIR=$(TOPDIR)/../bsp-src/uboot-2022.10
|
||||
else
|
||||
PKG_NAME:=uboot
|
||||
PKG_RELEASE:=1
|
||||
PKG_VERSION:=2022.10
|
||||
PKG_SOURCE_VERSION:=v1.0.5
|
||||
PKG_SOURCE_VERSION:=1.0.5
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL=https://gitee.com/bianbu-linux/uboot-2022.10.git
|
||||
PKG_MIRROR_HASH:=skip
|
||||
PKG_SOURCE:=uboot-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://archive.spacemit.com/openwrt/dl/
|
||||
PKG_HASH:=skip
|
||||
endif
|
||||
|
||||
include $(INCLUDE_DIR)/u-boot.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define U-Boot/Default
|
||||
|
|
|
@ -12,15 +12,19 @@ KERNELNAME:=Image dtbs
|
|||
SUBTARGETS:=k1-nas k1-sbc
|
||||
|
||||
KERNEL_PATCHVER:=6.1
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
||||
INTERNAL_ENV:=$(shell echo $${OPENWRT_INTERNAL_ENV})
|
||||
ifeq ($(INTERNAL_ENV), yes)
|
||||
CONFIG_EXTERNAL_KERNEL_TREE=$(TOPDIR)/../bsp-src/linux-6.1
|
||||
CONFIG_KERNEL_GIT_CLONE_URI=""
|
||||
else
|
||||
## download tar.xz from url.
|
||||
LINUX_VERSION_CUSTOM:=linux-6.1-1.0.5
|
||||
LINUX_SOURCE:=$(LINUX_VERSION_CUSTOM).tar.xz
|
||||
LINUX_KERNEL_HASH:=skip
|
||||
endif
|
||||
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
||||
DEFAULT_PACKAGES += mkf2fs e2fsprogs
|
||||
|
||||
define Target/Description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue