1################################################################################
2#
3# skeleton
4#
5################################################################################
6
7# The skeleton can't depend on the toolchain, since all packages depends on the
8# skeleton and the toolchain is a target package, as is skeleton.
9# Hence, skeleton would depends on the toolchain and the toolchain would depend
10# on skeleton.
11SKELETON_ADD_TOOLCHAIN_DEPENDENCY = NO
12SKELETON_ADD_SKELETON_DEPENDENCY = NO
13
14# Although the $(HOST_DIR)/usr symlink is mostly for backward compatibility,
15# there are weird packages that still require it (see host-systemd, and
16# commit 35c11a027c88).
17define HOST_SKELETON_INSTALL_CMDS
18# check-package DoNotInstallToHostdirUsr
19	$(Q)ln -snf . $(HOST_DIR)/usr
20	$(Q)mkdir -p $(HOST_DIR)/lib
21	$(Q)mkdir -p $(HOST_DIR)/include
22	$(Q)case $(HOSTARCH) in \
23		(*64) ln -snf lib $(HOST_DIR)/lib64;; \
24		(*)   ln -snf lib $(HOST_DIR)/lib32;; \
25	esac
26endef
27
28$(eval $(virtual-package))
29$(eval $(host-generic-package))
30