summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.19.5/sparc-aout.patch
blob: 3360d6a6e06c68da746d0ae7844116e7bed671ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Nur linux-3.19.orig/arch/sparc/boot/Makefile linux-3.19/arch/sparc/boot/Makefile
--- linux-3.19.orig/arch/sparc/boot/Makefile	2015-02-08 20:54:22.000000000 -0600
+++ linux-3.19/arch/sparc/boot/Makefile	2015-02-15 22:58:57.918666227 -0600
@@ -25,9 +25,6 @@
 	$(call if_changed,gzip)
 	@echo '  kernel: $@ is ready'
 
-$(obj)/vmlinux.aout: vmlinux FORCE
-	$(call if_changed,elftoaout)
-	@echo '  kernel: $@ is ready'
 else
 
 $(obj)/zImage: $(obj)/image
@@ -62,6 +59,10 @@
 
 endif
 
+$(obj)/vmlinux.aout: $(obj)/image FORCE
+	$(call if_changed,elftoaout)
+	@echo '  kernel: $@ is ready'
+
 $(obj)/image: vmlinux FORCE
 	$(call if_changed,strip)
 	@echo '  kernel: $@ is ready'