Makefile (472ab9ee15c6a28adbac65a543af58461b49a947) | Makefile (803c72c8547c56917331057bff55703baeb59e8e) |
---|---|
1# BK Id: %F% %I% %G% %U% %#% 2# 3# This file is included by the global makefile so that you can add your own 4# architecture-specific flags and dependencies. Remember to do have actions 5# for "archclean" and "archdep" for cleaning up and making dependencies for 6# this architecture 7# 8# This file is subject to the terms and conditions of the GNU General Public --- 28 unchanged lines hidden (view full) --- 37ifeq ($(CONFIG_OPENRISC_HAVE_INST_DIV),y) 38 KBUILD_CFLAGS += $(call cc-option,-mhard-div) 39else 40 KBUILD_CFLAGS += $(call cc-option,-msoft-div) 41endif 42 43head-y := arch/openrisc/kernel/head.o 44 | 1# BK Id: %F% %I% %G% %U% %#% 2# 3# This file is included by the global makefile so that you can add your own 4# architecture-specific flags and dependencies. Remember to do have actions 5# for "archclean" and "archdep" for cleaning up and making dependencies for 6# this architecture 7# 8# This file is subject to the terms and conditions of the GNU General Public --- 28 unchanged lines hidden (view full) --- 37ifeq ($(CONFIG_OPENRISC_HAVE_INST_DIV),y) 38 KBUILD_CFLAGS += $(call cc-option,-mhard-div) 39else 40 KBUILD_CFLAGS += $(call cc-option,-msoft-div) 41endif 42 43head-y := arch/openrisc/kernel/head.o 44 |
45core-y += arch/openrisc/lib/ \ 46 arch/openrisc/kernel/ \ 47 arch/openrisc/mm/ | 45core-y += arch/openrisc/ |
48libs-y += $(LIBGCC) 49 | 46libs-y += $(LIBGCC) 47 |
50ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""' 51BUILTIN_DTB := y 52else 53BUILTIN_DTB := n 54endif 55core-$(BUILTIN_DTB) += arch/openrisc/boot/dts/ 56 | |
57PHONY += vmlinux.bin 58 59vmlinux.bin: vmlinux 60 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 61 62archclean: 63 $(Q)$(MAKE) $(clean)=$(boot) | 48PHONY += vmlinux.bin 49 50vmlinux.bin: vmlinux 51 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 52 53archclean: 54 $(Q)$(MAKE) $(clean)=$(boot) |