mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-25 20:57:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_SKELETON
|
||||
bool
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_HAS_SKELETON
|
||||
bool
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_SKELETON
|
||||
string
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# skeleton
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# The skeleton can't depend on the toolchain, since all packages depends on the
|
||||
# skeleton and the toolchain is a target package, as is skeleton.
|
||||
# Hence, skeleton would depends on the toolchain and the toolchain would depend
|
||||
# on skeleton.
|
||||
SKELETON_ADD_TOOLCHAIN_DEPENDENCY = NO
|
||||
SKELETON_ADD_SKELETON_DEPENDENCY = NO
|
||||
|
||||
# The package is a dependency to ccache so ccache cannot be a dependency
|
||||
HOST_SKELETON_ADD_CCACHE_DEPENDENCY = NO
|
||||
|
||||
# Although the $(HOST_DIR)/usr symlink is mostly for backward compatibility,
|
||||
# there are weird packages that still require it (see host-systemd, and
|
||||
# commit 35c11a027c88).
|
||||
define HOST_SKELETON_INSTALL_CMDS
|
||||
# check-package DoNotInstallToHostdirUsr
|
||||
$(Q)ln -snf . $(HOST_DIR)/usr
|
||||
$(Q)mkdir -p $(HOST_DIR)/lib
|
||||
$(Q)mkdir -p $(HOST_DIR)/include
|
||||
$(Q)case $(HOSTARCH) in \
|
||||
(*64) ln -snf lib $(HOST_DIR)/lib64;; \
|
||||
(*) ln -snf lib $(HOST_DIR)/lib32;; \
|
||||
esac
|
||||
endef
|
||||
|
||||
$(eval $(virtual-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user