2015-07-14 13:36:25 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# 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
|
2017-07-18 19:25:28 +02:00
|
|
|
SKELETON_ADD_SKELETON_DEPENDENCY = NO
|
2015-07-14 13:36:25 +02:00
|
|
|
|
2018-03-24 15:20:00 +01:00
|
|
|
# We create a compatibility symlink in case a post-build script still
|
|
|
|
# uses $(HOST_DIR)/usr
|
|
|
|
define HOST_SKELETON_INSTALL_CMDS
|
|
|
|
$(Q)ln -snf . $(HOST_DIR)/usr
|
|
|
|
$(Q)mkdir -p $(HOST_DIR)/lib
|
2018-05-14 05:23:56 +02:00
|
|
|
$(Q)mkdir -p $(HOST_DIR)/include
|
2018-03-24 15:20:00 +01:00
|
|
|
$(Q)case $(HOSTARCH) in \
|
|
|
|
(*64) ln -snf lib $(HOST_DIR)/lib64;; \
|
|
|
|
(*) ln -snf lib $(HOST_DIR)/lib32;; \
|
|
|
|
esac
|
|
|
|
endef
|
|
|
|
|
2017-08-02 00:52:18 +02:00
|
|
|
$(eval $(virtual-package))
|
2018-03-24 15:20:00 +01:00
|
|
|
$(eval $(host-generic-package))
|