Makefile 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. #
  2. # Copyright (C) 2007-2009 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=base-files
  10. PKG_RELEASE:=34
  11. PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
  12. include $(INCLUDE_DIR)/package.mk
  13. ifneq ($(DUMP),1)
  14. TARGET:=-$(BOARD)
  15. ifneq ($(wildcard $(PLATFORM_DIR)/base-files-$(PROFILE) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)),)
  16. TARGET:=$(TARGET)-$(PROFILE)
  17. endif
  18. LIBGCC_VERSION:=$(GCC_VERSION)
  19. ifeq ($(ARCH),x86_64)
  20. LIB_SUFFIX:=64
  21. endif
  22. ifneq ($(findstring mips64,$(ARCH)),)
  23. LIB_SUFFIX:=64
  24. endif
  25. else
  26. LIBC_VERSION:=<LIBC_VERSION>
  27. LIBGCC_VERSION:=<LIBGCC_VERSION>
  28. endif
  29. define Package/base-files
  30. SECTION:=base
  31. CATEGORY:=Base system
  32. TITLE:=Base filesystem for OpenWrt
  33. URL:=http://openwrt.org/
  34. VERSION:=$(PKG_RELEASE)-$(REVISION)
  35. $(call Config,network.lan.proto,string,static,LAN Protocol)
  36. $(call Config,network.lan.ipaddr,ip,192.168.1.1,LAN IP Address)
  37. $(call Config,network.lan.netmask,netmask,255.255.255.0,LAN Network Mask)
  38. $(call Config,network.lan.gateway,ip,,LAN Gateway)
  39. $(call Config,network.lan.dns,ip,,LAN DNS server)
  40. endef
  41. define Package/base-files/conffiles
  42. /etc/banner
  43. /etc/hosts
  44. /etc/inittab
  45. /etc/group
  46. /etc/passwd
  47. /etc/profile
  48. /etc/shells
  49. /etc/sysctl.conf
  50. $(call $(TARGET)/conffiles)
  51. endef
  52. define Package/base-files/description
  53. This package contains a base filesystem and system scripts for OpenWrt.
  54. endef
  55. define Package/gcc/Default
  56. SECTION:=libs
  57. CATEGORY:=Base system
  58. URL:=http://gcc.gnu.org/
  59. VERSION:=$(LIBGCC_VERSION)-$(PKG_RELEASE)
  60. endef
  61. define Package/libgcc
  62. $(call Package/gcc/Default)
  63. TITLE:=GCC support library
  64. DEPENDS+=@!(TARGET_avr32||TARGET_coldfire)
  65. endef
  66. define Package/libgcc/config
  67. menu "Configuration"
  68. depends EXTERNAL_TOOLCHAIN && PACKAGE_libgcc
  69. config LIBGCC_ROOT_DIR
  70. string
  71. prompt "libgcc shared library base directory"
  72. depends EXTERNAL_TOOLCHAIN && PACKAGE_libgcc
  73. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  74. default "/" if NATIVE_TOOLCHAIN
  75. config LIBGCC_FILE_SPEC
  76. string
  77. prompt "libgcc shared library files (use wildcards)"
  78. depends EXTERNAL_TOOLCHAIN && PACKAGE_libgcc
  79. default "./lib/libgcc_s.so.*"
  80. endmenu
  81. endef
  82. define Package/libssp
  83. $(call Package/gcc/Default)
  84. DEPENDS+=@SSP_SUPPORT
  85. TITLE:=GCC support library
  86. endef
  87. define Package/libssp/config
  88. menu "Configuration"
  89. depends EXTERNAL_TOOLCHAIN && PACKAGE_libssp
  90. config LIBSPP_ROOT_DIR
  91. string
  92. prompt "libssp shared library base directory"
  93. depends EXTERNAL_TOOLCHAIN && PACKAGE_libssp
  94. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  95. default "/" if NATIVE_TOOLCHAIN
  96. config LIBSSP_FILE_SPEC
  97. string
  98. prompt "libssp shared library files (use wildcards)"
  99. depends EXTERNAL_TOOLCHAIN && PACKAGE_libssp
  100. default "./lib/libssp.so.*"
  101. endmenu
  102. endef
  103. define Package/libstdcpp
  104. $(call Package/gcc/Default)
  105. NAME:=libstdc++
  106. TITLE:=GNU Standard C++ Library v3
  107. DEPENDS+=@INSTALL_LIBSTDCPP
  108. endef
  109. define Package/libstdcpp/config
  110. menu "Configuration"
  111. depends EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp
  112. config LIBSTDCPP_ROOT_DIR
  113. string
  114. prompt "libstdcpp shared library base directory"
  115. depends EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp
  116. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  117. default "/" if NATIVE_TOOLCHAIN
  118. config LIBSTDCPP_FILE_SPEC
  119. string
  120. prompt "libstdc++ shared library files (use wildcards)"
  121. depends EXTERNAL_TOOLCHAIN && PACKAGE_libstdcpp
  122. default "./lib/libstdc++.so.*"
  123. endmenu
  124. endef
  125. define Package/libc/Default
  126. SECTION:=libs
  127. CATEGORY:=Base system
  128. VERSION:=$(LIBC_VERSION)-$(PKG_RELEASE)
  129. ifneq ($(TARGET_avr32)$(TARGET_coldfire),)
  130. DEPENDS:=+libgcc
  131. endif
  132. URL:=$(LIBC_URL)
  133. endef
  134. define Package/libc
  135. $(call Package/libc/Default)
  136. TITLE:=C library
  137. endef
  138. define Package/libc/config
  139. menu "Configuration"
  140. depends EXTERNAL_TOOLCHAIN && PACKAGE_libc
  141. config LIBC_ROOT_DIR
  142. string
  143. prompt "libc shared library base directory"
  144. depends EXTERNAL_TOOLCHAIN && PACKAGE_libc
  145. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  146. default "/" if NATIVE_TOOLCHAIN
  147. config LIBC_FILE_SPEC
  148. string
  149. prompt "libc shared library files (use wildcards)"
  150. depends EXTERNAL_TOOLCHAIN && PACKAGE_libc
  151. default "./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"
  152. endmenu
  153. endef
  154. define Package/libpthread
  155. $(call Package/libc/Default)
  156. TITLE:=POSIX thread library
  157. DEPENDS:= +librt
  158. endef
  159. define Package/libpthread/config
  160. menu "Configuration"
  161. depends EXTERNAL_TOOLCHAIN && PACKAGE_libpthread
  162. config LIBPTHREAD_ROOT_DIR
  163. string
  164. prompt "libpthread shared library base directory"
  165. depends EXTERNAL_TOOLCHAIN && PACKAGE_libpthread
  166. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  167. default "/" if NATIVE_TOOLCHAIN
  168. config LIBPTHREAD_FILE_SPEC
  169. string
  170. prompt "libpthread shared library files (use wildcards)"
  171. depends EXTERNAL_TOOLCHAIN && PACKAGE_libpthread
  172. default "./lib/libpthread{-*.so,.so.*}"
  173. endmenu
  174. endef
  175. define Package/librt
  176. $(call Package/libc/Default)
  177. TITLE:=POSIX.1b RealTime extension library
  178. endef
  179. define Package/librt/config
  180. menu "Configuration"
  181. depends EXTERNAL_TOOLCHAIN && PACKAGE_librt
  182. config LIBRT_ROOT_DIR
  183. string
  184. prompt "librt shared library base directory"
  185. depends EXTERNAL_TOOLCHAIN && PACKAGE_librt
  186. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  187. default "/" if NATIVE_TOOLCHAIN
  188. config LIBRT_FILE_SPEC
  189. string
  190. prompt "librt shared library files (use wildcards)"
  191. depends EXTERNAL_TOOLCHAIN && PACKAGE_librt
  192. default "./lib/librt{-*.so,.so.*}"
  193. endmenu
  194. endef
  195. define Package/ldd
  196. $(call Package/libc/Default)
  197. SECTION:=utils
  198. CATEGORY:=Utilities
  199. TITLE:=LDD trace utility
  200. endef
  201. define Package/ldd/config
  202. menu "Configuration"
  203. depends EXTERNAL_TOOLCHAIN && PACKAGE_ldd
  204. config LDD_ROOT_DIR
  205. string
  206. prompt "ldd trace utility base directory"
  207. depends EXTERNAL_TOOLCHAIN && PACKAGE_ldd
  208. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  209. default "/" if NATIVE_TOOLCHAIN
  210. config LDD_FILE_SPEC
  211. string
  212. prompt "ldd trace utility file"
  213. depends EXTERNAL_TOOLCHAIN && PACKAGE_ldd
  214. default "./usr/bin/ldd"
  215. endmenu
  216. endef
  217. define Package/ldconfig
  218. $(call Package/libc/Default)
  219. SECTION:=utils
  220. CATEGORY:=Utilities
  221. TITLE:=Shared library path configuration
  222. endef
  223. define Package/ldconfig/config
  224. menu "Configuration"
  225. depends EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig
  226. config LDCONFIG_ROOT_DIR
  227. string
  228. prompt "ldconfig base directory"
  229. depends EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig
  230. default TOOLCHAIN_ROOT if !NATIVE_TOOLCHAIN
  231. default "/" if NATIVE_TOOLCHAIN
  232. config LDCONFIG_FILE_SPEC
  233. string
  234. prompt "ldconfig file"
  235. depends EXTERNAL_TOOLCHAIN && PACKAGE_ldconfig
  236. default "./sbin/ldconfig"
  237. endmenu
  238. endef
  239. define Build/Prepare
  240. mkdir -p $(PKG_BUILD_DIR)
  241. endef
  242. define Build/Compile/Default
  243. endef
  244. define Build/Compile
  245. $(call Build/Compile/Default)
  246. endef
  247. define Package/base-files/install
  248. $(CP) ./files/* $(1)/
  249. if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \
  250. $(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \
  251. fi
  252. if [ -d $(PLATFORM_DIR)/base-files/. ]; then \
  253. $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \
  254. fi
  255. if [ -d $(PLATFORM_DIR)/base-files-$(PROFILE)/. ]; then \
  256. $(CP) $(PLATFORM_DIR)/base-files-$(PROFILE)/* $(1)/; \
  257. fi
  258. if [ -d $(PLATFORM_DIR)/$(PROFILE)/base-files/. ]; then \
  259. $(CP) $(PLATFORM_DIR)/$(PROFILE)/base-files/* $(1)/; \
  260. fi
  261. $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
  262. if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \
  263. $(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \
  264. fi; \
  265. if [ -d $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/. ]; then \
  266. $(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
  267. fi; \
  268. if [ -d $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/. ]; then \
  269. $(CP) $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/* $(1)/; \
  270. fi \
  271. )
  272. # Form valid /etc/shadow entries, by copying the user:pw pairs
  273. # from /etc/passwd, and adding on pw change data
  274. $(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS), \
  275. cut -d ':' -f 1-2 $(1)/etc/passwd > $(1)/etc/shadow; \
  276. $(SED) 's/$$$$/:13848:0:99999:7:::/' $(1)/etc/shadow \
  277. )
  278. $(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
  279. mkdir -p $(1)/CONTROL
  280. mkdir -p $(1)/dev
  281. mkdir -p $(1)/etc/crontabs
  282. mkdir -p $(1)/etc/rc.d
  283. mkdir -p $(1)/jffs
  284. mkdir -p $(1)/lib/firmware
  285. $(if $(LIB_SUFFIX),-ln -s lib $(1)/lib$(LIB_SUFFIX))
  286. mkdir -p $(1)/mnt
  287. mkdir -p $(1)/proc
  288. mkdir -p $(1)/tmp
  289. mkdir -p $(1)/usr/lib
  290. $(if $(LIB_SUFFIX),-ln -s lib $(1)/usr/lib$(LIB_SUFFIX))
  291. mkdir -p $(1)/usr/bin
  292. mkdir -p $(1)/sys
  293. mkdir -p $(1)/www
  294. mkdir -p $(1)/root
  295. ln -sf /proc/mounts $(1)/etc/mtab
  296. rm -f $(1)/var
  297. ln -sf /tmp $(1)/var
  298. mkdir -p $(1)/etc
  299. ln -sf /tmp/resolv.conf /tmp/fstab /tmp/TZ $(1)/etc/
  300. $(call Package/base-files/install-target,$(1))
  301. for conffile in $(1)/etc/config/*; do \
  302. if [ -f "$$$$conffile" ]; then \
  303. grep "$$$${conffile##$(1)}" $(1)/CONTROL/conffiles || \
  304. echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \
  305. fi \
  306. done
  307. endef
  308. ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
  309. define Package/libgcc/install
  310. $(INSTALL_DIR) $(1)/lib
  311. $(CP) $(TOOLCHAIN_DIR)/lib$(LIB_SUFFIX)/libgcc_s.so.* $(1)/lib/
  312. endef
  313. define Package/libssp/install
  314. $(INSTALL_DIR) $(1)/lib
  315. $(CP) $(TOOLCHAIN_DIR)/lib$(LIB_SUFFIX)/libssp.so.* $(1)/lib/
  316. endef
  317. define Package/libstdcpp/install
  318. $(INSTALL_DIR) $(1)/usr/lib
  319. $(CP) $(TOOLCHAIN_DIR)/usr/lib$(LIB_SUFFIX)/libstdc++.so.* $(1)/usr/lib/
  320. endef
  321. use_libutil=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),libutil)
  322. use_libnsl=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NIS),libnsl)
  323. use_nsswitch=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NSSWITCH),libnss_dns libnss_files)
  324. define Package/glibc/install
  325. $(INSTALL_DIR) $(1)/lib
  326. $(CP) $(TOOLCHAIN_DIR)/lib/ld*.so.* $(1)/lib/
  327. $(CP) $(TOOLCHAIN_DIR)/lib/ld-$(LIBC_SO_VERSION).so $(1)/lib/
  328. for file in libanl libc libcidn libcrypt libdl libm $(use_libnsl) $(use_nsswitch) libresolv $(use_libutil); do \
  329. $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file.so.* $(1)/lib/; \
  330. $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so $(1)/lib/; \
  331. done
  332. endef
  333. define Package/eglibc/install
  334. $(call Package/glibc/install,$1)
  335. endef
  336. define Package/uClibc/install
  337. $(INSTALL_DIR) $(1)/lib
  338. for file in ld$(LIB_SUFFIX)-uClibc libc libcrypt libdl libm libnsl libresolv libuClibc libutil; do \
  339. $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file.so.* $(1)/lib/; \
  340. $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so $(1)/lib/; \
  341. done
  342. endef
  343. define Package/libc/install
  344. $(call Package/$(LIBC)/install,$1)
  345. endef
  346. define Package/libc/install_lib
  347. $(CP) $(filter-out %/libdl_pic.a %/libpthread_pic.a %/libresolv_pic.a,$(wildcard $(TOOLCHAIN_DIR)/usr/lib/lib*.a)) $(1)/lib/
  348. $(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/libc_so.a),$(CP) $(TOOLCHAIN_DIR)/usr/lib/libc_so.a $(1)/lib/libc_pic.a)
  349. $(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/gcc/*/*/libgcc.map), \
  350. $(CP) $(TOOLCHAIN_DIR)/usr/lib/gcc/*/*/libgcc_pic.a $(1)/lib/libgcc_s_pic.a; \
  351. $(CP) $(TOOLCHAIN_DIR)/usr/lib/gcc/*/*/libgcc.map $(1)/lib/libgcc_s_pic.map \
  352. )
  353. endef
  354. define Package/libpthread/install
  355. $(INSTALL_DIR) $(1)/lib
  356. $(CP) $(TOOLCHAIN_DIR)/lib/libpthread.so.* $(1)/lib/
  357. $(CP) $(TOOLCHAIN_DIR)/lib/libpthread-$(LIBC_SO_VERSION).so $(1)/lib/
  358. endef
  359. define Package/libpthread/install_lib
  360. $(if $(wildcard $(TOOLCHAIN_DIR)/usr/lib/libc_so.a),$(CP) $(TOOLCHAIN_DIR)/usr/lib/libpthread_so.a $(1)/lib/libpthread_pic.a)
  361. endef
  362. define Package/librt/install
  363. $(INSTALL_DIR) $(1)/lib
  364. $(CP) $(TOOLCHAIN_DIR)/lib/librt.so.* $(1)/lib/
  365. $(CP) $(TOOLCHAIN_DIR)/lib/librt-$(LIBC_SO_VERSION).so $(1)/lib/
  366. endef
  367. define Package/ldd/install
  368. $(INSTALL_DIR) $(1)/usr/bin/
  369. $(CP) $(TOOLCHAIN_DIR)/usr/bin/ldd $(1)/usr/bin/
  370. endef
  371. define Package/ldconfig/install
  372. $(INSTALL_DIR) $(1)/sbin/
  373. $(CP) $(TOOLCHAIN_DIR)/sbin/ldconfig $(1)/sbin/
  374. endef
  375. else
  376. define Package/libgcc/install
  377. for file in $(call qstrip,$(CONFIG_LIBGCC_FILE_SPEC)); do \
  378. dir=`dirname $$$$file` ; \
  379. $(INSTALL_DIR) $(1)/$$$$dir ; \
  380. $(CP) $(call qstrip,$(CONFIG_LIBGCC_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  381. done
  382. endef
  383. define Package/libssp/install
  384. for file in $(call qstrip,$(CONFIG_LIBSSP_FILE_SPEC)); do \
  385. dir=`dirname $$$$file` ; \
  386. $(INSTALL_DIR) $(1)/$$$$dir ; \
  387. $(CP) $(call qstrip,$(CONFIG_LIBSSP_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  388. done
  389. endef
  390. define Package/libstdcpp/install
  391. for file in $(call qstrip,$(CONFIG_LIBSTDCPP_FILE_SPEC)); do \
  392. dir=`dirname $$$$file` ; \
  393. $(INSTALL_DIR) $(1)/$$$$dir ; \
  394. $(CP) $(call qstrip,$(CONFIG_LIBSTDCPP_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  395. done
  396. endef
  397. define Package/libc/install
  398. for file in $(call qstrip,$(CONFIG_LIBC_FILE_SPEC)); do \
  399. dir=`dirname $$$$file` ; \
  400. $(INSTALL_DIR) $(1)/$$$$dir ; \
  401. $(CP) $(call qstrip,$(CONFIG_LIBC_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  402. done
  403. endef
  404. define Package/libpthread/install
  405. for file in $(call qstrip,$(CONFIG_LIBPTHREAD_FILE_SPEC)); do \
  406. dir=`dirname $$$$file` ; \
  407. $(INSTALL_DIR) $(1)/$$$$dir ; \
  408. $(CP) $(call qstrip,$(CONFIG_LIBPTHREAD_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  409. done
  410. endef
  411. define Package/librt/install
  412. for file in $(call qstrip,$(CONFIG_LIBRT_FILE_SPEC)); do \
  413. dir=`dirname $$$$file` ; \
  414. $(INSTALL_DIR) $(1)/$$$$dir ; \
  415. $(CP) $(call qstrip,$(CONFIG_LIBRT_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  416. done
  417. endef
  418. define Package/ldd/install
  419. for file in $(call qstrip,$(CONFIG_LDD_FILE_SPEC)); do \
  420. dir=`dirname $$$$file` ; \
  421. $(INSTALL_DIR) $(1)/$$$$dir ; \
  422. $(CP) $(call qstrip,$(CONFIG_LDD_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  423. done
  424. endef
  425. define Package/ldconfig/install
  426. for file in $(call qstrip,$(CONFIG_LDCONFIG_FILE_SPEC)); do \
  427. dir=`dirname $$$$file` ; \
  428. $(INSTALL_DIR) $(1)/$$$$dir ; \
  429. $(CP) $(call qstrip,$(CONFIG_LDCONFIG_ROOT_DIR))/$$$$file $(1)/$$$$dir/ ; \
  430. done
  431. endef
  432. endif
  433. ifneq ($(DUMP),1)
  434. -include $(PLATFORM_DIR)/base-files.mk
  435. endif
  436. $(eval $(call BuildPackage,base-files))
  437. $(eval $(call BuildPackage,libc))
  438. $(eval $(call BuildPackage,libgcc))
  439. $(eval $(call BuildPackage,libssp))
  440. $(eval $(call BuildPackage,libstdcpp))
  441. $(eval $(call BuildPackage,libpthread))
  442. $(eval $(call BuildPackage,librt))
  443. $(eval $(call BuildPackage,ldd))
  444. $(eval $(call BuildPackage,ldconfig))