3 include $(TOPDIR
)/rules.mk
8 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
10 include $(TOPDIR
)/package
/rules.mk
12 # does not depend on menuconfig
16 ifeq ($(LINUX_VERSION
),2.4.30)
21 $(eval
$(call PKG_template
,NVRAM
,nvram
,$(PKG_RELEASE
),$(ARCH
)))
23 $(PKG_BUILD_DIR
)/.prepared
:
24 mkdir
-p
$(PKG_BUILD_DIR
)
25 cp
-a .
/src
/* $(PKG_BUILD_DIR
)
28 $(PKG_BUILD_DIR
)/.built
:
29 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
30 $(TARGET_CONFIGURE_OPTS
) \
31 CFLAGS
="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include"
35 mkdir
-p
$(IDIR_NVRAM
)/usr
/lib
36 cp
$(PKG_BUILD_DIR
)/*.so
$(IDIR_NVRAM
)/usr
/lib
37 mkdir
-p
$(IDIR_NVRAM
)/usr
/sbin
38 cp
$(PKG_BUILD_DIR
)/nvram
$(IDIR_NVRAM
)/usr
/sbin
39 $(RSTRIP
) $(IDIR_NVRAM
)
40 $(IPKG_BUILD
) $(IDIR_NVRAM
) $(PACKAGE_DIR
)
45 mkdir
-p
$(STAGING_DIR
)/usr
/lib
46 cp
$(PKG_BUILD_DIR
)/*.so
$(STAGING_DIR
)/usr
/lib
This page took 0.040553 seconds and 5 git commands to generate.