📄 makefile.l
字号:
1529 fi; \1530 if [ "$${BMODE}" == "60x" ] ; then \1531 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \1532 echo "... with 60x Bus Mode" ; \1533 else \1534 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \1535 echo "... without 60x Bus Mode" ; \1536 fi1537 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm82601538 1539 VoVPN-GW_66MHz_config \1540 VoVPN-GW_100MHz_config: unconfig1541 @mkdir -p $(obj)include1542 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h1543 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk1544 1545 ZPC1900_config: unconfig1546 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc19001547 1548 #########################################################################1549 ## Coldfire1550 #########################################################################1551 1552 cobra5272_config : unconfig1553 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra52721554 1555 EB+MCF-EV123_config : unconfig1556 @mkdir -p $(obj)include1557 @mkdir -p $(obj)board/BuS/EB+MCF-EV1231558 @ >$(obj)include/config.h1559 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk1560 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS1561 1562 EB+MCF-EV123_internal_config : unconfig1563 @mkdir -p $(obj)include1564 @mkdir -p $(obj)board/BuS/EB+MCF-EV1231565 @ >$(obj)include/config.h1566 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk1567 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS1568 1569 M5271EVB_config : unconfig1570 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb1571 1572 M5272C3_config : unconfig1573 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c31574 1575 M5282EVB_config : unconfig1576 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb1577 1578 TASREG_config : unconfig1579 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd1580 1581 r5200_config : unconfig1582 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r52001583 1584 #########################################################################1585 ## MPC83xx Systems1586 #########################################################################1587 1588 MPC8349ADS_config: unconfig1589 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349ads1590 1591 TQM834x_config: unconfig1592 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x1593 1594 MPC8349EMDS_config: unconfig1595 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds1596 1597 #########################################################################1598 ## MPC85xx Systems1599 #########################################################################1600 1601 MPC8540ADS_config: unconfig1602 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads1603 1604 MPC8540EVAL_config \1605 MPC8540EVAL_33_config \1606 MPC8540EVAL_66_config \1607 MPC8540EVAL_33_slave_config \1608 MPC8540EVAL_66_slave_config: unconfig1609 @mkdir -p $(obj)include1610 @echo "" >$(obj)include/config.h ; \1611 if [ "$(findstring _33_,$@)" ] ; then \1612 echo -n "... 33 MHz PCI" ; \1613 else \1614 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \1615 echo -n "... 66 MHz PCI" ; \1616 fi ; \1617 if [ "$(findstring _slave_,$@)" ] ; then \1618 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \1619 echo " slave" ; \1620 else \1621 echo " host" ; \1622 fi1623 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval1624 1625 MPC8560ADS_config: unconfig1626 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads1627 1628 MPC8541CDS_config: unconfig1629 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds1630 1631 MPC8548CDS_config: unconfig1632 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds1633 1634 MPC8555CDS_config: unconfig1635 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds1636 1637 PM854_config: unconfig1638 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm8541639 1640 PM856_config: unconfig1641 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm8561642 1643 sbc8540_config \1644 sbc8540_33_config \1645 sbc8540_66_config: unconfig1646 @mkdir -p $(obj)include1647 @if [ "$(findstring _66_,$@)" ] ; then \1648 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \1649 echo "... 66 MHz PCI" ; \1650 else \1651 >$(obj)include/config.h ; \1652 echo "... 33 MHz PCI" ; \1653 fi1654 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc85601655 1656 sbc8560_config \1657 sbc8560_33_config \1658 sbc8560_66_config: unconfig1659 @mkdir -p $(obj)include1660 @if [ "$(findstring _66_,$@)" ] ; then \1661 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \1662 echo "... 66 MHz PCI" ; \1663 else \1664 >$(obj)include/config.h ; \1665 echo "... 33 MHz PCI" ; \1666 fi1667 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc85601668 1669 stxgp3_config: unconfig1670 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp31671 1672 TQM8540_config \1673 TQM8541_config \1674 TQM8555_config \1675 TQM8560_config: unconfig1676 @mkdir -p $(obj)include1677 @CTYPE=$(subst TQM,,$(@:_config=)); \1678 >$(obj)include/config.h ; \1679 echo "... TQM"$${CTYPE}; \1680 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \1681 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \1682 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \1683 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \1684 echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>$(obj)include/config.h1685 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx1686 1687 #########################################################################1688 ## MPC86xx Systems1689 #########################################################################1690 1691 MPC8641HPCN_config: unconfig1692 @./mkconfig $(@:_config=) ppc mpc86xx mpc8641hpcn1693 1694 1695 #########################################################################1696 ## 74xx/7xx Systems1697 #########################################################################1698 1699 AmigaOneG3SE_config: unconfig1700 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI1701 1702 BAB7xx_config: unconfig1703 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec1704 1705 CPCI750_config: unconfig1706 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd1707 1708 DB64360_config: unconfig1709 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell1710 1711 DB64460_config: unconfig1712 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell1713 1714 ELPPC_config: unconfig1715 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec1716 1717 EVB64260_config \1718 EVB64260_750CX_config: unconfig1719 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb642601720 1721 P3G4_config: unconfig1722 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb642601723 1724 PCIPPC2_config \1725 PCIPPC6_config: unconfig1726 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc21727 1728 ZUMA_config: unconfig1729 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb642601730 1731 ppmc7xx_config: unconfig1732 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx1733 1734 #========================================================================1735 # ARM1736 #========================================================================1737 #########################################################################1738 ## StrongARM Systems1739 #########################################################################1740 1741 assabet_config : unconfig1742 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet1743 1744 dnp1110_config : unconfig1745 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp11101746 1747 gcplus_config : unconfig1748 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus1749 1750 lart_config : unconfig1751 @$(MKCONFIG) $(@:_config=) arm sa1100 lart1752 1753 shannon_config : unconfig1754 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon1755 1756 #########################################################################1757 ## ARM92xT Systems1758 #########################################################################1759 1760 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))1761 1762 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))1763 1764 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))1765 1766 at91rm9200dk_config : unconfig1767 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm92001768 1769 cmc_pu2_config : unconfig1770 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm92001771 1772 csb637_config : unconfig1773 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm92001774 1775 mp2usb_config : unconfig1776 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm92001777 1778 1779 ########################################################################1780 ## ARM Integrator boards - see doc/README-integrator for more info.1781 integratorap_config \1782 ap_config \1783 ap966_config \1784 ap922_config \1785 ap922_XA10_config \1786 ap7_config \1787 ap720t_config \1788 ap920t_config \1789 ap926ejs_config \1790 ap946es_config: unconfig1791 @board/integratorap/split_by_variant.sh $@1792 1793 integratorcp_config \1794 cp_config \1795 cp920t_config \1796 cp926ejs_config \1797 cp946es_config \1798 cp1136_config \1799 cp966_config \1800 cp922_config \1801 cp922_XA10_config \1802 cp1026_config: unconfig1803 @board/integratorcp/split_by_variant.sh $@1804 1805 kb9202_config : unconfig1806 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm92001807 1808 lpd7a400_config \1809 lpd7a404_config: unconfig1810 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x1811 1812 mx1ads_config : unconfig1813 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx1814 1815 mx1fs2_config : unconfig1816 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx1817 1818 netstar_32_config \1819 netstar_config: unconfig1820 @mkdir -p $(obj)include1821 @if [ "$(findstring _32_,$@)" ] ; then \1822 echo "... 32MB SDRAM" ; \1823 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \1824 else \1825 echo "... 64MB SDRAM" ; \1826 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \1827 fi1828 @$(MKCONFIG) -a netstar arm arm925t netstar1829 1830 omap1510inn_config : unconfig1831 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn1832 1833 omap5912osk_config : unconfig1834 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap1835 1836 omap1610inn_config \1837 omap1610inn_cs0boot_config \1838 omap1610inn_cs3boot_config \1839 omap1610inn_cs_autoboot_config \1840 omap1610h2_config \1841 omap1610h2_cs0boot_config \1842 omap1610h2_cs3boot_config \1843 omap1610h2_cs_autoboot_config: unconfig1844 @mkdir -p $(obj)include1845 @if [ "$(findstring _cs0boot_, $@)" ] ; then \1846 echo "#define CONFIG_CS0_BOOT" >> .$(obj)/include/config.h ; \1847 echo "... configured for CS0 boot"; \1848 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \1849 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)./include/config.h ; \1850 echo "... configured for CS_AUTO boot"; \1851 else \1852 echo "#define CONFIG_CS3_BOOT" >> $(obj)./include/config.h ; \1853 echo "... configured for CS3 boot"; \1854 fi;1855 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap1856 1857 omap730p2_config \1858 omap730p2_cs0boot_config \1859 omap730p2_cs3boot_config : unconfig1860 @mkdir -p $(obj)include1861 @if [ "$(findstring _cs0boot_, $@)" ] ; then \1862 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \1863 echo "... configured for CS0 boot"; \1864 else \1865 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \1866 echo "... configured for CS3 boot"; \1867 fi;1868 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap1869 1870 sbc2410x_config: unconfig1871 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x01872 1873 scb9328_config : unconfig1874 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx1875 1876 smdk2400_config : unconfig1877 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x01878 1879 smdk2410_config : unconfig1880 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x01881 1882 open24x0_config : unconfig1883 @$(MKCONFIG) $(@:_config=) arm arm920t open24x0 NULL s3c24x01884 1885 SX1_config : unconfig1886 @$(MKCONFIG) $(@:_config=) arm arm925t sx11887 1888 # TRAB default configuration: 8 MB Flash, 32 MB RAM1889 trab_config \1890 trab_bigram_config \1891 trab_bigflash_config \1892 trab_old_config: unconfig1893 @mkdir -p $(obj)include1894 @mkdir -p $(obj)board/trab1895 @ >$(obj)include/config.h1896 @[ -z "$(findstring _bigram,$@)" ] || \1897 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \1898 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \1899 echo "... with 8 MB Flash, 32 MB RAM" ; \1900 }1901 @[ -z "$(findstring _bigflash,$@)" ] || \1902 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \1903 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \1904 echo "... with 16 MB Flash, 16 MB RAM" ; \1905 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \1906 }1907 @[ -z "$(findstring _old,$@)" ] || \1908
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -