summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-29 12:54:33 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-29 12:54:33 (EDT)
commiteb2904cea78a767368f2ab4c57b1e299a004c1df (patch)
tree73f745f4ed8f6d124a6aa814a5e80b429cb8fe31
parent8b1c7aa37c75ab2a0fd703fef1263da893fc5e9c (diff)
Fix "build" to build a Linux image for "rcstereo".
-rwxr-xr-xbuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/build b/build
index 676ed7f..47a9c54 100755
--- a/build
+++ b/build
@@ -4,18 +4,19 @@ linux-libre linux-libre-headers: linux-libre.stamp
linux-libre.config.stamp:
cd src && \
- make mrproper && \
make oldconfig
touch linux-libre.config.stamp
linux-libre.build.stamp: linux-libre.config.stamp
+ # TODO: This "uImage" target is hardcoded for the "rcstereo" platform, which
+ # uses DAS U-Boot.
cd src && \
- make
+ make uImage
touch linux-libre.build.stamp
linux-libre.install.stamp: linux-libre.build.stamp
- install -m 644 "src/arch/$${ARCH}/boot/*Image" \
- "dest/boot/vmlinuz-$${OH_PKGVER%%-*}"
+ # TODO: Again, this is hardcoded for "rcstereo".
+ install -D -m 644 "src/arch/$${ARCH}/boot/uImage" dest/boot/UIMAGE
cp src/.config "dest/boot/config-$${OH_PKGVER%%-*}"
cp src/System.map "dest/boot/System.map-$${OH_PKGVER%%-*}"
touch linux-libre.install.stamp