diff options
Diffstat (limited to 'arch/um/sys-ppc/Makefile')
-rw-r--r-- | arch/um/sys-ppc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/sys-ppc/Makefile b/arch/um/sys-ppc/Makefile index af200268fddb..a9814a7ae60e 100644 --- a/arch/um/sys-ppc/Makefile +++ b/arch/um/sys-ppc/Makefile | |||
@@ -1,7 +1,7 @@ | |||
1 | OBJ = built-in.o | 1 | OBJ = built-in.o |
2 | 2 | ||
3 | .S.o: | 3 | .S.o: |
4 | $(CC) $(AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o | 4 | $(CC) $(KBUILD_AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o |
5 | 5 | ||
6 | OBJS = ptrace.o sigcontext.o semaphore.o checksum.o miscthings.o misc.o \ | 6 | OBJS = ptrace.o sigcontext.o semaphore.o checksum.o miscthings.o misc.o \ |
7 | ptrace_user.o sysrq.o | 7 | ptrace_user.o sysrq.o |
@@ -57,13 +57,13 @@ ppc_defs.h: mk_defs.c ppc_defs.head \ | |||
57 | checksum.o: checksum.S | 57 | checksum.o: checksum.S |
58 | rm -f asm | 58 | rm -f asm |
59 | ln -s $(TOPDIR)/include/asm-ppc asm | 59 | ln -s $(TOPDIR)/include/asm-ppc asm |
60 | $(CC) $(EXTRA_AFLAGS) $(AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o | 60 | $(CC) $(EXTRA_AFLAGS) $(KBUILD_AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o |
61 | rm -f asm | 61 | rm -f asm |
62 | 62 | ||
63 | misc.o: misc.S ppc_defs.h | 63 | misc.o: misc.S ppc_defs.h |
64 | rm -f asm | 64 | rm -f asm |
65 | ln -s $(TOPDIR)/include/asm-ppc asm | 65 | ln -s $(TOPDIR)/include/asm-ppc asm |
66 | $(CC) $(EXTRA_AFLAGS) $(AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o | 66 | $(CC) $(EXTRA_AFLAGS) $(KBUILD_AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o |
67 | rm -f asm | 67 | rm -f asm |
68 | 68 | ||
69 | clean-files := $(OBJS) ppc_defs.h checksum.S semaphore.c mk_defs.c | 69 | clean-files := $(OBJS) ppc_defs.h checksum.S semaphore.c mk_defs.c |