summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2018-06-14 11:02:18 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2018-06-14 11:02:18 +0200
commit203e4adb1ee130fd8c457f2fe207c24cba1f90eb (patch)
treee5231ffbc50ef7c767c6e8a2d7461bf51cbd0ca6
parent5c015ada908d491fa2f9fa37b83e3fc9c56b4d86 (diff)
downloadrockbox-203e4adb1ee130fd8c457f2fe207c24cba1f90eb.tar.gz
rockbox-203e4adb1ee130fd8c457f2fe207c24cba1f90eb.tar.bz2
rockbox-203e4adb1ee130fd8c457f2fe207c24cba1f90eb.zip
Agptek Rocker: Slightly tweak build procedure
In bootloader build create stripped binary bootloader.rocker Change-Id: Id67bebe82251fac22ad905ad3d49525691816746
-rw-r--r--firmware/target/hosted/agptek/rocker.make1
-rw-r--r--tools/agptek_rocker/bootloader_install.sh3
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/agptek/rocker.make b/firmware/target/hosted/agptek/rocker.make
index 1e8faaac0d..dd6be88f57 100644
--- a/firmware/target/hosted/agptek/rocker.make
+++ b/firmware/target/hosted/agptek/rocker.make
@@ -31,6 +31,7 @@ $(BUILDDIR)/bootloader.elf : $$(OBJ) $(FIRMLIB) $(CORE_LIBS)
$(LDOPTS) $(GLOBAL_LDOPTS) -Wl,--gc-sections -Wl,-Map,$(BUILDDIR)/bootloader.map
$(BUILDDIR)/$(BINARY): $(BUILDDIR)/bootloader.elf
+ $(call PRINTS,OC $(@F))$(call objcopy,$^,$@)
else
# rockbox app build
diff --git a/tools/agptek_rocker/bootloader_install.sh b/tools/agptek_rocker/bootloader_install.sh
index d647c6c59b..afe17ab552 100644
--- a/tools/agptek_rocker/bootloader_install.sh
+++ b/tools/agptek_rocker/bootloader_install.sh
@@ -59,8 +59,7 @@ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "!!! STEP 4: Copy bootloader !!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo
-cp $BUILD/bootloader.elf $ROOTFS/usr/bin/rb_bootloader && \
-mipsel-rockbox-linux-gnu-strip --strip-unneeded $ROOTFS/usr/bin/rb_bootloader
+cp $BUILD/bootloader.rocker $ROOTFS/usr/bin/rb_bootloader
# Overwrite default player starting script with one running our bootloader
echo