Initial Commit
- initial default booting image
This commit is contained in:
4
package/cross-ldd/cross-ldd.hash
Normal file
4
package/cross-ldd/cross-ldd.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.26.0.tar.xz.sha512
|
||||
sha512 7834184ae5792fd347455f9f48fee826248dcb82d271954ed4304b1a18f63995ff8a2c3b817564dcf147ac7e16e02d779195b26d97eb57db27f1118a1837002a crosstool-ng-1.26.0.tar.xz
|
||||
# Locally calculated
|
||||
sha256 07bc0ccd386469c748c4cf6c8faca5667fbf8c4400386714287fa233acfd68ba COPYING
|
||||
37
package/cross-ldd/cross-ldd.mk
Normal file
37
package/cross-ldd/cross-ldd.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# cross-ldd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CROSS_LDD_VERSION = 1.26.0
|
||||
CROSS_LDD_SITE = https://github.com/crosstool-ng/crosstool-ng/releases/download/crosstool-ng-$(CROSS_LDD_VERSION)
|
||||
CROSS_LDD_SOURCE = crosstool-ng-$(CROSS_LDD_VERSION).tar.xz
|
||||
CROSS_LDD_LICENSE = GPL-2.0
|
||||
CROSS_LDD_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_ARCH_IS_64),y)
|
||||
CROSS_LDD_BITNESS = 64
|
||||
else
|
||||
CROSS_LDD_BITNESS = 32
|
||||
endif
|
||||
|
||||
CROSS_LDD_TOOLS_PREFIX = $(patsubst %-,%,$(TARGET_CROSS))
|
||||
|
||||
define HOST_CROSS_LDD_CONFIGURE_CMDS
|
||||
sed \
|
||||
-e "s%@@CT_bash@@%/usr/bin/env bash%" \
|
||||
-e "s%@@CT_VERSION@@%$(CROSS_LDD_VERSION)%" \
|
||||
-e "s%@@CT_BITS@@%$(CROSS_LDD_BITNESS)%" \
|
||||
-e "s%@@CT_sed@@%sed%" \
|
||||
-e "s%@@CT_grep@@%grep%" \
|
||||
-e "s%^prefix=.*%prefix=$(CROSS_LDD_TOOLS_PREFIX)%" \
|
||||
$(@D)/scripts/xldd.in > \
|
||||
$(@D)/scripts/xldd
|
||||
endef
|
||||
|
||||
define HOST_CROSS_LDD_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/scripts/xldd $(TARGET_CROSS)xldd
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user