aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-11-30 10:16:58 +0000
committerGuido G√ľnther <agx@sigxcpu.org>2009-04-26 15:27:55 +0200
commitb308f65c2554a3cd64246b69f1a691800f104328 (patch)
treedb85576175cbf647f3693f896f87f7e3557c1655 /debian/rules
parentcdacf991017dfc45e8bc16ffd9c70c06ed27db7a (diff)
Build arcboot.snirm and install it when on SNI RMsnirm
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index ed88571..8975897 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,11 @@ build-stamp:
cp tip22/ld.script ld.script.IP22
cp tip22/tftpload.o tftpload.IP22.o
+ $(MAKE) clean-subarch-dep
+ $(MAKE) SUBARCH=SNIRM build-subarch-dep
+
+ cp ext2load/ext2load arcboot.snirm
+
touch build-stamp
clean:
@@ -60,7 +65,7 @@ clean:
# Add here commands to clean up after the build process.
$(MAKE) clean
- rm -f arcboot.ip22 arcboot.ip32
+ rm -f arcboot.ip22 arcboot.ip32 arcboot.snirm
rm -f ld.script.IP22 ld.ramdisk.script.IP22 ld.kernel.script.IP22 tftpload.IP22.o
rm -f ld.script.IP32 ld.ramdisk.script.IP32 ld.kernel.script.IP32 tftpload.IP32.o
@@ -75,6 +80,7 @@ install: build
# install arcboot into debian/arcboot
install -m 644 arcboot.ip32 ${PREFIX_ARCB}/${LIB_ARCB}/arcboot.ip32
install -m 644 arcboot.ip22 ${PREFIX_ARCB}/${LIB_ARCB}/arcboot.ip22
+ install -m 644 arcboot.snirm ${PREFIX_ARCB}/${LIB_ARCB}/arcboot.snirm
install -m 755 scripts/arcboot ${PREFIX_ARCB}/${BIN_ARCB}/arcboot
install -m 644 tftpload.IP32.o ${PREFIX_TIP22}/${LIB_TIP22}/tftpload.IP32.o