[backfire] merge r20834, r20840, r20854 & r20855
[openwrt-10.03/.git] / scripts / arm-magic.sh
index e8f41d3372cfbe694afd101d7968895b371433a7..8bc35c1d4bfcb24ed134071c3dff42b441bd8360 100755 (executable)
@@ -34,5 +34,5 @@ do
     printf "\xe3\xa0\x10\x$(echo $hexid|cut -b "2 3")\xe3\x81\x1c\x$(echo $hexid|cut -b 1)" > $BIN_DIR/openwrt-$1-zImage
   fi
     # generate the image
-    cat $BIN_DIR/openwrt-ixp4xx-zImage >> $BIN_DIR/openwrt-$1-zImage
+    cat $BIN_DIR/$IMG_PREFIX-zImage >> $BIN_DIR/openwrt-$1-zImage
 done