When build openwrt from trunk 2012/9/26 . i found on one of Linux host
build Cmake always fail , check the configure difference between success linux host,i found is install QT or not.
But after google for a long time, i can only disable one of the Cmake feature to fix this temporary.
find CMakeCache.txt edit follow build option from the
BUILD_CursesDialog:BOOL=ON
to
BUILD_CursesDialog:BOOL=OFF
Ok, don't clean the Cmake package on openwrt, continue build
make V=s ....
搜尋此網誌
OpenWRT build order change how to
For a openwrt user/development, the build sequence(order) is very important, here i will show you how to change the build order without change your package name :
First open your package's Makefile , and quicky find the setion:
####################################
define Package/build_order_test_package
endef
#####################################
please add DEPENDS:= key word.
then decide which should build before your package build
for example , i want librt build before my build_order_test_package build .
define Package/build_order_test_package
DEPENDS:= librt
endef
Ok ,after finished the modification of the Makefile.
please do make menuconfig again .
make menuconfig ARCH=xxx V=s
Now just type
make V=s
and check the build log now ,
you'll find the librt will build before your package been build.
訂閱:
文章 (Atom)