Platform

The main Radix cross Linux repository contains build scripts of the GNU/Linux distribution.

1000 Commits   6 Branches   3 Tags   |
Index: 20140713/Makefile
===================================================================
--- 20140713/Makefile	(revision 197)
+++ 20140713/Makefile	(revision 198)
@@ -43,7 +43,7 @@
 PATCHES = PATCHES
 
 
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_EGLIBC)),)
+ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)),)
 ARCH = arm
 endif
 
@@ -129,7 +129,7 @@
 	# ======= Create script.bin =======
 	@$(FEX2BIN) $< $@
 
-$(boot_script_sd): $(u_boot)
+$(boot_script_sd): $(u_boot) $(script_bin)
 	@( echo "fatload mmc 0 0x43000000 script.bin || ext2load mmc 0 0x43000000 boot/script.bin"       > $(boot_script_sd) && \
 	   echo "fatload mmc 0 0x48000000 uImage || ext2load mmc 0 0x48000000 boot/uImage"              >> $(boot_script_sd) && \
 	   echo "setenv bootargs 'console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 ${extra}'" >> $(boot_script_sd) && \
@@ -139,7 +139,7 @@
 $(boot_scr_sd): $(boot_script_sd)
 	$(SRC_DIR)/tools/mkimage -A $(ARCH) -T script -C none -n "Boot Image" -d $< $@
 
-$(build_uboot_pkg): $(u_boot) $(boot_scr_nfs) $(boot_scr_sd) $(boot_scr_emmc)
+$(build_uboot_pkg): $(boot_scr_sd)
 	@mkdir -p $(TARGET_DEST_DIR)/bootfs
 	@mkdir -p $(UBOOT_BIN_PKG)/boot
 	# ======= Copy U-Boot images =======
Index: 20140713/u-boot-pkg-install.sh
===================================================================
--- 20140713/u-boot-pkg-install.sh	(revision 197)
+++ 20140713/u-boot-pkg-install.sh	(revision 198)
@@ -13,13 +13,13 @@
 
 # arg 1:  the new package version
 # arg 2:  the old package version
-pre_upgrade() {
+pre_update() {
   /bin/true
 }
 
 # arg 1:  the new package version
 # arg 2:  the old package version
-post_upgrade() {
+post_update() {
   post_install
 }