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
13 ifneq ($(BOARD
)-$(KERNEL
),brcm-2.4
)
19 $(eval
$(call PKG_template
,NVRAM
,nvram
,$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.prepared
:
22 mkdir
-p
$(PKG_BUILD_DIR
)
23 cp
-a .
/src
/* $(PKG_BUILD_DIR
)
26 $(PKG_BUILD_DIR
)/.built
:
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 $(TARGET_CONFIGURE_OPTS
) \
29 CFLAGS
="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include"
33 mkdir
-p
$(IDIR_NVRAM
)/usr
/lib
34 cp
$(PKG_BUILD_DIR
)/*.so
$(IDIR_NVRAM
)/usr
/lib
35 mkdir
-p
$(IDIR_NVRAM
)/usr
/sbin
36 cp
$(PKG_BUILD_DIR
)/nvram
$(IDIR_NVRAM
)/usr
/sbin
37 $(RSTRIP
) $(IDIR_NVRAM
)
38 $(IPKG_BUILD
) $(IDIR_NVRAM
) $(PACKAGE_DIR
)
42 install-dev
: $(PKG_BUILD_DIR
)/.built
43 mkdir
-p
$(STAGING_DIR
)/usr
/lib
44 cp
$(PKG_BUILD_DIR
)/*.so
$(STAGING_DIR
)/usr
/lib
This page took 0.041499 seconds and 5 git commands to generate.