File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -17,36 +17,36 @@ all : $(BINS)
17
17
clean :
18
18
rm -f * .o * .out * .tmp * .bin * .ds * .C armstubs.h bin2c * ~
19
19
20
- % .o : % .S
21
- $(CC ) -DBCM2710=0 -c $< -o $@
22
-
23
20
% 8.o : % 8.S
24
21
$(CC8 ) -c $< -o $@
25
22
26
23
% 8-32.o : % 7.S
27
24
$(CC ) -DBCM2710=1 -c $< -o $@
28
25
29
- % .elf : % .o
30
- $(LD ) --section-start=.init=0 $< -o $@
26
+ % .o : % .S
27
+ $(CC ) -DBCM2710=0 -c $< -o $@
31
28
32
29
% 8.elf : % 8.o
33
30
$(LD8 ) --section-start=.text=0 $< -o $@
34
31
32
+ % .elf : % .o
33
+ $(LD ) --section-start=.init=0 $< -o $@
34
+ % 8.tmp : % 8.elf
35
+ $(OBJCOPY8 ) $< -O binary $@
36
+
35
37
% .tmp : % .elf
36
38
$(OBJCOPY ) $< -O binary $@
37
39
38
- % 8.tmp : % 8.elf
39
- $(OBJCOPY8 ) $< -O binary $@
40
40
41
41
% .bin : % .tmp
42
42
dd if=$< ibs=256 count=1 of=$@ conv=sync
43
43
44
- % .ds : % .bin
45
- $(OBJDUMP ) -D --target binary $< > $@
46
-
47
44
% 8.ds : % 8.bin
48
45
$(OBJDUMP8 ) -D --target binary $< > $@
49
46
47
+ % .ds : % .bin
48
+ $(OBJDUMP ) -D --target binary $< > $@
49
+
50
50
% .C : % .bin bin2c
51
51
$(BIN2C ) $< > $@
52
52
You can’t perform that action at this time.
0 commit comments